Lines Matching refs:xcrb
847 struct ica_xcRB *xcrb) in _zcrypt_send_cprb() argument
858 trace_s390_zcrypt_req(xcrb, TB_ZSECSENDCPRB); in _zcrypt_send_cprb()
860 xcrb->status = 0; in _zcrypt_send_cprb()
863 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 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()
970 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_cprb()
975 long zcrypt_send_cprb(struct ica_xcRB *xcrb) in zcrypt_send_cprb() argument
983 rc = _zcrypt_send_cprb(false, &ap_perms, &tr, xcrb); in zcrypt_send_cprb()
989 rc = _zcrypt_send_cprb(false, &ap_perms, &tr, xcrb); in zcrypt_send_cprb()
1029 struct ep11_urb *xcrb) in _zcrypt_send_ep11_cprb() argument
1041 trace_s390_zcrypt_req(xcrb, TP_ZSENDEP11CPRB); in _zcrypt_send_ep11_cprb()
1045 target_num = (unsigned short)xcrb->targets_num; in _zcrypt_send_ep11_cprb()
1059 uptr = (struct ep11_target_dev __force __user *)xcrb->targets; in _zcrypt_send_ep11_cprb()
1068 rc = prep_ep11_ap_msg(userspace, xcrb, &ap_msg, &func_code, &domain); in _zcrypt_send_ep11_cprb()
1154 rc = pref_zq->ops->send_ep11_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_ep11_cprb()
1172 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_ep11_cprb()
1177 long zcrypt_send_ep11_cprb(struct ep11_urb *xcrb) in zcrypt_send_ep11_cprb() argument
1185 rc = _zcrypt_send_ep11_cprb(false, &ap_perms, &tr, xcrb); in zcrypt_send_ep11_cprb()
1191 rc = _zcrypt_send_ep11_cprb(false, &ap_perms, &tr, xcrb); in zcrypt_send_ep11_cprb()
1524 struct ica_xcRB xcrb; in zsecsendcprb_ioctl() local
1529 if (copy_from_user(&xcrb, uxcrb, sizeof(xcrb))) in zsecsendcprb_ioctl()
1533 rc = _zcrypt_send_cprb(true, perms, &tr, &xcrb); in zsecsendcprb_ioctl()
1539 rc = _zcrypt_send_cprb(true, perms, &tr, &xcrb); in zsecsendcprb_ioctl()
1545 rc, xcrb.status); in zsecsendcprb_ioctl()
1546 if (copy_to_user(uxcrb, &xcrb, sizeof(xcrb))) in zsecsendcprb_ioctl()
1554 struct ep11_urb xcrb; in zsendep11cprb_ioctl() local
1559 if (copy_from_user(&xcrb, uxcrb, sizeof(xcrb))) in zsendep11cprb_ioctl()
1563 rc = _zcrypt_send_ep11_cprb(true, perms, &tr, &xcrb); in zsendep11cprb_ioctl()
1569 rc = _zcrypt_send_ep11_cprb(true, perms, &tr, &xcrb); in zsendep11cprb_ioctl()
1575 if (copy_to_user(uxcrb, &xcrb, sizeof(xcrb))) in zsendep11cprb_ioctl()