/linux/include/linux/ |
A D | mount.h | 21 struct vfsmount; 71 struct vfsmount { struct 87 extern int mnt_want_write(struct vfsmount *mnt); 89 extern void mnt_drop_write(struct vfsmount *mnt); 91 extern void mntput(struct vfsmount *mnt); 92 extern struct vfsmount *mntget(struct vfsmount *mnt); 94 extern bool __mnt_is_readonly(struct vfsmount *mnt); 95 extern bool mnt_may_suid(struct vfsmount *mnt); 99 extern int __mnt_want_write(struct vfsmount *); 100 extern void __mnt_drop_write(struct vfsmount *); [all …]
|
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() 66 struct vfsmount *nsui_vfsmount;
|
A D | exportfs.h | 12 struct vfsmount; 233 extern struct dentry *exportfs_decode_fh_raw(struct vfsmount *mnt, 238 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
|
A D | path.h | 6 struct vfsmount; 9 struct vfsmount *mnt;
|
A D | fs_pin.h | 12 struct vfsmount; 23 void pin_insert(struct fs_pin *, struct vfsmount *);
|
A D | file.h | 21 struct vfsmount; 25 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
|
A D | fsnotify_backend.h | 396 FSNOTIFY_ITER_FUNCS(vfsmount, VFSMOUNT) 482 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt); 685 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete()
|
A D | devpts_fs.h | 19 struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
|
A D | fs.h | 62 struct vfsmount; 2591 extern struct vfsmount *kern_mount(struct file_system_type *); 2592 extern void kern_unmount(struct vfsmount *mnt); 2593 extern int may_umount_tree(struct vfsmount *); 2594 extern int may_umount(struct vfsmount *); 2597 extern struct vfsmount *collect_mounts(const struct path *); 2598 extern void drop_collected_mounts(struct vfsmount *); 2600 struct vfsmount *); 2606 extern bool our_mnt(struct vfsmount *mnt); 2738 static inline struct file *file_open_root_mnt(struct vfsmount *mnt, in file_open_root_mnt() [all …]
|
/linux/fs/ |
A D | mount.h | 43 struct vfsmount mnt; 84 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() 94 static inline int is_mounted(struct vfsmount *mnt) in is_mounted() 100 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *); 102 extern int __legitimize_mnt(struct vfsmount *, unsigned); 103 extern bool legitimize_mnt(struct vfsmount *, unsigned); 130 int (*show)(struct seq_file *, struct vfsmount *);
|
A D | internal.h | 61 extern int vfs_path_lookup(struct dentry *, struct vfsmount *, 76 extern struct vfsmount *lookup_mnt(const struct path *); 77 extern int finish_automount(struct vfsmount *, struct path *); 86 extern void dissolve_on_fput(struct vfsmount *);
|
A D | namespace.c | 654 struct vfsmount *m; in lookup_mnt() 1008 struct vfsmount *mnt; in vfs_kern_mount() 1033 struct vfsmount * 1226 void mntput(struct vfsmount *mnt) in mntput() 1238 struct vfsmount *mntget(struct vfsmount *mnt) in mntget() 1995 struct vfsmount *root) in iterate_mounts() 2239 struct vfsmount *mnt; in lock_mount() 2909 struct vfsmount *mnt; in do_new_mount_fc() 3929 struct vfsmount *m = &mnt->mnt; in can_idmap_mount() 4276 struct vfsmount *mnt; in init_mount_tree() [all …]
|
A D | proc_namespace.c | 64 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_mnt_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() 197 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) in show_vfsstat() 243 int (*show)(struct seq_file *, struct vfsmount *)) in mounts_open_common() argument
|
A D | fhandle.c | 115 static struct vfsmount *get_vfsmount_from_fd(int fd) in get_vfsmount_from_fd() 117 struct vfsmount *mnt; in get_vfsmount_from_fd()
|
/linux/fs/cifs/ |
A D | cifs_dfs_ref.c | 272 static struct vfsmount *cifs_dfs_do_mount(struct dentry *mntpt, in cifs_dfs_do_mount() 276 struct vfsmount *mnt; in cifs_dfs_do_mount() 295 return (struct vfsmount *)mountdata; in cifs_dfs_do_mount() 307 static struct vfsmount *cifs_dfs_do_automount(struct dentry *mntpt) in cifs_dfs_do_automount() 312 struct vfsmount *mnt; in cifs_dfs_do_automount() 353 struct vfsmount *cifs_dfs_d_automount(struct path *path) in cifs_dfs_d_automount() 355 struct vfsmount *newmnt; in cifs_dfs_d_automount()
|
/linux/fs/autofs/ |
A D | expire.c | 29 static int autofs_mount_busy(struct vfsmount *mnt, in autofs_mount_busy() 150 static int autofs_direct_busy(struct vfsmount *mnt, in autofs_direct_busy() 182 static int autofs_tree_busy(struct vfsmount *mnt, in autofs_tree_busy() 241 static struct dentry *autofs_check_leaves(struct vfsmount *mnt, in autofs_check_leaves() 275 struct vfsmount *mnt, in autofs_expire_direct() 322 struct vfsmount *mnt, in should_expire() 421 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()
|
A D | autofs_i.h | 157 int autofs_expire_run(struct super_block *, struct vfsmount *, 160 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, 162 int autofs_expire_multi(struct super_block *, struct vfsmount *,
|
/linux/Documentation/filesystems/ |
A D | sharedsubtree.rst | 281 A 'slave mount' is defined as a vfsmount that receives 302 Strictly speaking, the vfsmount is shared having its own 311 or by moving the slave vfsmount under a shared vfsmount. 315 A 'private mount' is defined as vfsmount that does not 700 one vfsmount:: 779 one vfsmount:: 847 4 new fields are introduced to struct vfsmount: 867 points to the master vfsmount from which this vfsmount 872 the vfsmount. MNT_SHARE indicates that the vfsmount is a shared 873 vfsmount. MNT_UNCLONABLE indicates that the vfsmount cannot be [all …]
|
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/fs/afs/ |
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/kernel/ |
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/fs/exportfs/ |
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() 212 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) in reconnect_path() 421 exportfs_decode_fh_raw(struct vfsmount *mnt, struct fid *fid, int fh_len, in exportfs_decode_fh_raw() 568 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, in exportfs_decode_fh()
|
/linux/fs/overlayfs/ |
A D | ovl_entry.h | 35 struct vfsmount *mnt; 88 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gemfs.c | 16 struct vfsmount *gemfs; in i915_gemfs_init()
|
/linux/security/apparmor/include/ |
A D | mount.h | 45 int aa_umount(struct aa_label *label, struct vfsmount *mnt, int flags);
|