Lines Matching refs:rwr
212 struct ib_reg_wr rwr; in rdma_write_sg() local
255 wr->wr.next = &rwr.wr; in rdma_write_sg()
256 rwr.wr.next = &inv_wr; in rdma_write_sg()
259 wr->wr.next = &rwr.wr; in rdma_write_sg()
260 rwr.wr.next = &imm_wr.wr; in rdma_write_sg()
288 rwr.wr.opcode = IB_WR_REG_MR; in rdma_write_sg()
289 rwr.wr.wr_cqe = &local_reg_cqe; in rdma_write_sg()
290 rwr.wr.num_sge = 0; in rdma_write_sg()
291 rwr.mr = srv_mr->mr; in rdma_write_sg()
292 rwr.wr.send_flags = 0; in rdma_write_sg()
293 rwr.key = srv_mr->mr->rkey; in rdma_write_sg()
294 rwr.access = (IB_ACCESS_LOCAL_WRITE | in rdma_write_sg()
348 struct ib_reg_wr rwr; in send_io_resp_imm() local
382 inv_wr.next = &rwr.wr; in send_io_resp_imm()
383 rwr.wr.next = &imm_wr.wr; in send_io_resp_imm()
385 wr = &rwr.wr; in send_io_resp_imm()
386 rwr.wr.next = &imm_wr.wr; in send_io_resp_imm()
406 rwr.wr.next = &imm_wr.wr; in send_io_resp_imm()
407 rwr.wr.opcode = IB_WR_REG_MR; in send_io_resp_imm()
408 rwr.wr.wr_cqe = &local_reg_cqe; in send_io_resp_imm()
409 rwr.wr.num_sge = 0; in send_io_resp_imm()
410 rwr.wr.send_flags = 0; in send_io_resp_imm()
411 rwr.mr = srv_mr->mr; in send_io_resp_imm()
412 rwr.key = srv_mr->mr->rkey; in send_io_resp_imm()
413 rwr.access = (IB_ACCESS_LOCAL_WRITE | in send_io_resp_imm()
796 struct ib_reg_wr *rwr; in process_info_req() local
818 rwr = kcalloc(sess->mrs_num, sizeof(*rwr), GFP_KERNEL); in process_info_req()
819 if (!rwr) in process_info_req()
845 rwr[mri].wr.next = mri ? &rwr[mri - 1].wr : NULL; in process_info_req()
846 rwr[mri].wr.opcode = IB_WR_REG_MR; in process_info_req()
847 rwr[mri].wr.wr_cqe = &local_reg_cqe; in process_info_req()
848 rwr[mri].wr.num_sge = 0; in process_info_req()
849 rwr[mri].wr.send_flags = 0; in process_info_req()
850 rwr[mri].mr = mr; in process_info_req()
851 rwr[mri].key = mr->rkey; in process_info_req()
852 rwr[mri].access = (IB_ACCESS_LOCAL_WRITE | in process_info_req()
854 reg_wr = &rwr[mri].wr; in process_info_req()
884 kfree(rwr); in process_info_req()