Searched refs:kreq (Results 1 – 5 of 5) sorted by relevance
| /linux/kernel/ |
| H A D | nstree.c | 425 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() 768 struct ns_id_req kreq; in SYSCALL_DEFINE4() local [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_handle.c | 854 struct xfs_getparents *kreq = &gpx.gph.gph_request; in xfs_ioc_getparents() local 862 if (copy_from_user(kreq, ureq, sizeof(*kreq))) in xfs_ioc_getparents() 869 if (copy_to_user(ureq, kreq, sizeof(*kreq))) in xfs_ioc_getparents() 884 struct xfs_getparents_by_handle *kreq = &gpx.gph; in xfs_ioc_getparents_by_handle() local 885 struct xfs_handle *handle = &kreq->gph_handle; in xfs_ioc_getparents_by_handle() 892 if (copy_from_user(kreq, ureq, sizeof(*kreq))) in xfs_ioc_getparents_by_handle() 916 if (copy_to_user(ureq, kreq, sizeof(*kreq))) in xfs_ioc_getparents_by_handle()
|
| /linux/fs/ |
| H A D | namespace.c | 5824 static int prepare_kstatmount(struct kstatmount *ks, struct mnt_id_req *kreq, in prepare_kstatmount() argument 5832 ks->mask = kreq->param; in prepare_kstatmount() 5851 struct mnt_id_req *kreq, unsigned int flags) in copy_mnt_id_req() argument 5865 memset(kreq, 0, sizeof(*kreq)); in copy_mnt_id_req() 5866 ret = copy_struct_from_user(kreq, sizeof(*kreq), req, usize); in copy_mnt_id_req() 5871 if (kreq->mnt_id || kreq->mnt_ns_id) in copy_mnt_id_req() 5874 if (kreq->mnt_ns_fd != 0 && kreq->mnt_ns_id) in copy_mnt_id_req() 5877 if (kreq->mnt_id <= MNT_UNIQUE_ID_OFFSET) in copy_mnt_id_req() 5888 static struct mnt_namespace *grab_requested_mnt_ns(const struct mnt_id_req *kreq) in grab_requested_mnt_ns() argument 5892 if (kreq->mnt_ns_id) { in grab_requested_mnt_ns() [all …]
|
| /linux/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_crypto.c | 274 void **kreq) in hpre_alg_res_post_hf() argument 283 *kreq = (void *)le64_to_cpu(sqe->tag); in hpre_alg_res_post_hf() 425 struct kpp_request *kreq = req; in hpre_msg_request_set() local 427 if (kreq->dst_len < ctx->key_sz) { in hpre_msg_request_set() 428 kreq->dst_len = ctx->key_sz; in hpre_msg_request_set() 432 tmp = kpp_request_ctx(kreq); in hpre_msg_request_set() 435 h_req->areq.dh = kreq; in hpre_msg_request_set()
|
| /linux/fs/ocfs2/ |
| H A D | ioctl.c | 43 static inline void o2info_set_request_error(struct ocfs2_info_request *kreq, in o2info_set_request_error() argument 46 kreq->ir_flags |= OCFS2_INFO_FL_ERROR; in o2info_set_request_error() 47 (void)put_user(kreq->ir_flags, (__u32 __user *)&(req->ir_flags)); in o2info_set_request_error()
|