Searched refs:file (Results 126 - 150 of 3464) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dio_uring.h14 bool io_is_uring_fops(struct file *file);
47 static inline bool io_is_uring_fops(struct file *file) argument
H A Dif_tap.h8 struct file;
12 struct socket *tap_get_socket(struct file *);
13 struct ptr_ring *tap_get_ptr_ring(struct file *file);
17 static inline struct socket *tap_get_socket(struct file *f)
21 static inline struct ptr_ring *tap_get_ptr_ring(struct file *f)
68 struct file *file; member in struct:tap_queue
/linux-master/fs/xfs/
H A Dxfs_exchrange.h17 struct file *file1;
18 struct file *file2;
27 long xfs_ioc_exchange_range(struct file *file,
/linux-master/fs/fuse/
H A Dpassthrough.c3 * 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 Dread_write.c12 #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
1675 struct file *file = iocb->ki_filp; local
[all...]
/linux-master/sound/core/seq/oss/
H A Dseq_oss.c44 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...]
/linux-master/mm/
H A Dmemfd.c2 * memfd_create system call and file sealing support
7 * This file is released under the GPL.
13 #include <linux/file.h>
126 static unsigned int *memfd_file_seals_ptr(struct file *file) argument
128 if (shmem_file(file))
129 return &SHMEM_I(file_inode(file))->seals;
132 if (is_file_hugepages(file))
133 return &HUGETLBFS_I(file_inode(file))->seals;
146 static int memfd_add_seals(struct file *fil argument
228 memfd_get_seals(struct file *file) argument
235 memfd_fcntl(struct file *file, unsigned int cmd, unsigned int arg) argument
288 struct file *file; local
[all...]
/linux-master/include/misc/
H A Dcxl.h143 * These calls allow drivers to create their own file descriptors and make them
144 * identical to the cxl file descriptor user API. An example use case:
152 * // Create and attach a new file descriptor to my file ops
153 * file = cxl_get_fd(ctx, &cxl_my_fops, &fd);
157 * fput(file);
162 * fd_install(fd, file);
165 * This inits a context, and gets a file descriptor and associates some file
166 * ops to that file descripto
[all...]
/linux-master/drivers/misc/
H A Dntsync.c9 #include <linux/file.h>
26 * struct ntsync_obj, and each primitive is backed by a file.
29 * backed by a file.
31 * Both rely on struct file for reference counting. Individual
40 struct file *file; member in struct:ntsync_obj
53 struct file *file; member in struct:ntsync_device
100 static int ntsync_obj_release(struct inode *inode, struct file *file) argument
110 ntsync_obj_ioctl(struct file *file, unsigned int cmd, unsigned long parm) argument
150 struct file *file; local
194 ntsync_char_open(struct inode *inode, struct file *file) argument
207 ntsync_char_release(struct inode *inode, struct file *file) argument
216 ntsync_char_ioctl(struct file *file, unsigned int cmd, unsigned long parm) argument
[all...]
/linux-master/tools/perf/scripts/perl/bin/
H A Drw-by-file-report2 # description: r/w activity for a program, by file
5 echo "usage: rw-by-file <comm>"
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm
/linux-master/fs/coda/
H A Dcoda_int.h6 struct file;
15 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
/linux-master/include/media/
H A Dmedia-devnode.h34 * struct media_file_operations - Media device file operations
49 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
50 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
51 __poll_t (*poll) (struct file *, struct poll_table_struct *);
52 long (*ioctl) (struct file *, unsigned int, unsigned long);
53 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
54 int (*open) (struct file *);
55 int (*release) (struct file *);
124 * races with unregister and device file open calls.
145 * @filp: pointer to struct &file
[all...]
/linux-master/scripts/
H A Dcheckversion.pl15 foreach my $file (@ARGV) {
16 next if $file =~ "include/generated/uapi/linux/version\.h";
17 next if $file =~ "usr/include/linux/version\.h";
18 # Open this file.
19 open( my $f, '<', $file )
20 or die "Can't open $file: $!\n";
57 print "$file: $.: need linux/version.h\n";
62 print "$file: $iLinuxVersion linux/version.h not needed.\n";
68 print "$file: version use is OK ($iLinuxVersion)\n";
71 print "$file
[all...]
H A Dcheckdeclares.pl29 foreach my $file (@ARGV) {
30 open(my $f, '<', $file)
31 or die "Cannot open $file: $!.\n";
45 print "$file: struct $structname is declared more than once.\n";
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_drv.h47 long amdgpu_drm_ioctl(struct file *filp,
50 long amdgpu_kms_compat_ioctl(struct file *filp,
/linux-master/fs/romfs/
H A Dmmap-nommu.c18 static unsigned long romfs_get_unmapped_area(struct file *file, argument
24 struct inode *inode = file->f_mapping->host;
64 static int romfs_mmap(struct file *file, struct vm_area_struct *vma) argument
69 static unsigned romfs_mmap_capabilities(struct file *file) argument
71 struct mtd_info *mtd = file_inode(file)->i_sb->s_mtd;
/linux-master/tools/testing/selftests/damon/
H A Ddebugfs_rm_non_contexts.sh6 # Test putting non-ctx files/dirs to rm_contexts file
11 for file in "$DBGFS/"*
/linux-master/net/wireless/
H A Ddebugfs.c15 static ssize_t name## _read(struct file *file, char __user *userbuf, \
18 struct wiphy *wiphy = file->private_data; \
63 static ssize_t ht40allow_map_read(struct file *file, argument
67 struct wiphy *wiphy = file->private_data;
117 struct file *file,
122 struct file *file; member in struct:debugfs_read_work
148 wiphy_locked_debugfs_read(struct wiphy *wiphy, struct file *file, char *buf, size_t bufsize, char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*handler)(struct wiphy *wiphy, struct file *file, char *buf, size_t bufsize, void *data), void *data) argument
202 struct file *file; member in struct:debugfs_write_work
228 wiphy_locked_debugfs_write(struct wiphy *wiphy, struct file *file, char *buf, size_t bufsize, const char __user *userbuf, size_t count, ssize_t (*handler)(struct wiphy *wiphy, struct file *file, char *buf, size_t count, void *data), void *data) argument
[all...]
/linux-master/kernel/bpf/
H A Dmap_in_map.h9 struct file;
14 void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file,
/linux-master/fs/proc/
H A Dinode.c19 #include <linux/file.h>
226 * "struct file" needs to be available at the right moment.
235 struct file *file; variable in typeref:struct:file
241 file = pdeo->file;
242 pde->proc_ops->proc_release(file_inode(file), file); variable
275 static loff_t proc_reg_llseek(struct file *file, loff_ argument
304 pde_read(struct proc_dir_entry *pde, struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
314 proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
328 pde_write(struct proc_dir_entry *pde, struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
338 proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
352 pde_poll(struct proc_dir_entry *pde, struct file *file, struct poll_table_struct *pts) argument
362 proc_reg_poll(struct file *file, struct poll_table_struct *pts) argument
376 pde_ioctl(struct proc_dir_entry *pde, struct file *file, unsigned int cmd, unsigned long arg) argument
386 proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
401 pde_compat_ioctl(struct proc_dir_entry *pde, struct file *file, unsigned int cmd, unsigned long arg) argument
411 proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
425 pde_mmap(struct proc_dir_entry *pde, struct file *file, struct vm_area_struct *vma) argument
435 proc_reg_mmap(struct file *file, struct vm_area_struct *vma) argument
450 pde_get_unmapped_area(struct proc_dir_entry *pde, struct file *file, unsigned long orig_addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument
465 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument
481 proc_reg_open(struct inode *inode, struct file *file) argument
544 proc_reg_release(struct inode *inode, struct file *file) argument
[all...]
/linux-master/tools/objtool/
H A Dobjtool.c22 static struct objtool_file file; variable in typeref:struct:objtool_file
40 perror("failed to create backup file");
46 perror("failed to open orig file");
86 WARN("won't handle more than one file at a time");
89 return &file;
93 file.elf = elf_open_read(objname, O_RDWR);
94 if (!file.elf)
98 WARN("can't create backup file");
102 hash_init(file.insn_hash);
103 INIT_LIST_HEAD(&file
[all...]
/linux-master/scripts/kconfig/
H A Dutil.c27 struct file { struct
32 /* file already present in list? If not add it */
35 struct file *file; local
39 hash_for_each_possible(file_hashtable, file, node, hash)
40 if (!strcmp(name, file->name))
41 return file->name;
44 file = xmalloc(sizeof(*file) + len + 1);
45 memset(file,
[all...]
/linux-master/tools/testing/selftests/exec/
H A Dnon-regular.c14 /* Remove a file, ignoring the result if it didn't exist. */
36 FIXTURE(file) {
41 FIXTURE_VARIANT(file)
47 FIXTURE_DATA(file) *self,
48 const FIXTURE_VARIANT(file) *variant);
53 FIXTURE_DATA(file) *self,
54 const FIXTURE_VARIANT(file) *variant)
73 FIXTURE_VARIANT_ADD(file, S_IFLNK)
81 FIXTURE_DATA(file) *self,
82 const FIXTURE_VARIANT(file) *varian
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_bpf_sk_storage_helpers.c29 struct file *file = ctx->file; local
33 if (!task || !file)
36 sock = bpf_sock_from_file(file);
/linux-master/security/tomoyo/
H A Dsecurityfs_if.c31 * @file: Pointer to "struct file".
41 static ssize_t tomoyo_write_self(struct file *file, const char __user *buf, argument
93 * @file: Pointer to "struct file".
100 static ssize_t tomoyo_read_self(struct file *file, char __user *buf, argument
128 * @file: Pointer to "struct file"
132 tomoyo_open(struct inode *inode, struct file *file) argument
146 tomoyo_release(struct inode *inode, struct file *file) argument
161 tomoyo_poll(struct file *file, poll_table *wait) argument
176 tomoyo_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
192 tomoyo_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]

Completed in 344 milliseconds

1234567891011>>