Lines Matching refs:struct
20 int (*d_revalidate)(struct inode *, const struct qstr *,
21 struct dentry *, unsigned int);
22 int (*d_weak_revalidate)(struct dentry *, unsigned int);
23 int (*d_hash)(const struct dentry *, struct qstr *);
24 int (*d_compare)(const struct dentry *,
25 unsigned int, const char *, const struct qstr *);
26 int (*d_delete)(struct dentry *);
27 int (*d_init)(struct dentry *);
28 void (*d_release)(struct dentry *);
29 void (*d_iput)(struct dentry *, struct inode *);
30 char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen);
31 struct vfsmount *(*d_automount)(struct path *path);
32 int (*d_manage)(const struct path *, bool);
33 struct dentry *(*d_real)(struct dentry *, enum d_real_type type);
34 bool (*d_unalias_trylock)(const struct dentry *);
35 void (*d_unalias_unlock)(const struct dentry *);
64 int (*create) (struct mnt_idmap *, struct inode *,struct dentry *,umode_t, bool);
65 struct dentry * (*lookup) (struct inode *,struct dentry *, unsigned int);
66 int (*link) (struct dentry *,struct inode *,struct dentry *);
67 int (*unlink) (struct inode *,struct dentry *);
68 int (*symlink) (struct mnt_idmap *, struct inode *,struct dentry *,const char *);
69 struct dentry *(*mkdir) (struct mnt_idmap *, struct inode *,struct dentry *,umode_t);
70 int (*rmdir) (struct inode *,struct dentry *);
71 int (*mknod) (struct mnt_idmap *, struct inode *,struct dentry *,umode_t,dev_t);
72 int (*rename) (struct mnt_idmap *, struct inode *, struct dentry *,
73 struct inode *, struct dentry *, unsigned int);
74 int (*readlink) (struct dentry *, char __user *,int);
75 const char *(*get_link) (struct dentry *, struct inode *, struct delayed_call *);
76 void (*truncate) (struct inode *);
77 int (*permission) (struct mnt_idmap *, struct inode *, int, unsigned int);
78 struct posix_acl * (*get_inode_acl)(struct inode *, int, bool);
79 int (*setattr) (struct mnt_idmap *, struct dentry *, struct iattr *);
80 int (*getattr) (struct mnt_idmap *, const struct path *, struct kstat *, u32, unsigned int);
81 ssize_t (*listxattr) (struct dentry *, char *, size_t);
82 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, u64 len);
83 void (*update_time)(struct inode *, struct timespec *, int);
84 int (*atomic_open)(struct inode *, struct dentry *,
85 struct file *, unsigned open_flag,
87 int (*tmpfile) (struct mnt_idmap *, struct inode *,
88 struct file *, umode_t);
89 int (*fileattr_set)(struct mnt_idmap *idmap,
90 struct dentry *dentry, struct fileattr *fa);
91 int (*fileattr_get)(struct dentry *dentry, struct fileattr *fa);
92 struct posix_acl * (*get_acl)(struct mnt_idmap *, struct dentry *, int);
93 struct offset_ctx *(*get_offset_ctx)(struct inode *inode);
143 bool (*list)(struct dentry *dentry);
144 int (*get)(const struct xattr_handler *handler, struct dentry *dentry,
145 struct inode *inode, const char *name, void *buffer,
147 int (*set)(const struct xattr_handler *handler,
148 struct mnt_idmap *idmap,
149 struct dentry *dentry, struct inode *inode, const char *name,
168 struct inode *(*alloc_inode)(struct super_block *sb);
169 void (*free_inode)(struct inode *);
170 void (*destroy_inode)(struct inode *);
171 void (*dirty_inode) (struct inode *, int flags);
172 int (*write_inode) (struct inode *, struct writeback_control *wbc);
173 int (*drop_inode) (struct inode *);
174 void (*evict_inode) (struct inode *);
175 void (*put_super) (struct super_block *);
176 int (*sync_fs)(struct super_block *sb, int wait);
177 int (*freeze_fs) (struct super_block *);
178 int (*unfreeze_fs) (struct super_block *);
179 int (*statfs) (struct dentry *, struct kstatfs *);
180 int (*remount_fs) (struct super_block *, int *, char *);
181 void (*umount_begin) (struct super_block *);
182 int (*show_options)(struct seq_file *, struct dentry *);
183 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
184 ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
229 struct dentry *(*mount) (struct file_system_type *, int,
231 void (*kill_sb) (struct super_block *);
252 int (*writepage)(struct page *page, struct writeback_control *wbc);
253 int (*read_folio)(struct file *, struct folio *);
254 int (*writepages)(struct address_space *, struct writeback_control *);
255 bool (*dirty_folio)(struct address_space *, struct folio *folio);
256 void (*readahead)(struct readahead_control *);
257 int (*write_begin)(struct file *, struct address_space *mapping,
259 struct folio **foliop, void **fsdata);
260 int (*write_end)(struct file *, struct address_space *mapping,
262 struct folio *folio, void *fsdata);
263 sector_t (*bmap)(struct address_space *, sector_t);
264 void (*invalidate_folio) (struct folio *, size_t start, size_t len);
265 bool (*release_folio)(struct folio *, gfp_t);
266 void (*free_folio)(struct folio *);
267 int (*direct_IO)(struct kiocb *, struct iov_iter *iter);
268 int (*migrate_folio)(struct address_space *, struct folio *dst,
269 struct folio *src, enum migrate_mode);
270 int (*launder_folio)(struct folio *);
271 bool (*is_partially_uptodate)(struct folio *, size_t from, size_t count);
272 int (*error_remove_folio)(struct address_space *, struct folio *);
273 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
274 int (*swap_deactivate)(struct file *);
275 int (*swap_rw)(struct kiocb *iocb, struct iov_iter *iter);
426 void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
427 void (*fl_release_private)(struct file_lock *);
449 void (*lm_notify)(struct file_lock *); /* unblock callback */
450 int (*lm_grant)(struct file_lock *, struct file_lock *, int);
451 void (*lm_break)(struct file_lock *); /* break_lease callback */
452 int (*lm_change)(struct file_lock **, int);
453 bool (*lm_breaker_owns_lease)(struct file_lock *);
454 bool (*lm_lock_expirable)(struct file_lock *);
476 void (*b_end_io)(struct buffer_head *bh, int uptodate);
489 int (*open) (struct block_device *, fmode_t);
490 int (*release) (struct gendisk *, fmode_t);
491 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
492 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
493 int (*direct_access) (struct block_device *, sector_t, void **,
495 void (*unlock_native_capacity) (struct gendisk *);
496 int (*getgeo)(struct block_device *, struct hd_geometry *);
497 void (*swap_slot_free_notify) (struct block_device *, unsigned long);
523 loff_t (*llseek) (struct file *, loff_t, int);
524 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
525 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
526 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
527 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
528 int (*iopoll) (struct kiocb *kiocb, bool spin);
529 int (*iterate_shared) (struct file *, struct dir_context *);
530 __poll_t (*poll) (struct file *, struct poll_table_struct *);
531 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
532 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
533 int (*mmap) (struct file *, struct vm_area_struct *);
534 int (*open) (struct inode *, struct file *);
535 int (*flush) (struct file *);
536 int (*release) (struct inode *, struct file *);
537 int (*fsync) (struct file *, loff_t start, loff_t end, int datasync);
538 int (*fasync) (int, struct file *, int);
539 int (*lock) (struct file *, int, struct file_lock *);
540 unsigned long (*get_unmapped_area)(struct file *, unsigned long,
543 int (*flock) (struct file *, int, struct file_lock *);
544 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *,
546 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *,
548 int (*setlease)(struct file *, long, struct file_lock **, void **);
549 long (*fallocate)(struct file *, int, loff_t, loff_t);
550 void (*show_fdinfo)(struct seq_file *m, struct file *f);
551 unsigned (*mmap_capabilities)(struct file *);
552 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
554 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
555 struct file *file_out, loff_t pos_out,
557 int (*fadvise)(struct file *, loff_t, loff_t, int);
581 anything that resembles union-mount we won't have a struct file for all
615 int (*write_dquot) (struct dquot *);
616 int (*acquire_dquot) (struct dquot *);
617 int (*release_dquot) (struct dquot *);
618 int (*mark_dirty) (struct dquot *);
619 int (*write_info) (struct super_block *, int);
646 void (*open)(struct vm_area_struct *);
647 void (*close)(struct vm_area_struct *);
648 vm_fault_t (*fault)(struct vm_fault *);
649 vm_fault_t (*huge_fault)(struct vm_fault *, unsigned int order);
650 vm_fault_t (*map_pages)(struct vm_fault *, pgoff_t start, pgoff_t end);
651 vm_fault_t (*page_mkwrite)(struct vm_area_struct *, struct vm_fault *);
652 vm_fault_t (*pfn_mkwrite)(struct vm_area_struct *, struct vm_fault *);
653 int (*access)(struct vm_area_struct *, unsigned long, void*, int, int);