Lines Matching refs:struct

20 	int (*d_revalidate)(struct dentry *, unsigned int);
21 int (*d_weak_revalidate)(struct dentry *, unsigned int);
22 int (*d_hash)(const struct dentry *, struct qstr *);
23 int (*d_compare)(const struct dentry *,
24 unsigned int, const char *, const struct qstr *);
25 int (*d_delete)(struct dentry *);
26 int (*d_init)(struct dentry *);
27 void (*d_release)(struct dentry *);
28 void (*d_iput)(struct dentry *, struct inode *);
29 char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen);
30 struct vfsmount *(*d_automount)(struct path *path);
31 int (*d_manage)(const struct path *, bool);
32 struct dentry *(*d_real)(struct dentry *, const struct inode *);
59 int (*create) (struct mnt_idmap *, struct inode *,struct dentry *,umode_t, bool);
60 struct dentry * (*lookup) (struct inode *,struct dentry *, unsigned int);
61 int (*link) (struct dentry *,struct inode *,struct dentry *);
62 int (*unlink) (struct inode *,struct dentry *);
63 int (*symlink) (struct mnt_idmap *, struct inode *,struct dentry *,const char *);
64 int (*mkdir) (struct mnt_idmap *, struct inode *,struct dentry *,umode_t);
65 int (*rmdir) (struct inode *,struct dentry *);
66 int (*mknod) (struct mnt_idmap *, struct inode *,struct dentry *,umode_t,dev_t);
67 int (*rename) (struct mnt_idmap *, struct inode *, struct dentry *,
68 struct inode *, struct dentry *, unsigned int);
69 int (*readlink) (struct dentry *, char __user *,int);
70 const char *(*get_link) (struct dentry *, struct inode *, struct delayed_call *);
71 void (*truncate) (struct inode *);
72 int (*permission) (struct mnt_idmap *, struct inode *, int, unsigned int);
73 struct posix_acl * (*get_inode_acl)(struct inode *, int, bool);
74 int (*setattr) (struct mnt_idmap *, struct dentry *, struct iattr *);
75 int (*getattr) (struct mnt_idmap *, const struct path *, struct kstat *, u32, unsigned int);
76 ssize_t (*listxattr) (struct dentry *, char *, size_t);
77 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, u64 len);
78 void (*update_time)(struct inode *, struct timespec *, int);
79 int (*atomic_open)(struct inode *, struct dentry *,
80 struct file *, unsigned open_flag,
82 int (*tmpfile) (struct mnt_idmap *, struct inode *,
83 struct file *, umode_t);
84 int (*fileattr_set)(struct mnt_idmap *idmap,
85 struct dentry *dentry, struct fileattr *fa);
86 int (*fileattr_get)(struct dentry *dentry, struct fileattr *fa);
87 struct posix_acl * (*get_acl)(struct mnt_idmap *, struct dentry *, int);
88 struct offset_ctx *(*get_offset_ctx)(struct inode *inode);
138 bool (*list)(struct dentry *dentry);
139 int (*get)(const struct xattr_handler *handler, struct dentry *dentry,
140 struct inode *inode, const char *name, void *buffer,
142 int (*set)(const struct xattr_handler *handler,
143 struct mnt_idmap *idmap,
144 struct dentry *dentry, struct inode *inode, const char *name,
163 struct inode *(*alloc_inode)(struct super_block *sb);
164 void (*free_inode)(struct inode *);
165 void (*destroy_inode)(struct inode *);
166 void (*dirty_inode) (struct inode *, int flags);
167 int (*write_inode) (struct inode *, struct writeback_control *wbc);
168 int (*drop_inode) (struct inode *);
169 void (*evict_inode) (struct inode *);
170 void (*put_super) (struct super_block *);
171 int (*sync_fs)(struct super_block *sb, int wait);
172 int (*freeze_fs) (struct super_block *);
173 int (*unfreeze_fs) (struct super_block *);
174 int (*statfs) (struct dentry *, struct kstatfs *);
175 int (*remount_fs) (struct super_block *, int *, char *);
176 void (*umount_begin) (struct super_block *);
177 int (*show_options)(struct seq_file *, struct dentry *);
178 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
179 ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
224 struct dentry *(*mount) (struct file_system_type *, int,
226 void (*kill_sb) (struct super_block *);
247 int (*writepage)(struct page *page, struct writeback_control *wbc);
248 int (*read_folio)(struct file *, struct folio *);
249 int (*writepages)(struct address_space *, struct writeback_control *);
250 bool (*dirty_folio)(struct address_space *, struct folio *folio);
251 void (*readahead)(struct readahead_control *);
252 int (*write_begin)(struct file *, struct address_space *mapping,
254 struct page **pagep, void **fsdata);
255 int (*write_end)(struct file *, struct address_space *mapping,
257 struct page *page, void *fsdata);
258 sector_t (*bmap)(struct address_space *, sector_t);
259 void (*invalidate_folio) (struct folio *, size_t start, size_t len);
260 bool (*release_folio)(struct folio *, gfp_t);
261 void (*free_folio)(struct folio *);
262 int (*direct_IO)(struct kiocb *, struct iov_iter *iter);
263 int (*migrate_folio)(struct address_space *, struct folio *dst,
264 struct folio *src, enum migrate_mode);
265 int (*launder_folio)(struct folio *);
266 bool (*is_partially_uptodate)(struct folio *, size_t from, size_t count);
267 int (*error_remove_page)(struct address_space *, struct page *);
268 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span)
269 int (*swap_deactivate)(struct file *);
270 int (*swap_rw)(struct kiocb *iocb, struct iov_iter *iter);
421 void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
422 void (*fl_release_private)(struct file_lock *);
444 void (*lm_notify)(struct file_lock *); /* unblock callback */
445 int (*lm_grant)(struct file_lock *, struct file_lock *, int);
446 void (*lm_break)(struct file_lock *); /* break_lease callback */
447 int (*lm_change)(struct file_lock **, int);
448 bool (*lm_breaker_owns_lease)(struct file_lock *);
449 bool (*lm_lock_expirable)(struct file_lock *);
471 void (*b_end_io)(struct buffer_head *bh, int uptodate);
484 int (*open) (struct block_device *, fmode_t);
485 int (*release) (struct gendisk *, fmode_t);
486 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
487 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
488 int (*direct_access) (struct block_device *, sector_t, void **,
490 void (*unlock_native_capacity) (struct gendisk *);
491 int (*getgeo)(struct block_device *, struct hd_geometry *);
492 void (*swap_slot_free_notify) (struct block_device *, unsigned long);
518 loff_t (*llseek) (struct file *, loff_t, int);
519 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
520 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
521 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
522 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
523 int (*iopoll) (struct kiocb *kiocb, bool spin);
524 int (*iterate_shared) (struct file *, struct dir_context *);
525 __poll_t (*poll) (struct file *, struct poll_table_struct *);
526 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
527 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
528 int (*mmap) (struct file *, struct vm_area_struct *);
529 int (*open) (struct inode *, struct file *);
530 int (*flush) (struct file *);
531 int (*release) (struct inode *, struct file *);
532 int (*fsync) (struct file *, loff_t start, loff_t end, int datasync);
533 int (*fasync) (int, struct file *, int);
534 int (*lock) (struct file *, int, struct file_lock *);
535 unsigned long (*get_unmapped_area)(struct file *, unsigned long,
538 int (*flock) (struct file *, int, struct file_lock *);
539 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *,
541 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *,
543 int (*setlease)(struct file *, long, struct file_lock **, void **);
544 long (*fallocate)(struct file *, int, loff_t, loff_t);
545 void (*show_fdinfo)(struct seq_file *m, struct file *f);
546 unsigned (*mmap_capabilities)(struct file *);
547 ssize_t (*copy_file_range)(struct file *, loff_t, struct file *,
549 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
550 struct file *file_out, loff_t pos_out,
552 int (*fadvise)(struct file *, loff_t, loff_t, int);
576 anything that resembles union-mount we won't have a struct file for all
610 int (*write_dquot) (struct dquot *);
611 int (*acquire_dquot) (struct dquot *);
612 int (*release_dquot) (struct dquot *);
613 int (*mark_dirty) (struct dquot *);
614 int (*write_info) (struct super_block *, int);
641 void (*open)(struct vm_area_struct *);
642 void (*close)(struct vm_area_struct *);
643 vm_fault_t (*fault)(struct vm_fault *);
644 vm_fault_t (*huge_fault)(struct vm_fault *, unsigned int order);
645 vm_fault_t (*map_pages)(struct vm_fault *, pgoff_t start, pgoff_t end);
646 vm_fault_t (*page_mkwrite)(struct vm_area_struct *, struct vm_fault *);
647 vm_fault_t (*pfn_mkwrite)(struct vm_area_struct *, struct vm_fault *);
648 int (*access)(struct vm_area_struct *, unsigned long, void*, int, int);