Lines Matching refs:cq
50 static void iser_cq_callback(struct ib_cq *cq, void *cq_context);
119 comp->cq = ib_create_cq(device->ib_device, in iser_create_device_ib_res()
124 if (IS_ERR(comp->cq)) { in iser_create_device_ib_res()
125 comp->cq = NULL; in iser_create_device_ib_res()
129 if (ib_req_notify_cq(comp->cq, IB_CQ_NEXT_COMP)) in iser_create_device_ib_res()
163 if (comp->cq) in iser_create_device_ib_res()
164 ib_destroy_cq(comp->cq); in iser_create_device_ib_res()
186 ib_destroy_cq(comp->cq); in iser_free_device_ib_res()
187 comp->cq = NULL; in iser_free_device_ib_res()
493 init_attr.send_cq = ib_conn->comp->cq; in iser_create_ib_conn_res()
494 init_attr.recv_cq = ib_conn->comp->cq; in iser_create_ib_conn_res()
1246 struct ib_cq *cq = comp->cq; in iser_cq_tasklet_fn() local
1250 while ((n = ib_poll_cq(cq, ARRAY_SIZE(comp->wcs), wcs)) > 0) { in iser_cq_tasklet_fn()
1263 ib_req_notify_cq(cq, IB_CQ_NEXT_COMP); in iser_cq_tasklet_fn()
1268 static void iser_cq_callback(struct ib_cq *cq, void *cq_context) in iser_cq_callback() argument