Home | History | Annotate | Download | only in linux

Lines Matching refs:vfsmount

21 struct vfsmount;
33 #define MNT_SHARED 0x1000 /* if the vfsmount is a shared mount */
34 #define MNT_UNBINDABLE 0x2000 /* if the vfsmount is a unbindable mount */
37 struct vfsmount {
39 struct vfsmount *mnt_parent; /* fs we are mounted on */
54 struct vfsmount *mnt_master; /* slave is on master->mnt_slave_list */
59 static inline struct vfsmount *mntget(struct vfsmount *mnt)
66 extern void mntput_no_expire(struct vfsmount *mnt);
67 extern void mnt_pin(struct vfsmount *mnt);
68 extern void mnt_unpin(struct vfsmount *mnt);
70 static inline void mntput(struct vfsmount *mnt)
78 extern void free_vfsmnt(struct vfsmount *mnt);
79 extern struct vfsmount *alloc_vfsmnt(const char *name);
80 extern struct vfsmount *do_kern_mount(const char *fstype, int flags,
84 extern struct vfsmount *vfs_kern_mount(struct file_system_type *type,
90 extern int do_add_mount(struct vfsmount *newmnt, struct nameidata *nd,
94 extern void shrink_submounts(struct vfsmount *mountpoint, struct list_head *mounts);