/linux-master/include/linux/ |
H A D | if_tun.h | 28 struct socket *tun_get_socket(struct file *); 29 struct ptr_ring *tun_get_tx_ring(struct file *file); 50 struct file; 53 static inline struct socket *tun_get_socket(struct file *f) 58 static inline struct ptr_ring *tun_get_tx_ring(struct file *f)
|
H A D | nsc_gpio.h | 15 file-operations routines implemented in nsc_gpio module. 34 extern ssize_t nsc_gpio_write(struct file *file, const char __user *data, 37 extern ssize_t nsc_gpio_read(struct file *file, char __user *buf,
|
/linux-master/drivers/ras/ |
H A D | debugfs.c | 27 static int trace_open(struct inode *inode, struct file *file) argument 30 return single_open(file, trace_show, NULL); 33 static int trace_release(struct inode *inode, struct file *file) argument 36 return single_release(inode, file);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_trace.h | 36 TP_PROTO(struct drm_file *file, int crtc, unsigned int seq), 37 TP_ARGS(file, crtc, seq), 39 __field(struct drm_file *, file) 44 __entry->file = file; 48 TP_printk("file=%p, crtc=%d, seq=%u", __entry->file, __entry->crtc, \ 53 TP_PROTO(struct drm_file *file, int crtc, unsigned int seq), 54 TP_ARGS(file, crtc, seq), 56 __field(struct drm_file *, file) [all...] |
/linux-master/sound/usb/usx2y/ |
H A D | us122l.h | 13 struct file *first; 15 struct file *master; 16 struct file *slave;
|
/linux-master/fs/bcachefs/ |
H A D | fs-io-buffered.h | 8 int bch2_read_folio(struct file *, struct folio *); 13 int bch2_write_begin(struct file *, struct address_space *, loff_t, 15 int bch2_write_end(struct file *, struct address_space *, loff_t,
|
/linux-master/fs/bfs/ |
H A D | Makefile | 8 bfs-objs := inode.o file.o dir.o
|
/linux-master/fs/kernfs/ |
H A D | Makefile | 6 obj-y := mount.o inode.o dir.o file.o symlink.o
|
/linux-master/fs/omfs/ |
H A D | Makefile | 5 omfs-y := bitmap.o dir.o file.o inode.o
|
/linux-master/fs/sysfs/ |
H A D | Makefile | 6 obj-y := file.o dir.o symlink.o mount.o group.o
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.h | 20 int ivtv_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf); 21 int ivtv_s_input(struct file *file, void *fh, unsigned int inp);
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-radio-common.h | 23 int vivid_radio_g_frequency(struct file *file, const unsigned *freq, struct v4l2_frequency *vf); 24 int vivid_radio_s_frequency(struct file *file, unsigned *freq, const struct v4l2_frequency *vf);
|
/linux-master/fs/efivarfs/ |
H A D | Makefile | 8 efivarfs-objs := inode.o file.o super.o vars.o
|
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | config_override.sh | 19 echo Base file $base unreadable!!! 28 echo Override file $override unreadable!!!
|
/linux-master/tools/testing/selftests/kcmp/ |
H A D | Makefile | 6 EXTRA_CLEAN := $(OUTPUT)/kcmp-test-file
|
/linux-master/tools/power/acpi/tools/acpidump/ |
H A D | apfiles.c | 24 * DESCRIPTION: Query for file overwrite if it already exists. 58 * RETURN: Open file handle 60 * DESCRIPTION: Open a text output file for acpidump. Checks if file already 67 ACPI_FILE file; local 69 /* If file exists, prompt for overwrite */ 75 /* Point stdout to the file */ 77 file = fopen(pathname, "w"); 78 if (!file) { 79 fprintf(stderr, "Could not open output file 108 ACPI_FILE file; local 183 ACPI_FILE file; local [all...] |
/linux-master/tools/perf/tests/shell/ |
H A D | record+script_probe_vfs_getname.sh | 5 # then use it with 'perf record' using 'touch' to write to a temp file, then 7 # perf.data file, with the temp file name as the pathname argument. 21 echo "Recording open file:" 25 perf record -o ${perfdata} -e probe:vfs_getname\* touch $file 29 echo "Looking at perf.data file for vfs_getname records for the file we touched:" 31 grep -E " +touch +[0-9]+ +\[[0-9]+\] +[0-9]+\.[0-9]+: +probe:vfs_getname[_0-9]*: +\([[:xdigit:]]+\) +pathname=\"${file}\"" 41 file=$(mktemp /tmp/temporary_file.XXXXX) 46 rm -f ${file} [all...] |
H A D | trace+probe_vfs_getname.sh | 5 # then use it with 'perf trace' using 'touch' to write to a temp file, then 23 perf trace -e $evts touch $file 2>&1 | \ 24 grep -E " +[0-9]+\.[0-9]+ +\( +[0-9]+\.[0-9]+ ms\): +touch/[0-9]+ open(at)?\((dfd: +CWD, +)?filename: +\"?${file}\"?, +flags: CREAT\|NOCTTY\|NONBLOCK\|WRONLY, +mode: +IRUGO\|IWUGO\) += +[0-9]+$" 34 file=$(mktemp /tmp/temporary_file.XXXXX) 36 # Do not use whatever ~/.perfconfig file, it may change the output 42 rm -f ${file}
|
/linux-master/sound/core/ |
H A D | timer_compat.c | 7 /* This file included from timer.c */ 34 static int snd_timer_user_gparams_compat(struct file *file, argument 47 static int snd_timer_user_info_compat(struct file *file, argument 54 tu = file->private_data; 79 static long __snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, argument 101 return __snd_timer_user_ioctl(file, cmd, (unsigned long)argp, true); 103 return snd_timer_user_gparams_compat(file, arg 114 snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/linux-master/drivers/gpu/drm/tegra/ |
H A D | uapi.h | 38 struct drm_file *file); 40 struct drm_file *file); 42 struct drm_file *file); 44 struct drm_file *file); 46 struct drm_file *file); 48 struct drm_file *file); 50 struct drm_file *file); 52 struct drm_file *file); 54 void tegra_drm_uapi_close_file(struct tegra_drm_file *file);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | ima.c | 26 static void ima_test_common(struct file *file) argument 36 ret = bpf_ima_inode_hash(file->f_inode, &ima_hash, 39 ret = bpf_ima_file_hash(file, &ima_hash, 69 ima_test_common(bprm->file); 78 ima_test_common(bprm->file); 83 int BPF_PROG(kernel_read_file, struct file *file, enum kernel_read_file_id id, argument 101 ima_test_common(file);
|
/linux-master/arch/powerpc/kernel/ |
H A D | proc_powerpc.c | 19 static loff_t page_map_seek(struct file *file, loff_t off, int whence) argument 21 return fixed_size_llseek(file, off, whence, PAGE_SIZE); 24 static ssize_t page_map_read( struct file *file, char __user *buf, size_t nbytes, argument 28 pde_data(file_inode(file)), PAGE_SIZE); 31 static int page_map_mmap( struct file *file, struct vm_area_struct *vma ) argument 37 __pa(pde_data(file_inode(file))) >> PAGE_SHIFT,
|
/linux-master/fs/fuse/ |
H A D | passthrough.c | 3 * FUSE passthrough to backing file. 10 #include <linux/file.h> 11 #include <linux/backing-file.h> 14 static void fuse_file_accessed(struct file *file) argument 16 struct inode *inode = file_inode(file); 21 static void fuse_file_modified(struct file *file) argument 23 struct inode *inode = file_inode(file); 30 struct file *fil local 57 struct file *file = iocb->ki_filp; local 127 fuse_passthrough_mmap(struct file *file, struct vm_area_struct *vma) argument 215 struct file *file; local 304 fuse_passthrough_open(struct file *file, struct inode *inode, int backing_id) argument [all...] |
/linux-master/fs/ |
H A D | read_write.c | 12 #include <linux/file.h> 37 static inline bool unsigned_offsets(struct file *file) argument 39 return file->f_mode & FMODE_UNSIGNED_OFFSET; 43 * vfs_setpos - update the file offset for lseek 44 * @file: file structure in question 45 * @offset: file offset to seek to 46 * @maxsize: maximum file size 48 * This is a low-level filesystem helper for updating the file offse 54 vfs_setpos(struct file *file, loff_t offset, loff_t maxsize) argument 86 generic_file_llseek_size(struct file *file, loff_t offset, int whence, loff_t maxsize, loff_t eof) argument 144 generic_file_llseek(struct file *file, loff_t offset, int whence) argument 162 fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size) argument 181 no_seek_end_llseek(struct file *file, loff_t offset, int whence) argument 201 no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size) argument 224 noop_llseek(struct file *file, loff_t offset, int whence) argument 230 default_llseek(struct file *file, loff_t offset, int whence) argument 285 vfs_llseek(struct file *file, loff_t offset, int whence) argument 355 rw_verify_area(int read_write, struct file *file, const loff_t *ppos, size_t count) argument 402 warn_unsupported(struct file *file, const char *op) argument 410 __kernel_read(struct file *file, void *buf, size_t count, loff_t *pos) argument 445 kernel_read(struct file *file, void *buf, size_t count, loff_t *pos) argument 456 vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) argument 505 __kernel_write_iter(struct file *file, struct iov_iter *from, loff_t *pos) argument 535 __kernel_write(struct file *file, const void *buf, size_t count, loff_t *pos) argument 554 kernel_write(struct file *file, const void *buf, size_t count, loff_t *pos) argument 570 vfs_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument 603 file_ppos(struct file *file) argument 782 vfs_iocb_iter_read(struct file *file, struct kiocb *iocb, struct iov_iter *iter) argument 810 vfs_iter_read(struct file *file, struct iov_iter *iter, loff_t *ppos, rwf_t flags) argument 842 vfs_iocb_iter_write(struct file *file, struct kiocb *iocb, struct iov_iter *iter) argument 873 vfs_iter_write(struct file *file, struct iov_iter *iter, loff_t *ppos, rwf_t flags) argument 904 vfs_readv(struct file *file, const struct iovec __user *vec, unsigned long vlen, loff_t *pos, rwf_t flags) argument 942 vfs_writev(struct file *file, const struct iovec __user *vec, unsigned long vlen, loff_t *pos, rwf_t flags) argument 1646 generic_write_check_limits(struct file *file, loff_t pos, loff_t *count) argument 1674 struct file *file = iocb->ki_filp; local [all...] |
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss.c | 44 static int odev_open(struct inode *inode, struct file *file); 45 static int odev_release(struct inode *inode, struct file *file); 46 static ssize_t odev_read(struct file *file, char __user *buf, size_t count, loff_t *offset); 47 static ssize_t odev_write(struct file *file, const char __user *buf, size_t count, loff_t *offset); 48 static long odev_ioctl(struct file *file, unsigne 118 odev_open(struct inode *inode, struct file *file) argument 135 odev_release(struct inode *inode, struct file *file) argument 151 odev_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 162 odev_write(struct file *file, const char __user *buf, size_t count, loff_t *offset) argument 172 odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 191 odev_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg) argument 201 odev_poll(struct file *file, poll_table * wait) argument [all...] |