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