D | zcrypt_msgtype6.c | 391 static int XCRB_msg_to_type6CPRB_msgX(bool userspace, struct ap_message *ap_msg, in XCRB_msg_to_type6CPRB_msgX() argument 462 if (z_copy_from_user(userspace, &(msg->cprbx), xcRB->request_control_blk_addr, in XCRB_msg_to_type6CPRB_msgX() 486 z_copy_from_user(userspace, req_data, xcRB->request_data_address, in XCRB_msg_to_type6CPRB_msgX() 493 static int xcrb_msg_to_type6_ep11cprb_msgx(bool userspace, struct ap_message *ap_msg, in xcrb_msg_to_type6_ep11cprb_msgx() argument 540 if (z_copy_from_user(userspace, &(msg->cprbx.cprb_len), in xcrb_msg_to_type6_ep11cprb_msgx() 709 static int convert_type86_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_type86_xcrb() argument 717 if (z_copy_to_user(userspace, xcRB->reply_control_blk_addr, in convert_type86_xcrb() 724 if (z_copy_to_user(userspace, xcRB->reply_data_addr, in convert_type86_xcrb() 740 static int convert_type86_ep11_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_type86_ep11_xcrb() argument 751 if (z_copy_to_user(userspace, (char __force __user *)xcRB->resp, in convert_type86_ep11_xcrb() [all …]
|