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 *inode, enum fs_update_time type,
85 void (*sync_lazytime)(struct inode *inode);
86 int (*atomic_open)(struct inode *, struct dentry *,
87 struct file *, unsigned open_flag,
89 int (*tmpfile) (struct mnt_idmap *, struct inode *,
90 struct file *, umode_t);
91 int (*fileattr_set)(struct mnt_idmap *idmap,
92 struct dentry *dentry, struct file_kattr *fa);
93 int (*fileattr_get)(struct dentry *dentry, struct file_kattr *fa);
94 struct posix_acl * (*get_acl)(struct mnt_idmap *, struct dentry *, int);
95 struct offset_ctx *(*get_offset_ctx)(struct inode *inode);
146 bool (*list)(struct dentry *dentry);
147 int (*get)(const struct xattr_handler *handler, struct dentry *dentry,
148 struct inode *inode, const char *name, void *buffer,
150 int (*set)(const struct xattr_handler *handler,
151 struct mnt_idmap *idmap,
152 struct dentry *dentry, struct inode *inode, const char *name,
171 struct inode *(*alloc_inode)(struct super_block *sb);
172 void (*free_inode)(struct inode *);
173 void (*destroy_inode)(struct inode *);
174 void (*dirty_inode) (struct inode *, int flags);
175 int (*write_inode) (struct inode *, struct writeback_control *wbc);
176 int (*drop_inode) (struct inode *);
177 void (*evict_inode) (struct inode *);
178 void (*put_super) (struct super_block *);
179 int (*sync_fs)(struct super_block *sb, int wait);
180 int (*freeze_fs) (struct super_block *);
181 int (*unfreeze_fs) (struct super_block *);
182 int (*statfs) (struct dentry *, struct kstatfs *);
183 void (*umount_begin) (struct super_block *);
184 int (*show_options)(struct seq_file *, struct dentry *);
185 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
186 ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
230 void (*kill_sb) (struct super_block *);
247 int (*read_folio)(struct file *, struct folio *);
248 int (*writepages)(struct address_space *, struct writeback_control *);
249 bool (*dirty_folio)(struct address_space *, struct folio *folio);
250 void (*readahead)(struct readahead_control *);
251 int (*write_begin)(const struct kiocb *, struct address_space *mapping,
253 struct folio **foliop, void **fsdata);
254 int (*write_end)(const struct kiocb *, struct address_space *mapping,
256 struct folio *folio, void *fsdata);
257 sector_t (*bmap)(struct address_space *, sector_t);
258 void (*invalidate_folio) (struct folio *, size_t start, size_t len);
259 bool (*release_folio)(struct folio *, gfp_t);
260 void (*free_folio)(struct folio *);
261 int (*direct_IO)(struct kiocb *, struct iov_iter *iter);
262 int (*migrate_folio)(struct address_space *, struct folio *dst,
263 struct folio *src, enum migrate_mode);
264 int (*launder_folio)(struct folio *);
265 bool (*is_partially_uptodate)(struct folio *, size_t from, size_t count);
266 int (*error_remove_folio)(struct address_space *, struct folio *);
267 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
268 int (*swap_deactivate)(struct file *);
269 int (*swap_rw)(struct kiocb *iocb, struct iov_iter *iter);
371 void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
372 void (*fl_release_private)(struct file_lock *);
394 void (*lm_notify)(struct file_lock *); /* unblock callback */
395 int (*lm_grant)(struct file_lock *, struct file_lock *, int);
396 void (*lm_break)(struct file_lock *); /* break_lease callback */
397 int (*lm_change)(struct file_lock **, int);
398 bool (*lm_breaker_owns_lease)(struct file_lock *);
399 bool (*lm_lock_expirable)(struct file_lock *);
422 void (*b_end_io)(struct buffer_head *bh, int uptodate);
435 int (*open) (struct block_device *, fmode_t);
436 int (*release) (struct gendisk *, fmode_t);
437 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
438 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
439 int (*direct_access) (struct block_device *, sector_t, void **,
441 void (*unlock_native_capacity) (struct gendisk *);
442 int (*getgeo)(struct gendisk *, struct hd_geometry *);
443 void (*swap_slot_free_notify) (struct block_device *, unsigned long);
469 loff_t (*llseek) (struct file *, loff_t, int);
470 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
471 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
472 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
473 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
474 int (*iopoll) (struct kiocb *kiocb, bool spin);
475 int (*iterate_shared) (struct file *, struct dir_context *);
476 __poll_t (*poll) (struct file *, struct poll_table_struct *);
477 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
478 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
479 int (*mmap) (struct file *, struct vm_area_struct *);
480 int (*open) (struct inode *, struct file *);
481 int (*flush) (struct file *);
482 int (*release) (struct inode *, struct file *);
483 int (*fsync) (struct file *, loff_t start, loff_t end, int datasync);
484 int (*fasync) (int, struct file *, int);
485 int (*lock) (struct file *, int, struct file_lock *);
486 unsigned long (*get_unmapped_area)(struct file *, unsigned long,
489 int (*flock) (struct file *, int, struct file_lock *);
490 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *,
492 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *,
494 int (*setlease)(struct file *, long, struct file_lock **, void **);
495 long (*fallocate)(struct file *, int, loff_t, loff_t);
496 void (*show_fdinfo)(struct seq_file *m, struct file *f);
497 unsigned (*mmap_capabilities)(struct file *);
498 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
500 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
501 struct file *file_out, loff_t pos_out,
503 int (*fadvise)(struct file *, loff_t, loff_t, int);
527 anything that resembles union-mount we won't have a struct file for all
561 int (*write_dquot) (struct dquot *);
562 int (*acquire_dquot) (struct dquot *);
563 int (*release_dquot) (struct dquot *);
564 int (*mark_dirty) (struct dquot *);
565 int (*write_info) (struct super_block *, int);
592 void (*open)(struct vm_area_struct *);
593 void (*close)(struct vm_area_struct *);
594 vm_fault_t (*fault)(struct vm_fault *);
595 vm_fault_t (*huge_fault)(struct vm_fault *, unsigned int order);
596 vm_fault_t (*map_pages)(struct vm_fault *, pgoff_t start, pgoff_t end);
597 vm_fault_t (*page_mkwrite)(struct vm_area_struct *, struct vm_fault *);
598 vm_fault_t (*pfn_mkwrite)(struct vm_area_struct *, struct vm_fault *);
599 int (*access)(struct vm_area_struct *, unsigned long, void*, int, int);