Lines Matching refs:zq
155 struct zcrypt_queue *zq = NULL;
160 zq = zcrypt_queue_alloc(CEX2A_MAX_RESPONSE_SIZE);
161 if (!zq)
165 zq = zcrypt_queue_alloc(CEX3A_MAX_RESPONSE_SIZE);
166 if (!zq)
170 if (!zq)
172 zq->ops = zcrypt_msgtype(MSGTYPE50_NAME, MSGTYPE50_VARIANT_DEFAULT);
173 zq->queue = aq;
174 zq->online = 1;
175 atomic_set(&zq->load, 0);
177 ap_queue_init_reply(aq, &zq->reply);
179 aq->private = zq;
180 rc = zcrypt_queue_register(zq);
183 zcrypt_queue_free(zq);
196 struct zcrypt_queue *zq = aq->private;
198 if (zq)
199 zcrypt_queue_unregister(zq);