Home
last modified time | relevance | path

Searched refs:prot_sg_cnt (Results 1 – 4 of 4) sorted by relevance

/drivers/infiniband/core/
Drw.c381 struct scatterlist *prot_sg, u32 prot_sg_cnt, in rdma_rw_ctx_signature_init() argument
391 if (sg_cnt > pages_per_mr || prot_sg_cnt > pages_per_mr) { in rdma_rw_ctx_signature_init()
393 sg_cnt, prot_sg_cnt, pages_per_mr); in rdma_rw_ctx_signature_init()
402 if (prot_sg_cnt) { in rdma_rw_ctx_signature_init()
403 ret = rdma_rw_map_sg(dev, prot_sg, prot_sg_cnt, dir); in rdma_rw_ctx_signature_init()
408 prot_sg_cnt = ret; in rdma_rw_ctx_signature_init()
430 prot_sg_cnt, NULL, SZ_4K); in rdma_rw_ctx_signature_init()
432 pr_err("failed to map PI sg (%d)\n", sg_cnt + prot_sg_cnt); in rdma_rw_ctx_signature_init()
471 if (prot_sg_cnt) in rdma_rw_ctx_signature_init()
472 rdma_rw_unmap_sg(dev, prot_sg, prot_sg_cnt, dir); in rdma_rw_ctx_signature_init()
[all …]
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c412 cmd->prot_sg_cnt = se_cmd->t_prot_nents; in tcm_qla2xxx_write_pending()
672 cmd->prot_sg_cnt = se_cmd->t_prot_nents; in tcm_qla2xxx_queue_data_in()
Dqla_target.h911 uint32_t prot_sg_cnt; member
Dqla_target.c2430 if (cmd->prot_sg_cnt) { in qlt_pci_map_calc_cnt()
2433 cmd->prot_sg, cmd->prot_sg_cnt, in qlt_pci_map_calc_cnt()
2472 if (cmd->prot_sg_cnt) in qlt_unmap_sg()
2473 dma_unmap_sg(&qpair->pdev->dev, cmd->prot_sg, cmd->prot_sg_cnt, in qlt_unmap_sg()
3045 if (cmd->prot_sg_cnt) in qlt_build_ctio_crc2_pkt()