Lines Matching defs:file_operations

1852 struct file_operations {  struct
1853 struct module *owner;
1854 loff_t (*llseek) (struct file *, loff_t, int);
1855 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
1856 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
1857 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
1858 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
1859 int (*iopoll)(struct kiocb *kiocb, struct io_comp_batch *,
1861 int (*iterate_shared) (struct file *, struct dir_context *);
1862 __poll_t (*poll) (struct file *, struct poll_table_struct *);
1863 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
1864 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
1865 int (*mmap) (struct file *, struct vm_area_struct *);
1866 unsigned long mmap_supported_flags;
1867 int (*open) (struct inode *, struct file *);
1868 int (*flush) (struct file *, fl_owner_t id);
1869 int (*release) (struct inode *, struct file *);
1870 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
1871 int (*fasync) (int, struct file *, int);
1872 int (*lock) (struct file *, int, struct file_lock *);
1873 …ng (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
1874 int (*check_flags)(int);
1875 int (*flock) (struct file *, int, struct file_lock *);
1876 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1877 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1878 void (*splice_eof)(struct file *file);
1879 int (*setlease)(struct file *, int, struct file_lock **, void **);
1880 long (*fallocate)(struct file *file, int mode, loff_t offset,
1882 void (*show_fdinfo)(struct seq_file *m, struct file *f);
1884 unsigned (*mmap_capabilities)(struct file *);
1886 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
1888 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
1891 int (*fadvise)(struct file *, loff_t, loff_t, int);
1892 int (*uring_cmd)(struct io_uring_cmd *ioucmd, unsigned int issue_flags);
1893 int (*uring_cmd_iopoll)(struct io_uring_cmd *, struct io_comp_batch *,