Home
last modified time | relevance | path

Searched refs:wr_waitp (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dmem.c73 if (wr_waitp) in _c4iw_write_mem_dma_aligned()
88 req->wr.wr_lo = wr_waitp ? (__force __be64)(unsigned long)wr_waitp : 0L; in _c4iw_write_mem_dma_aligned()
103 if (wr_waitp) in _c4iw_write_mem_dma_aligned()
224 wr_waitp); in _c4iw_write_mem_dma()
242 wr_waitp); in write_adapter_mem()
248 wr_waitp); in write_adapter_mem()
257 wr_waitp); in write_adapter_mem()
356 wr_waitp); in write_pbl()
520 if (!mhp->wr_waitp) in c4iw_reg_user_mr()
553 mhp->wr_waitp); in c4iw_reg_user_mr()
[all …]
H A Diw_cxgb4.h221 kref_read(&wr_waitp->kref)); in c4iw_put_wr_wait()
231 kref_get(&wr_waitp->kref); in c4iw_get_wr_wait()
236 wr_waitp->ret = 0; in c4iw_init_wr_wait()
243 wr_waitp->ret = ret; in _c4iw_wake_up()
246 c4iw_put_wr_wait(wr_waitp); in _c4iw_wake_up()
267 wr_waitp->ret = -EIO; in c4iw_wait_for_reply()
276 wr_waitp->ret = -EIO; in c4iw_wait_for_reply()
279 if (wr_waitp->ret) in c4iw_wait_for_reply()
283 return wr_waitp->ret; in c4iw_wait_for_reply()
298 c4iw_get_wr_wait(wr_waitp); in c4iw_ref_send_wait()
[all …]
H A Dcq.c39 struct c4iw_wr_wait *wr_waitp) in destroy_cq() argument
54 res_wr->cookie = (uintptr_t)wr_waitp; in destroy_cq()
60 c4iw_init_wr_wait(wr_waitp); in destroy_cq()
72 struct c4iw_wr_wait *wr_waitp) in create_cq() argument
132 res_wr->cookie = (uintptr_t)wr_waitp; in create_cq()
154 c4iw_init_wr_wait(wr_waitp); in create_cq()
993 c4iw_put_wr_wait(chp->wr_waitp); in c4iw_destroy_cq()
1029 if (!chp->wr_waitp) { in c4iw_create_cq()
1033 c4iw_init_wr_wait(chp->wr_waitp); in c4iw_create_cq()
1080 chp->wr_waitp); in c4iw_create_cq()
[all …]
H A Dqp.c381 c4iw_init_wr_wait(wr_waitp); in create_qp()
2105 c4iw_put_wr_wait(qhp->wr_waitp); in c4iw_destroy_qp()
2154 if (!qhp->wr_waitp) in c4iw_create_qp()
2178 qhp->wr_waitp, !attrs->srq); in c4iw_create_qp()
2352 c4iw_put_wr_wait(qhp->wr_waitp); in c4iw_create_qp()
2499 c4iw_init_wr_wait(wr_waitp); in free_srq_queue()
2614 c4iw_init_wr_wait(wr_waitp); in alloc_srq_queue()
2701 if (!srq->wr_waitp) in c4iw_create_srq()
2786 srq->wr_waitp); in c4iw_create_srq()
2792 c4iw_put_wr_wait(srq->wr_waitp); in c4iw_create_srq()
[all …]
H A Ddevice.c1514 struct c4iw_wr_wait *wr_waitp; in _c4iw_free_wr_wait() local
1516 wr_waitp = container_of(kref, struct c4iw_wr_wait, kref); in _c4iw_free_wr_wait()
1517 pr_debug("Free wr_wait %p\n", wr_waitp); in _c4iw_free_wr_wait()
1518 kfree(wr_waitp); in _c4iw_free_wr_wait()
1523 struct c4iw_wr_wait *wr_waitp; in c4iw_alloc_wr_wait() local
1525 wr_waitp = kzalloc(sizeof(*wr_waitp), gfp); in c4iw_alloc_wr_wait()
1526 if (wr_waitp) { in c4iw_alloc_wr_wait()
1527 kref_init(&wr_waitp->kref); in c4iw_alloc_wr_wait()
1528 pr_debug("wr_wait %p\n", wr_waitp); in c4iw_alloc_wr_wait()
1530 return wr_waitp; in c4iw_alloc_wr_wait()
H A Dcm.c316 if (!epc->wr_waitp) { in alloc_ep()
323 c4iw_init_wr_wait(epc->wr_waitp); in alloc_ep()
413 c4iw_put_wr_wait(ep->com.wr_waitp); in _c4iw_free_ep()
2171 c4iw_init_wr_wait(ep->com.wr_waitp); in c4iw_reconnect()
3479 c4iw_init_wr_wait(ep->com.wr_waitp); in create_server6()
3486 ep->com.wr_waitp, in create_server6()
3522 c4iw_init_wr_wait(ep->com.wr_waitp); in create_server4()
3528 ep->com.wr_waitp, in create_server4()
3620 c4iw_init_wr_wait(ep->com.wr_waitp); in c4iw_destroy_listen()
4382 struct c4iw_wr_wait *wr_waitp; in fw6_msg() local
[all …]
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c30 wr_waitp->ret = 0; in cxgbit_init_wr_wait()
31 reinit_completion(&wr_waitp->completion); in cxgbit_init_wr_wait()
38 wr_waitp->ret = 0; in cxgbit_wake_up()
40 wr_waitp->ret = -EIO; in cxgbit_wake_up()
42 if (wr_waitp->ret) in cxgbit_wake_up()
45 complete(&wr_waitp->completion); in cxgbit_wake_up()
56 wr_waitp->ret = -EIO; in cxgbit_wait_for_reply()
64 wr_waitp->ret = -ETIMEDOUT; in cxgbit_wait_for_reply()
67 if (wr_waitp->ret) in cxgbit_wait_for_reply()
69 pci_name(cdev->lldi.pdev), wr_waitp->ret, tid); in cxgbit_wait_for_reply()
[all …]