• Home
  • Raw
  • Download

Lines Matching defs:file_operations

303 struct file_operations {  struct
304 struct module *owner;
305 loff_t (*llseek)(struct file *, loff_t, int);
306 ssize_t (*read)(struct file *, char *, size_t, loff_t *);
307 ssize_t (*write)(struct file *, const char *, size_t, loff_t *);
308 ssize_t (*read_iter)(struct kiocb *, struct iov_iter *);
309 ssize_t (*write_iter)(struct kiocb *, struct iov_iter *);
310 int (*iopoll)(struct kiocb *, struct io_comp_batch *, unsigned int);
311 int (*iterate)(struct file *, struct dir_context *);
312 int (*iterate_shared)(struct file *, struct dir_context *);
313 __poll_t (*poll)(struct file *, struct poll_table_struct *);
314 long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int);
315 long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int);
316 int (*mmap)(struct file *, struct vm_area_struct *);
317 long unsigned int mmap_supported_flags;
318 int (*open)(struct inode *, struct file *);
319 int (*flush)(struct file *, fl_owner_t);
320 int (*release)(struct inode *, struct file *);
321 int (*fsync)(struct file *, loff_t, loff_t, int);
322 int (*fasync)(int, struct file *, int);
323 int (*lock)(struct file *, int, struct file_lock *);
324 ssize_t (*sendpage)(struct file *, struct page *, int, size_t, loff_t *, int);
325 …d_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
326 int (*check_flags)(int);
327 int (*flock)(struct file *, int, struct file_lock *);
328 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
329 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
330 int (*setlease)(struct file *, long int, struct file_lock **, void **);
331 long int (*fallocate)(struct file *, int, loff_t, loff_t);
332 void (*show_fdinfo)(struct seq_file *, struct file *);
333 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int);
334 loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned int);
335 int (*fadvise)(struct file *, loff_t, loff_t, int);