Lines Matching refs:mountpoint
691 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
694 struct mountpoint *mp; in lookup_mountpoint()
705 static struct mountpoint *get_mountpoint(struct dentry *dentry) in get_mountpoint()
707 struct mountpoint *mp, *new = NULL; in get_mountpoint()
714 mountpoint: in get_mountpoint()
723 new = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); in get_mountpoint()
733 goto mountpoint; in get_mountpoint()
755 static void put_mountpoint(struct mountpoint *mp) in put_mountpoint()
833 struct mountpoint *mp, in mnt_set_mountpoint()
856 struct mountpoint *mp) in attach_mnt()
862 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt) in mnt_change_mountpoint()
864 struct mountpoint *old_mp = mnt->mnt_mp; in mnt_change_mountpoint()
980 vfs_submount(const struct dentry *mountpoint, struct file_system_type *type, in vfs_submount() argument
987 if (mountpoint->d_sb->s_user_ns != &init_user_ns) in vfs_submount()
1581 struct mountpoint *mp; in __detach_mounts()
1992 struct mountpoint *dest_mp, in attach_recursive_mnt()
1997 struct mountpoint *smp; in attach_recursive_mnt()
2070 static struct mountpoint *lock_mount(struct path *path) in lock_mount()
2083 struct mountpoint *mp = get_mountpoint(dentry); in lock_mount()
2099 static void unlock_mount(struct mountpoint *where) in unlock_mount()
2111 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) in graft_tree()
2183 struct mountpoint *mp; in do_loopback()
2340 struct mountpoint *mp; in do_move_mount()
2433 struct mountpoint *mp; in do_add_mount()
3113 struct mountpoint *old_mp, *root_mp; in SYSCALL_DEFINE2()