Lines Matching defs:file_operations

2131 struct file_operations {  struct
2132 struct module *owner;
2133 fop_flags_t fop_flags;
2134 loff_t (*llseek) (struct file *, loff_t, int);
2135 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
2136 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
2137 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
2138 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
2139 int (*iopoll)(struct kiocb *kiocb, struct io_comp_batch *,
2141 int (*iterate_shared) (struct file *, struct dir_context *);
2142 __poll_t (*poll) (struct file *, struct poll_table_struct *);
2143 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
2144 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
2145 int (*mmap) (struct file *, struct vm_area_struct *);
2146 int (*open) (struct inode *, struct file *);
2147 int (*flush) (struct file *, fl_owner_t id);
2148 int (*release) (struct inode *, struct file *);
2149 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
2150 int (*fasync) (int, struct file *, int);
2151 int (*lock) (struct file *, int, struct file_lock *);
2152 …ng (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
2153 int (*check_flags)(int);
2154 int (*flock) (struct file *, int, struct file_lock *);
2155 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
2156 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
2157 void (*splice_eof)(struct file *file);
2158 int (*setlease)(struct file *, int, struct file_lease **, void **);
2159 long (*fallocate)(struct file *file, int mode, loff_t offset,
2161 void (*show_fdinfo)(struct seq_file *m, struct file *f);
2163 unsigned (*mmap_capabilities)(struct file *);
2165 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
2167 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
2170 int (*fadvise)(struct file *, loff_t, loff_t, int);
2171 int (*uring_cmd)(struct io_uring_cmd *ioucmd, unsigned int issue_flags);
2172 int (*uring_cmd_iopoll)(struct io_uring_cmd *, struct io_comp_batch *,