Lines Matching refs:cq
50 static void iser_cq_callback(struct ib_cq *cq, void *cq_context);
129 comp->cq = ib_create_cq(device->ib_device, in iser_create_device_ib_res()
134 if (IS_ERR(comp->cq)) { in iser_create_device_ib_res()
135 comp->cq = NULL; in iser_create_device_ib_res()
139 if (ib_req_notify_cq(comp->cq, IB_CQ_NEXT_COMP)) in iser_create_device_ib_res()
168 if (comp->cq) in iser_create_device_ib_res()
169 ib_destroy_cq(comp->cq); in iser_create_device_ib_res()
192 ib_destroy_cq(comp->cq); in iser_free_device_ib_res()
193 comp->cq = NULL; in iser_free_device_ib_res()
478 init_attr.send_cq = ib_conn->comp->cq; in iser_create_ib_conn_res()
479 init_attr.recv_cq = ib_conn->comp->cq; in iser_create_ib_conn_res()
1199 struct ib_cq *cq = comp->cq; in iser_cq_tasklet_fn() local
1203 while ((n = ib_poll_cq(cq, ARRAY_SIZE(comp->wcs), wcs)) > 0) { in iser_cq_tasklet_fn()
1216 ib_req_notify_cq(cq, IB_CQ_NEXT_COMP); in iser_cq_tasklet_fn()
1221 static void iser_cq_callback(struct ib_cq *cq, void *cq_context) in iser_cq_callback() argument