Lines Matching refs:xcrb

896 			      struct ica_xcRB *xcrb)  in _zcrypt_send_cprb()  argument
907 trace_s390_zcrypt_req(xcrb, TB_ZSECSENDCPRB); in _zcrypt_send_cprb()
909 xcrb->status = 0; in _zcrypt_send_cprb()
918 xcrb->agent_ID = 0x4646; in _zcrypt_send_cprb()
922 rc = prep_cca_ap_msg(userspace, xcrb, &ap_msg, &func_code, &domain); in _zcrypt_send_cprb()
956 if (xcrb->user_defined != AUTOSELECT && in _zcrypt_send_cprb()
957 xcrb->user_defined != zc->card->id) in _zcrypt_send_cprb()
1001 __func__, xcrb->user_defined, *domain); in _zcrypt_send_cprb()
1019 rc = pref_zq->ops->send_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_cprb()
1031 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_cprb()
1036 long zcrypt_send_cprb(struct ica_xcRB *xcrb) in zcrypt_send_cprb() argument
1038 return _zcrypt_send_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_cprb()
1071 struct ep11_urb *xcrb) in _zcrypt_send_ep11_cprb() argument
1083 trace_s390_zcrypt_req(xcrb, TP_ZSENDEP11CPRB); in _zcrypt_send_ep11_cprb()
1092 target_num = (unsigned short)xcrb->targets_num; in _zcrypt_send_ep11_cprb()
1106 uptr = (struct ep11_target_dev __force __user *)xcrb->targets; in _zcrypt_send_ep11_cprb()
1115 rc = prep_ep11_ap_msg(userspace, xcrb, &ap_msg, &func_code, &domain); in _zcrypt_send_ep11_cprb()
1201 rc = pref_zq->ops->send_ep11_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_ep11_cprb()
1215 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_ep11_cprb()
1220 long zcrypt_send_ep11_cprb(struct ep11_urb *xcrb) in zcrypt_send_ep11_cprb() argument
1222 return _zcrypt_send_ep11_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_ep11_cprb()
1584 struct ica_xcRB xcrb; in zsecsendcprb_ioctl() local
1589 if (copy_from_user(&xcrb, uxcrb, sizeof(xcrb))) in zsecsendcprb_ioctl()
1593 if ((xcrb.status & 0x8000FFFF) == 0x80004649 /* 'FI' */) { in zsecsendcprb_ioctl()
1596 tr.fi.cmd = (u16)(xcrb.status >> 16); in zsecsendcprb_ioctl()
1598 xcrb.status = 0; in zsecsendcprb_ioctl()
1602 rc = _zcrypt_send_cprb(true, perms, &tr, &xcrb); in zsecsendcprb_ioctl()
1613 rc = _zcrypt_send_cprb(true, perms, &tr, &xcrb); in zsecsendcprb_ioctl()
1621 rc, xcrb.status); in zsecsendcprb_ioctl()
1622 if (copy_to_user(uxcrb, &xcrb, sizeof(xcrb))) in zsecsendcprb_ioctl()
1630 struct ep11_urb xcrb; in zsendep11cprb_ioctl() local
1635 if (copy_from_user(&xcrb, uxcrb, sizeof(xcrb))) in zsendep11cprb_ioctl()
1639 if (xcrb.req_len & (1ULL << 63)) { in zsendep11cprb_ioctl()
1642 tr.fi.cmd = (u16)(xcrb.req_len >> 48); in zsendep11cprb_ioctl()
1644 xcrb.req_len &= 0x0000FFFFFFFFFFFFULL; in zsendep11cprb_ioctl()
1648 rc = _zcrypt_send_ep11_cprb(true, perms, &tr, &xcrb); in zsendep11cprb_ioctl()
1659 rc = _zcrypt_send_ep11_cprb(true, perms, &tr, &xcrb); in zsendep11cprb_ioctl()
1667 if (copy_to_user(uxcrb, &xcrb, sizeof(xcrb))) in zsendep11cprb_ioctl()