Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/target/
Dfc.c78 int data_sg_cnt; member
2101 fod->data_sg_cnt = nent; in nvmet_fc_alloc_tgt_pgs()
2102 fod->data_sg_cnt = fc_dma_map_sg(fod->tgtport->dev, sg, nent, in nvmet_fc_alloc_tgt_pgs()
2117 if (!fod->data_sg || !fod->data_sg_cnt) in nvmet_fc_free_tgt_pgs()
2120 fc_dma_unmap_sg(fod->tgtport->dev, fod->data_sg, fod->data_sg_cnt, in nvmet_fc_free_tgt_pgs()
2125 fod->data_sg_cnt = 0; in nvmet_fc_free_tgt_pgs()
2489 if ((fod->io_dir == NVMET_FCP_READ) && (fod->data_sg_cnt)) { in __nvmet_fc_fcp_nvme_cmd_done()
2562 fod->data_sg_cnt = 0; in nvmet_fc_handle_fcp_rqst()
2587 fod->req.sg_cnt = fod->data_sg_cnt; in nvmet_fc_handle_fcp_rqst()