Lines Matching refs:mountpoint
82 * vfsmount hash, ie. during mountpoint lookups or walking back
369 * on a mountpoint that we already know has a write reference
668 * __is_local_mountpoint - Test to see if dentry is a mountpoint in the
673 * dealing with a mountpoint of some kind, walk through all of the
675 * is a mountpoint.
703 static struct mountpoint *lookup_mountpoint(struct dentry *dentry)
706 struct mountpoint *mp;
717 static struct mountpoint *get_mountpoint(struct dentry *dentry)
719 struct mountpoint *mp, *new = NULL;
726 mountpoint:
735 new = kmalloc(sizeof(struct mountpoint), GFP_KERNEL);
745 goto mountpoint;
747 /* The dentry is not available as a mountpoint? */
752 /* Add the new mountpoint to the hash table */
771 static void __put_mountpoint(struct mountpoint *mp, struct list_head *list)
786 static void put_mountpoint(struct mountpoint *mp)
821 static struct mountpoint *unhash_mnt(struct mount *mnt)
823 struct mountpoint *mp;
846 struct mountpoint *mp,
869 struct mountpoint *mp)
875 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt)
877 struct mountpoint *old_mp = mnt->mnt_mp;
1019 vfs_submount(const struct dentry *mountpoint, struct file_system_type *type,
1026 if (mountpoint->d_sb->s_user_ns != &init_user_ns)
1235 * checks if the passed in path is a mountpoint rather than the dentry
1570 * Allow userspace to request a mountpoint be expired rather than
1660 * to an existing mountpoint, and wind up leaking the mount.
1668 struct mountpoint *mp;
2077 * store the parent mount and mountpoint dentry.
2138 struct mountpoint *dest_mp,
2144 struct mountpoint *smp;
2149 /* Preallocate a mountpoint in case the new mounts need
2225 static struct mountpoint *lock_mount(struct path *path)
2238 struct mountpoint *mp = get_mountpoint(dentry);
2254 static void unlock_mount(struct mountpoint *where)
2266 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp)
2296 * recursively change the type of the mountpoint.
2362 struct mountpoint *mp;
2552 static void mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt)
2559 char *mntpath = buf ? d_path(mountpoint, buf, PAGE_SIZE) : ERR_PTR(-ENOMEM);
2575 * Handle reconfiguration of the mountpoint only without alteration of the
2693 struct mountpoint *mp, *old_mp;
2709 /* The mountpoint must be in our namespace. */
2789 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp,
2800 /* ... and for those we'd better have mountpoint still alive */
2823 static int do_new_mount_fc(struct fs_context *fc, struct path *mountpoint,
2827 struct mountpoint *mp;
2846 mnt_warn_timestamp_expiry(mountpoint, mnt);
2848 mp = lock_mount(mountpoint);
2853 error = do_add_mount(real_mount(mnt), mp, mountpoint, mnt_flags);
2922 struct mountpoint *mp;
2945 * that overmounts our mountpoint to be means "quitely drop what we've
3046 * search the list of submounts for a given mountpoint, and move any
3091 * submounts of a specific parent mountpoint
3100 /* extract submounts of 'mountpoint' from the expiration list */
3195 /* Separate the per-mountpoint flags */
3707 * file system may be mounted on put_old. After all, new_root is a mountpoint.
3717 * /nfs/my_root where /nfs is the mount point. It must be a mountpoint,
3726 struct mountpoint *old_mp, *root_mp;
3774 goto out4; /* not a mountpoint */
3778 goto out4; /* not a mountpoint */
3789 root_mp = unhash_mnt(root_mnt); /* we'll need its mountpoint */