Home
last modified time | relevance | path

Searched refs:kreq (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/
H A Dnstree.c425 struct ns_id_req *kreq) in copy_ns_id_req() argument
439 memset(kreq, 0, sizeof(*kreq)); in copy_ns_id_req()
440 ret = copy_struct_from_user(kreq, sizeof(*kreq), req, usize); in copy_ns_id_req()
443 if (kreq->spare != 0) in copy_ns_id_req()
445 if (kreq->ns_type & ~NS_ALL) in copy_ns_id_req()
450 static inline int prepare_klistns(struct klistns *kls, struct ns_id_req *kreq, in prepare_klistns() argument
453 kls->last_ns_id = kreq->ns_id; in prepare_klistns()
454 kls->user_ns_id = kreq->user_ns_id; in prepare_klistns()
456 kls->ns_type = kreq->ns_type; in prepare_klistns()
762 struct ns_id_req kreq; in SYSCALL_DEFINE4() local
[all …]
/linux/fs/
H A Dnamespace.c6035 static int prepare_kstatmount(struct kstatmount *ks, struct mnt_id_req *kreq, in do_listmount()
6043 ks->mask = kreq->param; in do_listmount()
6062 struct mnt_id_req *kreq, unsigned int flags) in do_listmount()
6076 memset(kreq, 0, sizeof(*kreq)); in do_listmount()
6077 ret = copy_struct_from_user(kreq, sizeof(*kreq), req, usize); in do_listmount()
6082 if (kreq->mnt_id || kreq->mnt_ns_id) in do_listmount()
6085 if (kreq in do_listmount()
5872 prepare_kstatmount(struct kstatmount * ks,struct mnt_id_req * kreq,struct statmount __user * buf,size_t bufsize,size_t seq_size) prepare_kstatmount() argument
5899 copy_mnt_id_req(const struct mnt_id_req __user * req,struct mnt_id_req * kreq,unsigned int flags) copy_mnt_id_req() argument
5936 grab_requested_mnt_ns(const struct mnt_id_req * kreq) grab_requested_mnt_ns() argument
5975 struct mnt_id_req kreq; SYSCALL_DEFINE4() local
6103 prepare_klistmount(struct klistmount * kls,struct mnt_id_req * kreq,size_t nr_mnt_ids) prepare_klistmount() argument
6135 struct mnt_id_req kreq; SYSCALL_DEFINE4() local
[all...]