Lines Matching refs:bad_wr
2146 struct ib_send_wr *wr = NULL, *last, *next, *bad_wr; in ib_uverbs_post_send() local
2276 resp.bad_wr = 0; in ib_uverbs_post_send()
2277 ret = qp->device->post_send(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_send()
2280 ++resp.bad_wr; in ib_uverbs_post_send()
2281 if (next == bad_wr) in ib_uverbs_post_send()
2397 struct ib_recv_wr *wr, *next, *bad_wr; in ib_uverbs_post_recv() local
2414 resp.bad_wr = 0; in ib_uverbs_post_recv()
2415 ret = qp->device->post_recv(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_recv()
2421 ++resp.bad_wr; in ib_uverbs_post_recv()
2422 if (next == bad_wr) in ib_uverbs_post_recv()
2446 struct ib_recv_wr *wr, *next, *bad_wr; in ib_uverbs_post_srq_recv() local
2463 resp.bad_wr = 0; in ib_uverbs_post_srq_recv()
2464 ret = srq->device->post_srq_recv(srq, wr, &bad_wr); in ib_uverbs_post_srq_recv()
2470 ++resp.bad_wr; in ib_uverbs_post_srq_recv()
2471 if (next == bad_wr) in ib_uverbs_post_srq_recv()