Lines Matching defs:file_operations

1727 struct file_operations {  struct
1728 struct module *owner;
1729 loff_t (*llseek) (struct file *, loff_t, int);
1730 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
1731 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
1732 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
1733 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
1734 int (*iterate) (struct file *, struct dir_context *);
1735 int (*iterate_shared) (struct file *, struct dir_context *);
1736 __poll_t (*poll) (struct file *, struct poll_table_struct *);
1737 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
1738 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
1739 int (*mmap) (struct file *, struct vm_area_struct *);
1740 unsigned long mmap_supported_flags;
1741 int (*open) (struct inode *, struct file *);
1742 int (*flush) (struct file *, fl_owner_t id);
1743 int (*release) (struct inode *, struct file *);
1744 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
1745 int (*fasync) (int, struct file *, int);
1746 int (*lock) (struct file *, int, struct file_lock *);
1747 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
1748 …ng (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
1749 int (*check_flags)(int);
1750 int (*flock) (struct file *, int, struct file_lock *);
1751 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1752 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1753 int (*setlease)(struct file *, long, struct file_lock **, void **);
1754 long (*fallocate)(struct file *file, int mode, loff_t offset,
1756 void (*show_fdinfo)(struct seq_file *m, struct file *f);
1758 unsigned (*mmap_capabilities)(struct file *);
1760 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
1762 int (*clone_file_range)(struct file *, loff_t, struct file *, loff_t,
1764 int (*dedupe_file_range)(struct file *, loff_t, struct file *, loff_t,
1766 int (*fadvise)(struct file *, loff_t, loff_t, int);