Lines Matching refs:res_wr
206 struct fw_ri_res_wr *res_wr; in create_qp() local
306 wr_len = sizeof(*res_wr) + 2 * sizeof(*res); in create_qp()
316 res_wr = __skb_put_zero(skb, wr_len); in create_qp()
317 res_wr->op_nres = cpu_to_be32( in create_qp()
321 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in create_qp()
322 res_wr->cookie = (uintptr_t)wr_waitp; in create_qp()
323 res = res_wr->res; in create_qp()
2479 struct fw_ri_res_wr *res_wr; in free_srq_queue() local
2483 wr_len = sizeof(*res_wr) + sizeof(*res); in free_srq_queue()
2486 res_wr = (struct fw_ri_res_wr *)__skb_put(skb, wr_len); in free_srq_queue()
2487 memset(res_wr, 0, wr_len); in free_srq_queue()
2488 res_wr->op_nres = cpu_to_be32(FW_WR_OP_V(FW_RI_RES_WR) | in free_srq_queue()
2491 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in free_srq_queue()
2492 res_wr->cookie = (uintptr_t)wr_waitp; in free_srq_queue()
2493 res = res_wr->res; in free_srq_queue()
2516 struct fw_ri_res_wr *res_wr; in alloc_srq_queue() local
2569 wr_len = sizeof(*res_wr) + sizeof(*res); in alloc_srq_queue()
2576 res_wr = (struct fw_ri_res_wr *)__skb_put(skb, wr_len); in alloc_srq_queue()
2577 memset(res_wr, 0, wr_len); in alloc_srq_queue()
2578 res_wr->op_nres = cpu_to_be32(FW_WR_OP_V(FW_RI_RES_WR) | in alloc_srq_queue()
2581 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in alloc_srq_queue()
2582 res_wr->cookie = (uintptr_t)wr_waitp; in alloc_srq_queue()
2583 res = res_wr->res; in alloc_srq_queue()