Lines Matching refs:mountpoint

782 static struct mountpoint *lookup_mountpoint(struct dentry *dentry)  in lookup_mountpoint()
785 struct mountpoint *mp; in lookup_mountpoint()
796 static struct mountpoint *get_mountpoint(struct dentry *dentry) in get_mountpoint()
798 struct mountpoint *mp, *new = NULL; in get_mountpoint()
805 mountpoint: in get_mountpoint()
814 new = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); in get_mountpoint()
824 goto mountpoint; in get_mountpoint()
850 static void __put_mountpoint(struct mountpoint *mp, struct list_head *list) in __put_mountpoint()
865 static void put_mountpoint(struct mountpoint *mp) in put_mountpoint()
900 static struct mountpoint *unhash_mnt(struct mount *mnt) in unhash_mnt()
902 struct mountpoint *mp; in unhash_mnt()
925 struct mountpoint *mp, in mnt_set_mountpoint()
953 struct mountpoint *new_mp) in mnt_set_mountpoint_beneath()
956 struct mountpoint *old_top_mp = top_mnt->mnt_mp; in mnt_set_mountpoint_beneath()
993 struct mountpoint *mp, bool beneath) in attach_mnt()
1008 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt) in mnt_change_mountpoint()
1010 struct mountpoint *old_mp = mnt->mnt_mp; in mnt_change_mountpoint()
1152 vfs_submount(const struct dentry *mountpoint, struct file_system_type *type, in vfs_submount() argument
1159 if (mountpoint->d_sb->s_user_ns != &init_user_ns) in vfs_submount()
1815 struct mountpoint *mp; in __detach_mounts()
2301 struct mountpoint *dest_mp, in attach_recursive_mnt()
2307 struct mountpoint *smp; in attach_recursive_mnt()
2436 static struct mountpoint *do_lock_mount(struct path *path, bool beneath) in do_lock_mount()
2440 struct mountpoint *mp = ERR_PTR(-ENOENT); in do_lock_mount()
2494 static inline struct mountpoint *lock_mount(struct path *path) in lock_mount()
2499 static void unlock_mount(struct mountpoint *where) in unlock_mount()
2511 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) in graft_tree()
2607 struct mountpoint *mp; in do_loopback()
2792 static void mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt) in mnt_warn_timestamp_expiry() argument
2800 char *mntpath = buf ? d_path(mountpoint, buf, PAGE_SIZE) : ERR_PTR(-ENOMEM); in mnt_warn_timestamp_expiry()
3045 const struct mountpoint *mp) in can_move_mount_beneath()
3111 struct mountpoint *mp, *old_mp; in do_move_mount()
3220 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount()
3253 static int do_new_mount_fc(struct fs_context *fc, struct path *mountpoint, in do_new_mount_fc() argument
3257 struct mountpoint *mp; in do_new_mount_fc()
3276 mnt_warn_timestamp_expiry(mountpoint, mnt); in do_new_mount_fc()
3278 mp = lock_mount(mountpoint); in do_new_mount_fc()
3283 error = do_add_mount(real_mount(mnt), mp, mountpoint, mnt_flags); in do_new_mount_fc()
3346 struct mountpoint *mp; in finish_automount()
4171 struct mountpoint *old_mp, *root_mp; in SYSCALL_DEFINE2()