Lines Matching refs:mountpoint
876 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
879 struct mountpoint *mp; in lookup_mountpoint()
890 static struct mountpoint *get_mountpoint(struct dentry *dentry) in get_mountpoint()
892 struct mountpoint *mp, *new = NULL; in get_mountpoint()
899 mountpoint: in get_mountpoint()
908 new = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); in get_mountpoint()
918 goto mountpoint; in get_mountpoint()
944 static void __put_mountpoint(struct mountpoint *mp, struct list_head *list) in __put_mountpoint()
959 static void put_mountpoint(struct mountpoint *mp) in put_mountpoint()
994 static struct mountpoint *unhash_mnt(struct mount *mnt) in unhash_mnt()
996 struct mountpoint *mp; in unhash_mnt()
1019 struct mountpoint *mp, in mnt_set_mountpoint()
1047 struct mountpoint *new_mp) in mnt_set_mountpoint_beneath()
1050 struct mountpoint *old_top_mp = top_mnt->mnt_mp; in mnt_set_mountpoint_beneath()
1087 struct mountpoint *mp, bool beneath) in attach_mnt()
1102 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt) in mnt_change_mountpoint()
1104 struct mountpoint *old_mp = mnt->mnt_mp; in mnt_change_mountpoint()
1271 vfs_submount(const struct dentry *mountpoint, struct file_system_type *type, in vfs_submount() argument
1278 if (mountpoint->d_sb->s_user_ns != &init_user_ns) in vfs_submount()
1947 struct mountpoint *mp; in __detach_mounts()
2450 struct mountpoint *dest_mp, in attach_recursive_mnt()
2456 struct mountpoint *smp; in attach_recursive_mnt()
2589 static struct mountpoint *do_lock_mount(struct path *path, bool beneath) in do_lock_mount()
2593 struct mountpoint *mp = ERR_PTR(-ENOENT); in do_lock_mount()
2647 static inline struct mountpoint *lock_mount(struct path *path) in lock_mount()
2652 static void unlock_mount(struct mountpoint *where) in unlock_mount()
2664 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) in graft_tree()
2760 struct mountpoint *mp; in do_loopback()
2944 static void mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt) in mnt_warn_timestamp_expiry() argument
2955 mntpath = d_path(mountpoint, buf, PAGE_SIZE); in mnt_warn_timestamp_expiry()
3211 const struct mountpoint *mp) in can_move_mount_beneath()
3277 struct mountpoint *mp, *old_mp; in do_move_mount()
3386 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount()
3419 static int do_new_mount_fc(struct fs_context *fc, struct path *mountpoint, in do_new_mount_fc() argument
3423 struct mountpoint *mp; in do_new_mount_fc()
3442 mnt_warn_timestamp_expiry(mountpoint, mnt); in do_new_mount_fc()
3444 mp = lock_mount(mountpoint); in do_new_mount_fc()
3449 error = do_add_mount(real_mount(mnt), mp, mountpoint, mnt_flags); in do_new_mount_fc()
3518 struct mountpoint *mp; in finish_automount()
4343 struct mountpoint *old_mp, *root_mp; in SYSCALL_DEFINE2()