| /linux/include/linux/ |
| H A D | mount.h | 58 struct vfsmount { struct 65 static inline const struct mnt_idmap *mnt_idmap(const struct vfsmount *mnt) in mnt_idmap() argument 71 extern int mnt_want_write(struct vfsmount *mnt); 73 extern void mnt_drop_write(struct vfsmount *mnt); 75 extern void mntput(struct vfsmount *mnt); 76 extern struct vfsmount *mntget(struct vfsmount *mnt); 77 extern void mnt_make_shortterm(struct vfsmount *mnt); 78 extern struct vfsmount *mnt_clone_internal(const struct path *path); 79 extern bool __mnt_is_readonly(const struct vfsmount *mnt); 80 extern bool mnt_may_suid(struct vfsmount *mnt); [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 | 23 struct vfsmount; 27 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *, 29 extern struct file *alloc_file_pseudo_noaccount(struct inode *, struct vfsmount *,
|
| H A D | fsnotify_backend.h | 546 FSNOTIFY_ITER_FUNCS(vfsmount, VFSMOUNT) 675 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt); 680 extern void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt); 975 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete() 998 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 *);
|
| H A D | fdtable.h | 60 struct vfsmount;
|
| H A D | ipc_namespace.h | 56 struct vfsmount *mq_mnt;
|
| /linux/fs/ |
| H A D | mount.h | 10 extern struct vfsmount *knullfs; 56 struct vfsmount mnt; 131 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() 141 static inline int is_mounted(struct vfsmount *mnt) in is_mounted() 147 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *); 149 extern int __legitimize_mnt(struct vfsmount *, unsigned); 181 int (*show)(struct seq_file *, struct vfsmount *);
|
| H A D | namespace.c | 83 struct vfsmount *knullfs __ro_after_init; /* private nullfs instance */ 84 static struct vfsmount *knullfs_file __ro_after_init; /* its regular file */ 96 DEFINE_FREE(mntput, struct vfsmount *, if (!IS_ERR(_T)) mntput(_T)) 122 * vfsmount lock may be taken for read to prevent changes to the 123 * vfsmount hash, ie. during mountpoint lookups or walking back 126 * It should be taken for write in all cases where the vfsmount 127 * tree or hash is modified or when a vfsmount structure is modified. 199 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash() 289 * vfsmount lock must be held for write 397 bool __mnt_is_readonly(const struct vfsmount *mn [all...] |
| H A D | internal.h | 79 extern struct vfsmount *lookup_mnt(const struct path *); 80 extern int finish_automount(struct vfsmount *, const struct path *); 89 extern void dissolve_on_fput(struct vfsmount *); 340 int path_from_stashed(struct dentry **stashed, struct vfsmount *mnt, void *data, 370 bool failfs_mnt(const struct vfsmount *mnt);
|
| H A D | failfs.c | 20 bool failfs_mnt(const struct vfsmount *mnt) in failfs_mnt() 157 struct vfsmount *mnt; in failfs_init()
|
| H A D | file_table.c | 403 struct vfsmount *mnt, struct path *path) in alloc_path_pseudo() 415 struct file *alloc_file_pseudo(struct inode *inode, struct vfsmount *mnt, in alloc_file_pseudo() 443 struct vfsmount *mnt, const char *name, in alloc_file_pseudo_noaccount() 489 struct vfsmount *mnt = file->f_path.mnt; in __fput()
|
| H A D | fs_pin.c | 23 void pin_insert(struct fs_pin *pin, struct vfsmount *m) in pin_insert()
|
| /linux/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()
|
| /linux/Documentation/filesystems/ |
| H A D | sharedsubtree.rst | 33 Shared subtree provides four different flavors of mounts; struct vfsmount to be 247 the word 'vfsmount' and the noun 'mount' have been used 252 A **propagation event** is defined as event generated on a vfsmount 262 A **shared mount** is defined as a vfsmount that belongs to a 278 A **slave mount** is defined as a vfsmount that receives 293 A vfsmount can be both **shared** as well as **slave**. This state 294 indicates that the mount is a slave of some vfsmount, and 295 has its own peer group too. This vfsmount receives propagation 296 events from its master vfsmount, and also forwards propagation 299 Strictly speaking, the vfsmount is shared having its own [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/fs/afs/ |
| H A D | mntpt.c | 159 static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) in afs_mntpt_do_automount() 162 struct vfsmount *mnt; in afs_mntpt_do_automount() 184 struct vfsmount *afs_d_automount(struct path *path) in afs_d_automount() 186 struct vfsmount *newmnt; in afs_d_automount()
|
| /linux/fs/overlayfs/ |
| H A D | ovl_entry.h | 35 struct vfsmount *mnt; 103 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt()
|
| /linux/security/apparmor/include/ |
| H A D | mount.h | 54 struct aa_label *label, struct vfsmount *mnt, int flags);
|
| /linux/include/drm/ |
| H A D | drm_device.h | 183 struct vfsmount *huge_mnt;
|
| /linux/fs/ocfs2/ |
| H A D | file.h | 62 struct vfsmount *vfsmnt);
|
| /linux/fs/nfs/ |
| H A D | namespace.c | 145 struct vfsmount *nfs_d_automount(struct path *path) in nfs_d_automount() 149 struct vfsmount *mnt = ERR_PTR(-ENOMEM); in nfs_d_automount()
|
| /linux/arch/um/drivers/ |
| H A D | mconsole_kern.c | 40 static struct vfsmount *proc_mnt = NULL; 131 struct vfsmount *mnt = proc_mnt; in mconsole_proc() 699 struct vfsmount *mnt; in mount_proc()
|