Lines Matching refs:wr_id
469 static struct ib_recv_wr wr = { .wr_id = SRP_LAST_WR_ID }; in srp_destroy_qp()
1043 .wr_id = LOCAL_INV_WR_ID_MASK, in srp_inv_rkey()
1314 wr.wr_id = FAST_REG_WR_ID_MASK; in srp_map_finish_fr()
1695 wr.wr_id = (uintptr_t) iu; in srp_post_send()
1715 wr.wr_id = (uintptr_t) iu; in srp_post_recv()
1851 struct srp_iu *iu = (struct srp_iu *) (uintptr_t) wc->wr_id; in srp_handle_recv()
1917 static void srp_handle_qp_err(u64 wr_id, enum ib_wc_status wc_status, in srp_handle_qp_err() argument
1922 if (wr_id == SRP_LAST_WR_ID) { in srp_handle_qp_err()
1928 if (wr_id & LOCAL_INV_WR_ID_MASK) { in srp_handle_qp_err()
1932 } else if (wr_id & FAST_REG_WR_ID_MASK) { in srp_handle_qp_err()
1940 wc_status, (void *)(uintptr_t)wr_id); in srp_handle_qp_err()
1957 srp_handle_qp_err(wc.wr_id, wc.status, false, ch); in srp_recv_completion()
1970 iu = (struct srp_iu *) (uintptr_t) wc.wr_id; in srp_send_completion()
1973 srp_handle_qp_err(wc.wr_id, wc.status, true, ch); in srp_send_completion()
3541 BUILD_BUG_ON(FIELD_SIZEOF(struct ib_wc, wr_id) < sizeof(void *)); in srp_init_module()