Lines Matching refs:zq
239 struct zcrypt_queue *zq; in zcrypt_pcixcc_queue_probe() local
242 zq = zcrypt_queue_alloc(PCIXCC_MAX_XCRB_MESSAGE_SIZE); in zcrypt_pcixcc_queue_probe()
243 if (!zq) in zcrypt_pcixcc_queue_probe()
245 zq->queue = aq; in zcrypt_pcixcc_queue_probe()
246 zq->online = 1; in zcrypt_pcixcc_queue_probe()
247 atomic_set(&zq->load, 0); in zcrypt_pcixcc_queue_probe()
250 zcrypt_queue_free(zq); in zcrypt_pcixcc_queue_probe()
254 zq->ops = zcrypt_msgtype(MSGTYPE06_NAME, in zcrypt_pcixcc_queue_probe()
257 zq->ops = zcrypt_msgtype(MSGTYPE06_NAME, in zcrypt_pcixcc_queue_probe()
259 ap_queue_init_reply(aq, &zq->reply); in zcrypt_pcixcc_queue_probe()
261 aq->private = zq; in zcrypt_pcixcc_queue_probe()
262 rc = zcrypt_queue_register(zq); in zcrypt_pcixcc_queue_probe()
265 zcrypt_queue_free(zq); in zcrypt_pcixcc_queue_probe()
277 struct zcrypt_queue *zq = aq->private; in zcrypt_pcixcc_queue_remove() local
279 if (zq) in zcrypt_pcixcc_queue_remove()
280 zcrypt_queue_unregister(zq); in zcrypt_pcixcc_queue_remove()