Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/nvme/target/
Dfc.c78 int data_sg_cnt; member
2089 fod->data_sg_cnt = nent; in nvmet_fc_alloc_tgt_pgs()
2090 fod->data_sg_cnt = fc_dma_map_sg(fod->tgtport->dev, sg, nent, in nvmet_fc_alloc_tgt_pgs()
2105 if (!fod->data_sg || !fod->data_sg_cnt) in nvmet_fc_free_tgt_pgs()
2108 fc_dma_unmap_sg(fod->tgtport->dev, fod->data_sg, fod->data_sg_cnt, in nvmet_fc_free_tgt_pgs()
2113 fod->data_sg_cnt = 0; in nvmet_fc_free_tgt_pgs()
2477 if ((fod->io_dir == NVMET_FCP_READ) && (fod->data_sg_cnt)) { in __nvmet_fc_fcp_nvme_cmd_done()
2549 fod->data_sg_cnt = 0; in nvmet_fc_handle_fcp_rqst()
2574 fod->req.sg_cnt = fod->data_sg_cnt; in nvmet_fc_handle_fcp_rqst()