Lines Matching full:tr

643 			       struct zcrypt_track *tr,  in zcrypt_rsa_modexpo()  argument
694 cpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_modexpo()
695 AP_QID_CARD(tr->last_qid) == zc->card->id) ? in zcrypt_rsa_modexpo()
709 qpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_modexpo()
710 tr->last_qid == zq->queue->qid) ? in zcrypt_rsa_modexpo()
738 if (tr) { in zcrypt_rsa_modexpo()
739 tr->last_rc = rc; in zcrypt_rsa_modexpo()
740 tr->last_qid = qid; in zcrypt_rsa_modexpo()
748 struct zcrypt_track *tr, in zcrypt_rsa_crt() argument
799 cpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_crt()
800 AP_QID_CARD(tr->last_qid) == zc->card->id) ? in zcrypt_rsa_crt()
814 qpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_crt()
815 tr->last_qid == zq->queue->qid) ? in zcrypt_rsa_crt()
843 if (tr) { in zcrypt_rsa_crt()
844 tr->last_rc = rc; in zcrypt_rsa_crt()
845 tr->last_qid = qid; in zcrypt_rsa_crt()
853 struct zcrypt_track *tr, in _zcrypt_send_cprb() argument
923 cpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_cprb()
924 AP_QID_CARD(tr->last_qid) == zc->card->id) ? in _zcrypt_send_cprb()
940 qpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_cprb()
941 tr->last_qid == zq->queue->qid) ? in _zcrypt_send_cprb()
978 if (tr) { in _zcrypt_send_cprb()
979 tr->last_rc = rc; in _zcrypt_send_cprb()
980 tr->last_qid = qid; in _zcrypt_send_cprb()
989 struct zcrypt_track tr; in zcrypt_send_cprb() local
992 memset(&tr, 0, sizeof(tr)); in zcrypt_send_cprb()
995 rc = _zcrypt_send_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_cprb()
996 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in zcrypt_send_cprb()
1001 rc = _zcrypt_send_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_cprb()
1002 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in zcrypt_send_cprb()
1003 if (rc == -EAGAIN && tr.again_counter >= TRACK_AGAIN_MAX) in zcrypt_send_cprb()
1040 struct zcrypt_track *tr, in _zcrypt_send_ep11_cprb() argument
1119 cpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_ep11_cprb()
1120 AP_QID_CARD(tr->last_qid) == zc->card->id) ? in _zcrypt_send_ep11_cprb()
1137 qpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_ep11_cprb()
1138 tr->last_qid == zq->queue->qid) ? in _zcrypt_send_ep11_cprb()
1180 if (tr) { in _zcrypt_send_ep11_cprb()
1181 tr->last_rc = rc; in _zcrypt_send_ep11_cprb()
1182 tr->last_qid = qid; in _zcrypt_send_ep11_cprb()
1191 struct zcrypt_track tr; in zcrypt_send_ep11_cprb() local
1194 memset(&tr, 0, sizeof(tr)); in zcrypt_send_ep11_cprb()
1197 rc = _zcrypt_send_ep11_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_ep11_cprb()
1198 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in zcrypt_send_ep11_cprb()
1203 rc = _zcrypt_send_ep11_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_ep11_cprb()
1204 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in zcrypt_send_ep11_cprb()
1205 if (rc == -EAGAIN && tr.again_counter >= TRACK_AGAIN_MAX) in zcrypt_send_ep11_cprb()
1486 struct zcrypt_track tr; in icarsamodexpo_ioctl() local
1490 memset(&tr, 0, sizeof(tr)); in icarsamodexpo_ioctl()
1495 rc = zcrypt_rsa_modexpo(perms, &tr, &mex); in icarsamodexpo_ioctl()
1496 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in icarsamodexpo_ioctl()
1501 rc = zcrypt_rsa_modexpo(perms, &tr, &mex); in icarsamodexpo_ioctl()
1502 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in icarsamodexpo_ioctl()
1503 if (rc == -EAGAIN && tr.again_counter >= TRACK_AGAIN_MAX) in icarsamodexpo_ioctl()
1515 struct zcrypt_track tr; in icarsacrt_ioctl() local
1519 memset(&tr, 0, sizeof(tr)); in icarsacrt_ioctl()
1524 rc = zcrypt_rsa_crt(perms, &tr, &crt); in icarsacrt_ioctl()
1525 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in icarsacrt_ioctl()
1530 rc = zcrypt_rsa_crt(perms, &tr, &crt); in icarsacrt_ioctl()
1531 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in icarsacrt_ioctl()
1532 if (rc == -EAGAIN && tr.again_counter >= TRACK_AGAIN_MAX) in icarsacrt_ioctl()
1545 struct zcrypt_track tr; in zsecsendcprb_ioctl() local
1549 memset(&tr, 0, sizeof(tr)); in zsecsendcprb_ioctl()
1554 rc = _zcrypt_send_cprb(xflags, perms, &tr, &xcrb); in zsecsendcprb_ioctl()
1555 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in zsecsendcprb_ioctl()
1560 rc = _zcrypt_send_cprb(xflags, perms, &tr, &xcrb); in zsecsendcprb_ioctl()
1561 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in zsecsendcprb_ioctl()
1562 if (rc == -EAGAIN && tr.again_counter >= TRACK_AGAIN_MAX) in zsecsendcprb_ioctl()
1576 struct zcrypt_track tr; in zsendep11cprb_ioctl() local
1580 memset(&tr, 0, sizeof(tr)); in zsendep11cprb_ioctl()
1585 rc = _zcrypt_send_ep11_cprb(xflags, perms, &tr, &xcrb); in zsendep11cprb_ioctl()
1586 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in zsendep11cprb_ioctl()
1591 rc = _zcrypt_send_ep11_cprb(xflags, perms, &tr, &xcrb); in zsendep11cprb_ioctl()
1592 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in zsendep11cprb_ioctl()
1593 if (rc == -EAGAIN && tr.again_counter >= TRACK_AGAIN_MAX) in zsendep11cprb_ioctl()
1751 struct zcrypt_track tr; in trans_modexpo32() local
1754 memset(&tr, 0, sizeof(tr)); in trans_modexpo32()
1764 rc = zcrypt_rsa_modexpo(perms, &tr, &mex64); in trans_modexpo32()
1765 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in trans_modexpo32()
1770 rc = zcrypt_rsa_modexpo(perms, &tr, &mex64); in trans_modexpo32()
1771 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in trans_modexpo32()
1772 if (rc == -EAGAIN && tr.again_counter >= TRACK_AGAIN_MAX) in trans_modexpo32()
1798 struct zcrypt_track tr; in trans_modexpo_crt32() local
1801 memset(&tr, 0, sizeof(tr)); in trans_modexpo_crt32()
1814 rc = zcrypt_rsa_crt(perms, &tr, &crt64); in trans_modexpo_crt32()
1815 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in trans_modexpo_crt32()
1820 rc = zcrypt_rsa_crt(perms, &tr, &crt64); in trans_modexpo_crt32()
1821 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in trans_modexpo_crt32()
1822 if (rc == -EAGAIN && tr.again_counter >= TRACK_AGAIN_MAX) in trans_modexpo_crt32()
1856 struct zcrypt_track tr; in trans_xcrb32() local
1860 memset(&tr, 0, sizeof(tr)); in trans_xcrb32()
1884 rc = _zcrypt_send_cprb(xflags, perms, &tr, &xcrb64); in trans_xcrb32()
1885 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in trans_xcrb32()
1890 rc = _zcrypt_send_cprb(xflags, perms, &tr, &xcrb64); in trans_xcrb32()
1891 } while (rc == -EAGAIN && ++tr.again_counter < TRACK_AGAIN_MAX); in trans_xcrb32()
1892 if (rc == -EAGAIN && tr.again_counter >= TRACK_AGAIN_MAX) in trans_xcrb32()