Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_msgtype6.c302 struct ica_xcRB *xcRB) in XCRB_msg_to_type6CPRB_msgX() argument
313 int rcblen = CEIL4(xcRB->request_control_blk_length); in XCRB_msg_to_type6CPRB_msgX()
318 if (CEIL4(xcRB->request_control_blk_length) < in XCRB_msg_to_type6CPRB_msgX()
319 xcRB->request_control_blk_length) in XCRB_msg_to_type6CPRB_msgX()
324 CEIL4(xcRB->request_control_blk_length) + in XCRB_msg_to_type6CPRB_msgX()
325 xcRB->request_data_length; in XCRB_msg_to_type6CPRB_msgX()
331 req_sumlen = CEIL4(xcRB->request_control_blk_length) + in XCRB_msg_to_type6CPRB_msgX()
332 xcRB->request_data_length; in XCRB_msg_to_type6CPRB_msgX()
333 if ((CEIL4(xcRB->request_control_blk_length) <= in XCRB_msg_to_type6CPRB_msgX()
334 xcRB->request_data_length) ? in XCRB_msg_to_type6CPRB_msgX()
[all …]
Dzcrypt_api.c551 static long zcrypt_send_cprb(struct ica_xcRB *xcRB) in zcrypt_send_cprb() argument
560 (xcRB->user_defined != AUTOSELECT && in zcrypt_send_cprb()
561 AP_QID_DEVICE(zdev->ap_dev->qid) != xcRB->user_defined)) in zcrypt_send_cprb()
569 rc = zdev->ops->send_cprb(zdev, xcRB); in zcrypt_send_cprb()
858 struct ica_xcRB xcRB; in zcrypt_unlocked_ioctl() local
859 if (copy_from_user(&xcRB, uxcRB, sizeof(xcRB))) in zcrypt_unlocked_ioctl()
862 rc = zcrypt_send_cprb(&xcRB); in zcrypt_unlocked_ioctl()
867 rc = zcrypt_send_cprb(&xcRB); in zcrypt_unlocked_ioctl()
869 if (copy_to_user(uxcRB, &xcRB, sizeof(xcRB))) in zcrypt_unlocked_ioctl()