Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_handle.c876 struct xfs_getparents *kreq = &gpx.gph.gph_request; in xfs_ioc_getparents() local
884 if (copy_from_user(kreq, ureq, sizeof(*kreq))) in xfs_ioc_getparents()
891 if (copy_to_user(ureq, kreq, sizeof(*kreq))) in xfs_ioc_getparents()
906 struct xfs_getparents_by_handle *kreq = &gpx.gph; in xfs_ioc_getparents_by_handle() local
907 struct xfs_handle *handle = &kreq->gph_handle; in xfs_ioc_getparents_by_handle()
914 if (copy_from_user(kreq, ureq, sizeof(*kreq))) in xfs_ioc_getparents_by_handle()
938 if (copy_to_user(ureq, kreq, sizeof(*kreq))) in xfs_ioc_getparents_by_handle()
/linux/fs/
H A Dnamespace.c5694 static int prepare_kstatmount(struct kstatmount *ks, struct mnt_id_req *kreq, in prepare_kstatmount() argument
5702 ks->mask = kreq->param; in prepare_kstatmount()
5721 struct mnt_id_req *kreq) in copy_mnt_id_req() argument
5735 memset(kreq, 0, sizeof(*kreq)); in copy_mnt_id_req()
5736 ret = copy_struct_from_user(kreq, sizeof(*kreq), req, usize); in copy_mnt_id_req()
5739 if (kreq->spare != 0) in copy_mnt_id_req()
5742 if (kreq->mnt_id <= MNT_UNIQUE_ID_OFFSET) in copy_mnt_id_req()
5752 static struct mnt_namespace *grab_requested_mnt_ns(const struct mnt_id_req *kreq) in grab_requested_mnt_ns() argument
5756 if (kreq->mnt_ns_id && kreq->spare) in grab_requested_mnt_ns()
5759 if (kreq->mnt_ns_id) in grab_requested_mnt_ns()
[all …]
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c341 void **kreq) in hpre_alg_res_post_hf() argument
355 *kreq = req; in hpre_alg_res_post_hf()
530 struct kpp_request *kreq = req; in hpre_msg_request_set() local
532 if (kreq->dst_len < ctx->key_sz) { in hpre_msg_request_set()
533 kreq->dst_len = ctx->key_sz; in hpre_msg_request_set()
537 tmp = kpp_request_ctx(kreq); in hpre_msg_request_set()
540 h_req->areq.dh = kreq; in hpre_msg_request_set()
/linux/fs/ocfs2/
H A Dioctl.c43 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()