| /linux-6.15/include/linux/ |
| H A D | mount.h | 68 struct vfsmount { struct 81 extern int mnt_want_write(struct vfsmount *mnt); 85 extern void mntput(struct vfsmount *mnt); 86 extern struct vfsmount *mntget(struct vfsmount *mnt); 90 extern bool mnt_may_suid(struct vfsmount *mnt); 93 int mnt_get_write_access(struct vfsmount *mnt); 110 extern bool our_mnt(struct vfsmount *mnt); 113 extern void kern_unmount(struct vfsmount *mnt); 114 extern int may_umount_tree(struct vfsmount *); 115 extern int may_umount(struct vfsmount *); [all …]
|
| H A D | nfs_ssc.h | 19 struct file *(*sco_open)(struct vfsmount *ss_mnt, 43 static inline struct file *nfs42_ssc_open(struct vfsmount *ss_mnt, in nfs42_ssc_open() 67 struct vfsmount *nsui_vfsmount;
|
| H A D | path.h | 6 struct vfsmount; 9 struct vfsmount *mnt;
|
| H A D | fs_pin.h | 12 struct vfsmount; 23 void pin_insert(struct fs_pin *, struct vfsmount *);
|
| H A D | file.h | 22 struct vfsmount; 26 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *, 28 extern struct file *alloc_file_pseudo_noaccount(struct inode *, struct vfsmount *,
|
| H A D | exportfs.h | 13 struct vfsmount; 338 extern struct dentry *exportfs_decode_fh_raw(struct vfsmount *mnt, 344 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
|
| H A D | fsnotify.h | 318 static inline void fsnotify_vfsmount_delete(struct vfsmount *mnt) in fsnotify_vfsmount_delete() 536 static inline void fsnotify_mnt_attach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_attach() 541 static inline void fsnotify_mnt_detach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_detach() 546 static inline void fsnotify_mnt_move(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_move()
|
| H A D | fsnotify_backend.h | 523 FSNOTIFY_ITER_FUNCS(vfsmount, VFSMOUNT) 648 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt); 653 extern void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt); 946 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete() 969 static inline void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt()
|
| H A D | devpts_fs.h | 19 struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
|
| /linux-6.15/fs/ |
| H A D | mount.h | 59 struct vfsmount mnt; 104 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() 114 static inline int is_mounted(struct vfsmount *mnt) in is_mounted() 120 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *); 122 extern int __legitimize_mnt(struct vfsmount *, unsigned); 149 int (*show)(struct seq_file *, struct vfsmount *);
|
| H A D | namespace.c | 868 struct vfsmount *m; in lookup_mnt() 1303 struct vfsmount *mnt; in vfs_kern_mount() 1328 struct vfsmount * 1532 struct vfsmount *mntget(struct vfsmount *mnt) in mntget() 2515 struct vfsmount *root) in iterate_mounts() 3796 struct vfsmount *mnt; in do_new_mount_fc() 5334 struct vfsmount *mnt; 5450 struct vfsmount *mnt = s->mnt; in statmount_mnt_point() 5508 struct vfsmount *mnt = s->mnt; in statmount_mnt_opts() 6174 struct vfsmount *mnt; in init_mount_tree() [all …]
|
| H A D | proc_namespace.c | 64 static void show_vfsmnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt_opts() 101 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt() 135 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt) in show_mountinfo() 193 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) in show_vfsstat() 239 int (*show)(struct seq_file *, struct vfsmount *)) in mounts_open_common() argument
|
| H A D | internal.h | 73 extern struct vfsmount *lookup_mnt(const struct path *); 74 extern int finish_automount(struct vfsmount *, const struct path *); 83 extern void dissolve_on_fput(struct vfsmount *); 327 int path_from_stashed(struct dentry **stashed, struct vfsmount *mnt, void *data,
|
| H A D | file_table.c | 358 struct vfsmount *mnt, struct path *path) in alloc_path_pseudo() 368 struct file *alloc_file_pseudo(struct inode *inode, struct vfsmount *mnt, in alloc_file_pseudo() 396 struct vfsmount *mnt, const char *name, in alloc_file_pseudo_noaccount() 442 struct vfsmount *mnt = file->f_path.mnt; in __fput()
|
| /linux-6.15/fs/autofs/ |
| H A D | expire.c | 29 static int autofs_mount_busy(struct vfsmount *mnt, in autofs_mount_busy() 147 static int autofs_direct_busy(struct vfsmount *mnt, in autofs_direct_busy() 179 static int autofs_tree_busy(struct vfsmount *mnt, in autofs_tree_busy() 238 static struct dentry *autofs_check_leaves(struct vfsmount *mnt, in autofs_check_leaves() 272 struct vfsmount *mnt, in autofs_expire_direct() 319 struct vfsmount *mnt, in should_expire() 418 struct vfsmount *mnt, in autofs_expire_indirect() 537 struct vfsmount *mnt, in autofs_expire_run() 575 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, in autofs_do_expire_multi() 611 int autofs_expire_multi(struct super_block *sb, struct vfsmount *mnt, in autofs_expire_multi()
|
| H A D | autofs_i.h | 166 int autofs_expire_run(struct super_block *, struct vfsmount *, 169 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, 171 int autofs_expire_multi(struct super_block *, struct vfsmount *,
|
| /linux-6.15/fs/afs/ |
| H A D | mntpt.c | 157 static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) in afs_mntpt_do_automount() 160 struct vfsmount *mnt; in afs_mntpt_do_automount() 182 struct vfsmount *afs_d_automount(struct path *path) in afs_d_automount() 184 struct vfsmount *newmnt; in afs_d_automount()
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | sharedsubtree.rst | 282 A 'slave mount' is defined as a vfsmount that receives 303 Strictly speaking, the vfsmount is shared having its own 312 or by moving the slave vfsmount under a shared vfsmount. 316 A 'private mount' is defined as vfsmount that does not 703 one vfsmount:: 782 one vfsmount:: 851 4 new fields are introduced to struct vfsmount: 871 points to the master vfsmount from which this vfsmount 876 the vfsmount. MNT_SHARE indicates that the vfsmount is a shared 877 vfsmount. MNT_UNCLONABLE indicates that the vfsmount cannot be [all …]
|
| H A D | automount-support.rst | 57 vfsmount thereon for potential expiry on the next call. 59 If a vfsmount was already flagged for expiry, and if its usage count is 1 60 (it's only referenced by its parent vfsmount), then it will be deleted 71 mount is made on an expirable mount, the new vfsmount will not be on the
|
| /linux-6.15/fs/smb/client/ |
| H A D | namespace.c | 189 static struct vfsmount *cifs_do_automount(struct path *path) in cifs_do_automount() 198 struct vfsmount *mnt; in cifs_do_automount() 274 struct vfsmount *cifs_d_automount(struct path *path) in cifs_d_automount() 276 struct vfsmount *newmnt; in cifs_d_automount()
|
| /linux-6.15/kernel/ |
| H A D | usermode_driver.c | 12 static struct vfsmount *blob_to_mnt(const void *data, size_t len, const char *name) in blob_to_mnt() 15 struct vfsmount *mnt; in blob_to_mnt() 62 struct vfsmount *mnt; in umd_load_blob()
|
| /linux-6.15/fs/notify/ |
| H A D | fsnotify.h | 49 return ((struct vfsmount *)obj)->mnt_sb; in fsnotify_object_sb() 88 static inline void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) in fsnotify_clear_marks_by_mount()
|
| /linux-6.15/fs/exportfs/ |
| H A D | expfs.c | 27 static int exportfs_get_name(struct vfsmount *mnt, struct dentry *dir, in exportfs_get_name() 121 static struct dentry *reconnect_one(struct vfsmount *mnt, in reconnect_one() 210 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) in reconnect_path() 437 exportfs_decode_fh_raw(struct vfsmount *mnt, struct fid *fid, int fh_len, in exportfs_decode_fh_raw() 593 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, in exportfs_decode_fh()
|
| /linux-6.15/fs/overlayfs/ |
| H A D | ovl_entry.h | 35 struct vfsmount *mnt; 101 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt()
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gemfs.c | 18 struct vfsmount *gemfs; in i915_gemfs_init()
|