/Linux-v5.4/include/linux/ |
D | mount.h | 21 struct vfsmount; 68 struct vfsmount { struct 77 extern int mnt_want_write(struct vfsmount *mnt); argument 79 extern int mnt_clone_write(struct vfsmount *mnt); 80 extern void mnt_drop_write(struct vfsmount *mnt); 82 extern void mntput(struct vfsmount *mnt); 83 extern struct vfsmount *mntget(struct vfsmount *mnt); 84 extern struct vfsmount *mnt_clone_internal(const struct path *path); 85 extern bool __mnt_is_readonly(struct vfsmount *mnt); 86 extern bool mnt_may_suid(struct vfsmount *mnt); [all …]
|
D | path.h | 6 struct vfsmount; 9 struct vfsmount *mnt;
|
D | fs_pin.h | 12 struct vfsmount; 23 void pin_insert(struct fs_pin *, struct vfsmount *);
|
D | file.h | 19 struct vfsmount; 23 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
|
D | exportfs.h | 12 struct vfsmount; 217 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
|
D | fsnotify_backend.h | 274 FSNOTIFY_ITER_FUNCS(vfsmount, VFSMOUNT) 358 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt); 525 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete()
|
D | devpts_fs.h | 19 struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
|
/Linux-v5.4/fs/ |
D | mount.h | 38 struct vfsmount mnt; 79 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() 89 static inline int is_mounted(struct vfsmount *mnt) in is_mounted() 95 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *); 97 extern int __legitimize_mnt(struct vfsmount *, unsigned); 98 extern bool legitimize_mnt(struct vfsmount *, unsigned); 135 int (*show)(struct seq_file *, struct vfsmount *);
|
D | internal.h | 65 extern int vfs_path_lookup(struct dentry *, struct vfsmount *, 83 extern struct vfsmount *lookup_mnt(const struct path *); 84 extern int finish_automount(struct vfsmount *, struct path *); 93 extern void dissolve_on_fput(struct vfsmount *); 125 extern struct file *do_file_open_root(struct dentry *, struct vfsmount *,
|
D | namespace.c | 90 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash() 246 bool __mnt_is_readonly(struct vfsmount *mnt) in __mnt_is_readonly() 286 static int mnt_is_readonly(struct vfsmount *mnt) in mnt_is_readonly() 311 int __mnt_want_write(struct vfsmount *m) in __mnt_want_write() 350 int mnt_want_write(struct vfsmount *m) in mnt_want_write() 374 int mnt_clone_write(struct vfsmount *mnt) in mnt_clone_write() 428 void __mnt_drop_write(struct vfsmount *mnt) in __mnt_drop_write() 443 void mnt_drop_write(struct vfsmount *mnt) in mnt_drop_write() 563 int __legitimize_mnt(struct vfsmount *bastard, unsigned seq) in __legitimize_mnt() 591 bool legitimize_mnt(struct vfsmount *bastard, unsigned seq) in legitimize_mnt() [all …]
|
D | proc_namespace.c | 64 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_mnt_opts() 97 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt() 131 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
|
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-v5.4/fs/nfs/ |
D | namespace.c | 140 struct vfsmount *nfs_d_automount(struct path *path) in nfs_d_automount() 142 struct vfsmount *mnt; in nfs_d_automount() 216 static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, in nfs_do_clone_mount() 231 struct vfsmount *nfs_do_submount(struct dentry *dentry, struct nfs_fh *fh, in nfs_do_submount() 241 struct vfsmount *mnt; in nfs_do_submount() 259 struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry, in nfs_submount()
|
D | nfs4namespace.c | 239 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, in try_location() 245 struct vfsmount *mnt = ERR_PTR(-ENOENT); in try_location() 296 static struct vfsmount *nfs_follow_referral(struct dentry *dentry, in nfs_follow_referral() 299 struct vfsmount *mnt = ERR_PTR(-ENOENT); in nfs_follow_referral() 351 static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry) in nfs_do_refmount() 353 struct vfsmount *mnt = ERR_PTR(-ENOMEM); in nfs_do_refmount() 389 struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry, in nfs4_submount() 397 struct vfsmount *mnt; in nfs4_submount()
|
D | nfs4super.c | 130 static struct vfsmount *nfs_do_root_mount(struct file_system_type *fs_type, in nfs_do_root_mount() 133 struct vfsmount *root_mnt; in nfs_do_root_mount() 217 static struct dentry *nfs_follow_remote_path(struct vfsmount *root_mnt, in nfs_follow_remote_path() 243 struct vfsmount *root_mnt; in nfs4_try_mount() 302 struct vfsmount *root_mnt; in nfs4_referral_mount()
|
/Linux-v5.4/fs/cifs/ |
D | cifs_dfs_ref.c | 249 static struct vfsmount *cifs_dfs_do_refmount(struct dentry *mntpt, in cifs_dfs_do_refmount() 253 struct vfsmount *mnt; in cifs_dfs_do_refmount() 272 return (struct vfsmount *)mountdata; in cifs_dfs_do_refmount() 294 static struct vfsmount *cifs_dfs_do_automount(struct dentry *mntpt) in cifs_dfs_do_automount() 304 struct vfsmount *mnt; in cifs_dfs_do_automount() 401 struct vfsmount *cifs_dfs_d_automount(struct path *path) in cifs_dfs_d_automount() 403 struct vfsmount *newmnt; in cifs_dfs_d_automount()
|
/Linux-v5.4/fs/autofs/ |
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()
|
D | autofs_i.h | 156 int autofs_expire_run(struct super_block *, struct vfsmount *, 159 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, 161 int autofs_expire_multi(struct super_block *, struct vfsmount *,
|
/Linux-v5.4/fs/afs/ |
D | mntpt.c | 156 static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) in afs_mntpt_do_automount() 159 struct vfsmount *mnt; in afs_mntpt_do_automount() 181 struct vfsmount *afs_d_automount(struct path *path) in afs_d_automount() 183 struct vfsmount *newmnt; in afs_d_automount()
|
/Linux-v5.4/Documentation/filesystems/ |
D | sharedsubtree.txt | 30 Shared subtree provides four different flavors of mounts; struct vfsmount to be 232 Note: the word 'vfsmount' and the noun 'mount' have been used 244 A 'propagation event' is defined as event generated on a vfsmount 252 A 'shared mount' is defined as a vfsmount that belongs to a 267 A 'slave mount' is defined as a vfsmount that receives 282 A vfsmount can be both shared as well as slave. This state 283 indicates that the mount is a slave of some vfsmount, and 284 has its own peer group too. This vfsmount receives propagation 285 events from its master vfsmount, and also forwards propagation 288 Strictly speaking, the vfsmount is shared having its own [all …]
|
D | automount-support.txt | 51 vfsmount thereon for potential expiry on the next call. 53 If a vfsmount was already flagged for expiry, and if its usage count is 1 54 (it's only referenced by its parent vfsmount), then it will be deleted 65 mount is made on an expirable mount, the new vfsmount will not be on the
|
/Linux-v5.4/fs/overlayfs/ |
D | ovl_entry.h | 28 struct vfsmount *mnt; 45 struct vfsmount *upper_mnt;
|
/Linux-v5.4/fs/exportfs/ |
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() 420 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, in exportfs_decode_fh()
|
/Linux-v5.4/drivers/gpu/drm/i915/gem/ |
D | i915_gemfs.c | 17 struct vfsmount *gemfs; in i915_gemfs_init()
|
/Linux-v5.4/security/apparmor/include/ |
D | mount.h | 45 int aa_umount(struct aa_label *label, struct vfsmount *mnt, int flags);
|