Lines Matching refs:mountpoint
702 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
705 struct mountpoint *mp; in lookup_mountpoint()
716 static struct mountpoint *get_mountpoint(struct dentry *dentry) in get_mountpoint()
718 struct mountpoint *mp, *new = NULL; in get_mountpoint()
725 mountpoint: in get_mountpoint()
734 new = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); in get_mountpoint()
744 goto mountpoint; in get_mountpoint()
770 static void __put_mountpoint(struct mountpoint *mp, struct list_head *list) in __put_mountpoint()
785 static void put_mountpoint(struct mountpoint *mp) in put_mountpoint()
820 static struct mountpoint *unhash_mnt(struct mount *mnt) in unhash_mnt()
822 struct mountpoint *mp; in unhash_mnt()
845 struct mountpoint *mp, in mnt_set_mountpoint()
868 struct mountpoint *mp) in attach_mnt()
874 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt) in mnt_change_mountpoint()
876 struct mountpoint *old_mp = mnt->mnt_mp; in mnt_change_mountpoint()
1018 vfs_submount(const struct dentry *mountpoint, struct file_system_type *type, in vfs_submount() argument
1025 if (mountpoint->d_sb->s_user_ns != &init_user_ns) in vfs_submount()
1664 struct mountpoint *mp; in __detach_mounts()
2100 struct mountpoint *dest_mp, in attach_recursive_mnt()
2106 struct mountpoint *smp; in attach_recursive_mnt()
2187 static struct mountpoint *lock_mount(struct path *path) in lock_mount()
2200 struct mountpoint *mp = get_mountpoint(dentry); in lock_mount()
2216 static void unlock_mount(struct mountpoint *where) in unlock_mount()
2228 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) in graft_tree()
2337 struct mountpoint *mp; in do_loopback()
2527 static void mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt) in mnt_warn_timestamp_expiry() argument
2534 char *mntpath = buf ? d_path(mountpoint, buf, PAGE_SIZE) : ERR_PTR(-ENOMEM); in mnt_warn_timestamp_expiry()
2663 struct mountpoint *mp, *old_mp; in do_move_mount()
2759 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount()
2793 static int do_new_mount_fc(struct fs_context *fc, struct path *mountpoint, in do_new_mount_fc() argument
2797 struct mountpoint *mp; in do_new_mount_fc()
2816 mnt_warn_timestamp_expiry(mountpoint, mnt); in do_new_mount_fc()
2818 mp = lock_mount(mountpoint); in do_new_mount_fc()
2823 error = do_add_mount(real_mount(mnt), mp, mountpoint, mnt_flags); in do_new_mount_fc()
2886 struct mountpoint *mp; in finish_automount()
3690 struct mountpoint *old_mp, *root_mp; in SYSCALL_DEFINE2()