Lines Matching refs:mountpoint
759 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
762 struct mountpoint *mp; in lookup_mountpoint()
773 static struct mountpoint *get_mountpoint(struct dentry *dentry) in get_mountpoint()
775 struct mountpoint *mp, *new = NULL; in get_mountpoint()
782 mountpoint: in get_mountpoint()
791 new = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); in get_mountpoint()
801 goto mountpoint; in get_mountpoint()
827 static void __put_mountpoint(struct mountpoint *mp, struct list_head *list) in __put_mountpoint()
842 static void put_mountpoint(struct mountpoint *mp) in put_mountpoint()
877 static struct mountpoint *unhash_mnt(struct mount *mnt) in unhash_mnt()
879 struct mountpoint *mp; in unhash_mnt()
902 struct mountpoint *mp, in mnt_set_mountpoint()
925 struct mountpoint *mp) in attach_mnt()
931 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt) in mnt_change_mountpoint()
933 struct mountpoint *old_mp = mnt->mnt_mp; in mnt_change_mountpoint()
1075 vfs_submount(const struct dentry *mountpoint, struct file_system_type *type, in vfs_submount() argument
1082 if (mountpoint->d_sb->s_user_ns != &init_user_ns) in vfs_submount()
1738 struct mountpoint *mp; in __detach_mounts()
2202 struct mountpoint *dest_mp, in attach_recursive_mnt()
2208 struct mountpoint *smp; in attach_recursive_mnt()
2289 static struct mountpoint *lock_mount(struct path *path) in lock_mount()
2302 struct mountpoint *mp = get_mountpoint(dentry); in lock_mount()
2318 static void unlock_mount(struct mountpoint *where) in unlock_mount()
2330 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) in graft_tree()
2426 struct mountpoint *mp; in do_loopback()
2611 static void mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt) in mnt_warn_timestamp_expiry() argument
2619 char *mntpath = buf ? d_path(mountpoint, buf, PAGE_SIZE) : ERR_PTR(-ENOMEM); in mnt_warn_timestamp_expiry()
2830 struct mountpoint *mp, *old_mp; in do_move_mount()
2926 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount()
2960 static int do_new_mount_fc(struct fs_context *fc, struct path *mountpoint, in do_new_mount_fc() argument
2964 struct mountpoint *mp; in do_new_mount_fc()
2983 mnt_warn_timestamp_expiry(mountpoint, mnt); in do_new_mount_fc()
2985 mp = lock_mount(mountpoint); in do_new_mount_fc()
2990 error = do_add_mount(real_mount(mnt), mp, mountpoint, mnt_flags); in do_new_mount_fc()
3053 struct mountpoint *mp; in finish_automount()
3876 struct mountpoint *old_mp, *root_mp; in SYSCALL_DEFINE2()