Searched refs:get_user_ns (Results 1 – 25 of 27) sorted by relevance
12
151 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function184 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function
273 fc->user_ns = get_user_ns(fc->cred->user_ns); in alloc_fs_context()276 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()280 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()359 get_user_ns(fc->user_ns); in vfs_dup_fs_context()
1032 mnt->mnt.mnt_userns = get_user_ns(fs_userns); in vfs_create_mount()1125 mnt->mnt.mnt_userns = get_user_ns(mnt->mnt.mnt_userns); in clone_mnt()3446 new_ns->user_ns = get_user_ns(user_ns); in alloc_mnt_ns()4096 mnt_userns = get_user_ns(kattr->mnt_userns); in do_idmap_mount()4248 kattr->mnt_userns = get_user_ns(mnt_userns); in build_mount_idmapped()
210 s->s_user_ns = get_user_ns(user_ns); in alloc_super()
1427 bprm->mm->user_ns = get_user_ns(user_ns); in would_dump()
76 fc->user_ns = get_user_ns(netns->user_ns); in sysfs_init_fs_context()
86 new_ns->user_ns = get_user_ns(user_ns); in copy_cgroup_ns()
2251 fc->user_ns = get_user_ns(ctx->ns->user_ns); in cgroup_init_fs_context()6067 get_user_ns(init_cgroup_ns.user_ns); in cgroup_init()
71 ns->user_ns = get_user_ns(user_ns); in clone_uts_ns()
1325 user_ns = get_user_ns(__task_cred(task)->user_ns); in userns_get()1362 set_cred_user_ns(cred, get_user_ns(user_ns)); in userns_install()1385 return &get_user_ns(owner)->ns; in ns_get_owner()
274 get_user_ns(new->user_ns); in prepare_creds()735 get_user_ns(new->user_ns); in prepare_kernel_cred()
109 ns->user_ns = get_user_ns(user_ns); in create_pid_namespace()
189 get_user_ns(new->ns); in alloc_ucounts()
402 user_ns = get_user_ns(__task_cred(tsk)->user_ns); in validate_nsset()
55 ns->user_ns = get_user_ns(user_ns); in create_ipc_ns()
458 fc->user_ns = get_user_ns(ctx->ipc_ns->user_ns); in mqueue_init_fs_context()483 fc->user_ns = get_user_ns(ctx->ipc_ns->user_ns); in mq_create_mount()1424 info->notify_user_ns = get_user_ns(current_user_ns()); in do_mq_notify()
254 fc->user_ns = get_user_ns(ctx->pid_ns->user_ns); in proc_init_fs_context()
3048 ns = get_user_ns(task_cred_xxx(task, user_ns)); in proc_id_map_open()3126 ns = get_user_ns(task_cred_xxx(task, user_ns)); in proc_setgroups_open()
107 ns->user_ns = get_user_ns(user_ns); in clone_time_ns()
938 new->user_ns = get_user_ns(old->user_ns); in key_change_session_keyring()
466 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
472 get_user_ns(user_ns); in copy_net_ns()
1396 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in nfsd_init_fs_context()
1439 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in rpc_init_fs_context()
847 fc->user_ns = get_user_ns(user_ns); in fuse_conn_init()