Lines Matching refs:xcrb
849 struct ica_xcRB *xcrb) in _zcrypt_send_cprb() argument
860 trace_s390_zcrypt_req(xcrb, TB_ZSECSENDCPRB); in _zcrypt_send_cprb()
862 xcrb->status = 0; in _zcrypt_send_cprb()
865 rc = prep_cca_ap_msg(userspace, xcrb, &ap_msg, &func_code, &domain); in _zcrypt_send_cprb()
899 if (xcrb->user_defined != AUTOSELECT && in _zcrypt_send_cprb()
900 xcrb->user_defined != zc->card->id) in _zcrypt_send_cprb()
944 __func__, xcrb->user_defined, *domain); in _zcrypt_send_cprb()
954 rc = pref_zq->ops->send_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_cprb()
966 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_cprb()
971 long zcrypt_send_cprb(struct ica_xcRB *xcrb) in zcrypt_send_cprb() argument
973 return _zcrypt_send_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_cprb()
1006 struct ep11_urb *xcrb) in _zcrypt_send_ep11_cprb() argument
1018 trace_s390_zcrypt_req(xcrb, TP_ZSENDEP11CPRB); in _zcrypt_send_ep11_cprb()
1022 target_num = (unsigned short)xcrb->targets_num; in _zcrypt_send_ep11_cprb()
1036 uptr = (struct ep11_target_dev __force __user *)xcrb->targets; in _zcrypt_send_ep11_cprb()
1045 rc = prep_ep11_ap_msg(userspace, xcrb, &ap_msg, &func_code, &domain); in _zcrypt_send_ep11_cprb()
1131 rc = pref_zq->ops->send_ep11_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_ep11_cprb()
1145 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_ep11_cprb()
1150 long zcrypt_send_ep11_cprb(struct ep11_urb *xcrb) in zcrypt_send_ep11_cprb() argument
1152 return _zcrypt_send_ep11_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_ep11_cprb()
1488 struct ica_xcRB xcrb; in zsecsendcprb_ioctl() local
1493 if (copy_from_user(&xcrb, uxcrb, sizeof(xcrb))) in zsecsendcprb_ioctl()
1497 rc = _zcrypt_send_cprb(true, perms, &tr, &xcrb); in zsecsendcprb_ioctl()
1504 rc = _zcrypt_send_cprb(true, perms, &tr, &xcrb); in zsecsendcprb_ioctl()
1512 rc, xcrb.status); in zsecsendcprb_ioctl()
1513 if (copy_to_user(uxcrb, &xcrb, sizeof(xcrb))) in zsecsendcprb_ioctl()
1521 struct ep11_urb xcrb; in zsendep11cprb_ioctl() local
1526 if (copy_from_user(&xcrb, uxcrb, sizeof(xcrb))) in zsendep11cprb_ioctl()
1530 rc = _zcrypt_send_ep11_cprb(true, perms, &tr, &xcrb); in zsendep11cprb_ioctl()
1537 rc = _zcrypt_send_ep11_cprb(true, perms, &tr, &xcrb); in zsendep11cprb_ioctl()
1545 if (copy_to_user(uxcrb, &xcrb, sizeof(xcrb))) in zsendep11cprb_ioctl()