Lines Matching refs:xcRB
851 struct ica_xcRB *xcRB) in _zcrypt_send_cprb() argument
862 trace_s390_zcrypt_req(xcRB, TB_ZSECSENDCPRB); in _zcrypt_send_cprb()
864 xcRB->status = 0; in _zcrypt_send_cprb()
873 xcRB->agent_ID = 0x4646; in _zcrypt_send_cprb()
877 rc = get_cprb_fc(userspace, xcRB, &ap_msg, &func_code, &domain); in _zcrypt_send_cprb()
901 if (xcRB->user_defined != AUTOSELECT && in _zcrypt_send_cprb()
902 xcRB->user_defined != zc->card->id) in _zcrypt_send_cprb()
960 rc = pref_zq->ops->send_cprb(userspace, pref_zq, xcRB, &ap_msg); in _zcrypt_send_cprb()
972 trace_s390_zcrypt_rep(xcRB, func_code, rc, in _zcrypt_send_cprb()
977 long zcrypt_send_cprb(struct ica_xcRB *xcRB) in zcrypt_send_cprb() argument
979 return _zcrypt_send_cprb(false, &ap_perms, NULL, xcRB); in zcrypt_send_cprb()
1498 struct ica_xcRB xcRB; in zsecsendcprb_ioctl() local
1503 if (copy_from_user(&xcRB, uxcRB, sizeof(xcRB))) in zsecsendcprb_ioctl()
1507 if (xcRB.status & (1U << 31)) { in zsecsendcprb_ioctl()
1510 tr.fi.cmd = (u16)(xcRB.status >> 16); in zsecsendcprb_ioctl()
1512 xcRB.status &= 0x0000FFFF; in zsecsendcprb_ioctl()
1516 rc = _zcrypt_send_cprb(true, perms, &tr, &xcRB); in zsecsendcprb_ioctl()
1527 rc = _zcrypt_send_cprb(true, perms, &tr, &xcRB); in zsecsendcprb_ioctl()
1535 rc, xcRB.status); in zsecsendcprb_ioctl()
1536 if (copy_to_user(uxcRB, &xcRB, sizeof(xcRB))) in zsecsendcprb_ioctl()