Lines Matching defs:crq
86 kcf_new_ctx(crypto_call_req_t *crq, kcf_provider_desc_t *pd,
93 (crq == NULL) ? KM_SLEEP : KM_NOSLEEP);
122 * crq - Has callback function and argument. Should be non NULL.
127 crypto_call_req_t *crq, kcf_req_params_t *req, boolean_t isdual)
131 ASSERT(crq != NULL);
137 arptr->an_reqarg = *crq;
603 crypto_call_req_t *crq, kcf_req_params_t *params, boolean_t cont)
614 if (crq == NULL) {
705 if (!(crq->cr_flag & CRYPTO_ALWAYS_QUEUE)) {
717 areq = kcf_areqnode_alloc(pd, kcf_ctx, crq,
722 if (!(crq->cr_flag
731 crq->cr_reqid = kcf_reqid_insert(areq);
741 if (!(crq->cr_flag
754 areq = kcf_areqnode_alloc(pd, kcf_ctx, crq, params,
773 if (!(crq->cr_flag & CRYPTO_SKIP_REQID)) {
780 crq->cr_reqid = kcf_reqid_insert(areq);
787 if (!(crq->cr_flag & CRYPTO_SKIP_REQID))
1539 * crq determines the memory allocation flags.
1543 kcf_alloc_req(crypto_call_req_t *crq)
1547 kcr = kmem_alloc(sizeof (kcf_dual_req_t), KCF_KMFLAG(crq));
1553 if (crq != NULL)
1554 kcr->kr_callreq = *crq;