Lines Matching refs:mountpoint

762 static struct mountpoint *lookup_mountpoint(struct dentry *dentry)  in lookup_mountpoint()
765 struct mountpoint *mp; in lookup_mountpoint()
776 static struct mountpoint *get_mountpoint(struct dentry *dentry) in get_mountpoint()
778 struct mountpoint *mp, *new = NULL; in get_mountpoint()
785 mountpoint: in get_mountpoint()
794 new = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); in get_mountpoint()
804 goto mountpoint; in get_mountpoint()
830 static void __put_mountpoint(struct mountpoint *mp, struct list_head *list) in __put_mountpoint()
845 static void put_mountpoint(struct mountpoint *mp) in put_mountpoint()
880 static struct mountpoint *unhash_mnt(struct mount *mnt) in unhash_mnt()
882 struct mountpoint *mp; in unhash_mnt()
905 struct mountpoint *mp, in mnt_set_mountpoint()
928 struct mountpoint *mp) in attach_mnt()
934 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt) in mnt_change_mountpoint()
936 struct mountpoint *old_mp = mnt->mnt_mp; in mnt_change_mountpoint()
1083 vfs_submount(const struct dentry *mountpoint, struct file_system_type *type, in vfs_submount() argument
1090 if (mountpoint->d_sb->s_user_ns != &init_user_ns) in vfs_submount()
1736 struct mountpoint *mp; in __detach_mounts()
2200 struct mountpoint *dest_mp, in attach_recursive_mnt()
2206 struct mountpoint *smp; in attach_recursive_mnt()
2287 static struct mountpoint *lock_mount(struct path *path) in lock_mount()
2300 struct mountpoint *mp = get_mountpoint(dentry); in lock_mount()
2316 static void unlock_mount(struct mountpoint *where) in unlock_mount()
2328 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) in graft_tree()
2424 struct mountpoint *mp; in do_loopback()
2609 static void mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt) in mnt_warn_timestamp_expiry() argument
2617 char *mntpath = buf ? d_path(mountpoint, buf, PAGE_SIZE) : ERR_PTR(-ENOMEM); in mnt_warn_timestamp_expiry()
2828 struct mountpoint *mp, *old_mp; in do_move_mount()
2924 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount()
2958 static int do_new_mount_fc(struct fs_context *fc, struct path *mountpoint, in do_new_mount_fc() argument
2962 struct mountpoint *mp; in do_new_mount_fc()
2981 mnt_warn_timestamp_expiry(mountpoint, mnt); in do_new_mount_fc()
2983 mp = lock_mount(mountpoint); in do_new_mount_fc()
2988 error = do_add_mount(real_mount(mnt), mp, mountpoint, mnt_flags); in do_new_mount_fc()
3051 struct mountpoint *mp; in finish_automount()
3873 struct mountpoint *old_mp, *root_mp; in SYSCALL_DEFINE2()