Lines Matching defs:file_operations

2103 struct file_operations {  struct
2104 struct module *owner;
2105 loff_t (*llseek) (struct file *, loff_t, int);
2106 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
2107 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
2108 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
2109 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
2110 int (*iopoll)(struct kiocb *kiocb, struct io_comp_batch *,
2112 int (*iterate) (struct file *, struct dir_context *);
2113 int (*iterate_shared) (struct file *, struct dir_context *);
2114 __poll_t (*poll) (struct file *, struct poll_table_struct *);
2115 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
2116 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
2117 int (*mmap) (struct file *, struct vm_area_struct *);
2118 unsigned long mmap_supported_flags;
2119 int (*open) (struct inode *, struct file *);
2120 int (*flush) (struct file *, fl_owner_t id);
2121 int (*release) (struct inode *, struct file *);
2122 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
2123 int (*fasync) (int, struct file *, int);
2124 int (*lock) (struct file *, int, struct file_lock *);
2125 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
2126 …ng (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
2127 int (*check_flags)(int);
2128 int (*flock) (struct file *, int, struct file_lock *);
2129 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
2130 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
2131 int (*setlease)(struct file *, long, struct file_lock **, void **);
2132 long (*fallocate)(struct file *file, int mode, loff_t offset,
2134 void (*show_fdinfo)(struct seq_file *m, struct file *f);
2136 unsigned (*mmap_capabilities)(struct file *);
2138 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
2140 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
2143 int (*fadvise)(struct file *, loff_t, loff_t, int);
2144 int (*uring_cmd)(struct io_uring_cmd *ioucmd, unsigned int issue_flags);
2145 int (*uring_cmd_iopoll)(struct io_uring_cmd *, struct io_comp_batch *,