/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | rw.c | 80 reg->inv_wr.next = ®->reg_wr.wr; in rdma_rw_inv_key() 111 reg->reg_wr.wr.opcode = IB_WR_REG_MR; in rdma_rw_init_one_mr() 112 reg->reg_wr.mr = reg->mr; in rdma_rw_init_one_mr() 113 reg->reg_wr.access = IB_ACCESS_LOCAL_WRITE; in rdma_rw_init_one_mr() 115 reg->reg_wr.access |= IB_ACCESS_REMOTE_WRITE; in rdma_rw_init_one_mr() 153 prev->wr.wr.next = ®->reg_wr.wr; in rdma_rw_init_mr_wrs() 156 reg->reg_wr.wr.next = ®->wr.wr; in rdma_rw_init_mr_wrs() 436 ctx->reg->reg_wr.wr.opcode = IB_WR_REG_MR_INTEGRITY; in rdma_rw_ctx_signature_init() 437 ctx->reg->reg_wr.wr.wr_cqe = NULL; in rdma_rw_ctx_signature_init() 438 ctx->reg->reg_wr.wr.num_sge = 0; in rdma_rw_ctx_signature_init() [all …]
|
/kernel/linux/linux-5.10/net/rds/ |
D | ib_frmr.c | 126 struct ib_reg_wr reg_wr; in rds_ib_post_reg_frmr() local 153 memset(®_wr, 0, sizeof(reg_wr)); in rds_ib_post_reg_frmr() 154 reg_wr.wr.wr_id = (unsigned long)(void *)ibmr; in rds_ib_post_reg_frmr() 155 reg_wr.wr.opcode = IB_WR_REG_MR; in rds_ib_post_reg_frmr() 156 reg_wr.wr.num_sge = 0; in rds_ib_post_reg_frmr() 157 reg_wr.mr = frmr->mr; in rds_ib_post_reg_frmr() 158 reg_wr.key = frmr->mr->rkey; in rds_ib_post_reg_frmr() 159 reg_wr.access = IB_ACCESS_LOCAL_WRITE | in rds_ib_post_reg_frmr() 162 reg_wr.wr.send_flags = IB_SEND_SIGNALED; in rds_ib_post_reg_frmr() 164 ret = ib_post_send(ibmr->ic->i_cm_id->qp, ®_wr.wr, NULL); in rds_ib_post_reg_frmr()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 287 struct ib_reg_wr *reg_wr; in frwr_map() local 330 reg_wr = &mr->frwr.fr_regwr; in frwr_map() 331 reg_wr->mr = ibmr; in frwr_map() 332 reg_wr->key = ibmr->rkey; in frwr_map() 333 reg_wr->access = writing ? in frwr_map()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | rw.h | 38 struct ib_reg_wr reg_wr; member
|
D | rdmavt_qp.h | 170 struct ib_reg_wr reg_wr; member
|
D | ib_verbs.h | 1416 static inline const struct ib_reg_wr *reg_wr(const struct ib_send_wr *wr) in reg_wr() function
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | smbdirect.c | 2344 struct ib_reg_wr *reg_wr; in smbd_register_mr() local 2401 reg_wr = &smbdirect_mr->wr; in smbd_register_mr() 2402 reg_wr->wr.opcode = IB_WR_REG_MR; in smbd_register_mr() 2404 reg_wr->wr.wr_cqe = &smbdirect_mr->cqe; in smbd_register_mr() 2405 reg_wr->wr.num_sge = 0; in smbd_register_mr() 2406 reg_wr->wr.send_flags = IB_SEND_SIGNALED; in smbd_register_mr() 2407 reg_wr->mr = smbdirect_mr->mr; in smbd_register_mr() 2408 reg_wr->key = smbdirect_mr->mr->rkey; in smbd_register_mr() 2409 reg_wr->access = writing ? in smbd_register_mr() 2418 rc = ib_post_send(info->id->qp, ®_wr->wr, NULL); in smbd_register_mr() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | trace.h | 54 DEFINE_EVENT(dev_reg_evt, reg_wr,
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | rdma.c | 71 struct ib_reg_wr reg_wr; member 1393 memset(&req->reg_wr, 0, sizeof(req->reg_wr)); in nvme_rdma_map_sg_fr() 1394 req->reg_wr.wr.opcode = IB_WR_REG_MR; in nvme_rdma_map_sg_fr() 1395 req->reg_wr.wr.wr_cqe = &req->reg_cqe; in nvme_rdma_map_sg_fr() 1396 req->reg_wr.wr.num_sge = 0; in nvme_rdma_map_sg_fr() 1397 req->reg_wr.mr = req->mr; in nvme_rdma_map_sg_fr() 1398 req->reg_wr.key = req->mr->rkey; in nvme_rdma_map_sg_fr() 1399 req->reg_wr.access = IB_ACCESS_LOCAL_WRITE | in nvme_rdma_map_sg_fr() 1474 struct ib_reg_wr *wr = &req->reg_wr; in nvme_rdma_map_sg_pi() 2096 req->mr ? &req->reg_wr.wr : NULL); in nvme_rdma_queue_rq()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 243 struct ib_reg_wr *wr = &tx_desc->reg_wr; in iser_reg_sig_mr() 299 struct ib_reg_wr *wr = &tx_desc->reg_wr; in iser_fast_reg_mr()
|
D | iscsi_iser.h | 250 struct ib_reg_wr reg_wr; member
|
D | iser_verbs.c | 915 else if (tx_desc->reg_wr.wr.next) in iser_post_send() 916 first_wr = &tx_desc->reg_wr.wr; in iser_post_send()
|
D | iscsi_iser.c | 209 tx_desc->reg_wr.wr.next = NULL; in iser_initialize_task_headers()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | wr.c | 782 const struct ib_reg_wr *wr = reg_wr(send_wr); in set_pi_umr_wr() 1029 (*ctrl)->imm = cpu_to_be32(reg_wr(wr)->key); in handle_reg_mr() 1030 return set_reg_wr(qp, reg_wr(wr), seg, size, cur_edge, true); in handle_reg_mr() 1081 mr = to_mmr(reg_wr(wr)->mr); in handle_reg_mr_integrity() 1089 reg_pi_wr.access = reg_wr(wr)->access; in handle_reg_mr_integrity()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 544 wr->wr.reg.mr = reg_wr(ibwr)->mr; in init_send_wr() 545 wr->wr.reg.key = reg_wr(ibwr)->key; in init_send_wr() 546 wr->wr.reg.access = reg_wr(ibwr)->access; in init_send_wr()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
D | i40iw_verbs.c | 2212 struct i40iw_mr *iwmr = to_iwmr(reg_wr(ib_wr)->mr); in i40iw_post_send() 2213 int flags = reg_wr(ib_wr)->access; in i40iw_post_send() 2221 info.stag_key = reg_wr(ib_wr)->key & 0xff; in i40iw_post_send() 2222 info.stag_idx = reg_wr(ib_wr)->key >> 8; in i40iw_post_send() 2223 info.page_size = reg_wr(ib_wr)->mr->page_size; in i40iw_post_send()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 878 sqe->base_mr = (uintptr_t)reg_wr(wr)->mr; in siw_post_send() 879 sqe->rkey = reg_wr(wr)->key; in siw_post_send() 880 sqe->access = reg_wr(wr)->access & IWARP_ACCESS_MASK; in siw_post_send()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv.c | 792 struct ib_send_wr *reg_wr = NULL; in process_info_req() local 841 reg_wr = &rwr[mri].wr; in process_info_req() 864 err = rtrs_iu_post_send(&con->c, tx_iu, tx_sz, reg_wr); in process_info_req()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 2057 reg_wr(wr)->mr, in rvt_post_one_wr() 2058 reg_wr(wr)->key, in rvt_post_one_wr() 2059 reg_wr(wr)->access); in rvt_post_one_wr()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 1193 struct c4iw_mr *mhp = to_c4iw_mr(reg_wr(wr)->mr); in c4iw_post_send() 1199 build_tpte_memreg(&wqe->fr_tpte, reg_wr(wr), in c4iw_post_send() 1203 err = build_memreg(&qhp->wq.sq, wqe, reg_wr(wr), in c4iw_post_send()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_qp.c | 830 ret = set_reg_seg(wqe_hdr, reg_wr(wr)); in pvrdma_post_send()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 2162 status = ocrdma_build_reg(qp, hdr, reg_wr(wr)); in ocrdma_post_send()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 2681 rc = bnxt_re_build_reg_wqe(reg_wr(wr), &wqe); in bnxt_re_post_send()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | qp.c | 3621 set_reg_seg(wqe, reg_wr(wr)); in _mlx4_ib_post_send()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | verbs.c | 3704 rc = qedr_prepare_reg(qp, fwqe1, reg_wr(wr)); in __qedr_post_send()
|