Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/mpt3sas/
Dmpt3sas_base.c420 struct scatterlist *sg_scmd = NULL; in _clone_sg_entries() local
451 sg_scmd = scsi_sglist(scmd); in _clone_sg_entries()
518 sg_virt(sg_scmd), in _clone_sg_entries()
552 sg_scmd = sg_next(sg_scmd); in _clone_sg_entries()
553 if (sg_scmd) in _clone_sg_entries()
2139 struct scatterlist *sg_scmd; in base_make_prp_nvme() local
2194 sg_scmd = scsi_sglist(scmd); in base_make_prp_nvme()
2195 sge_addr = sg_dma_address(sg_scmd); in base_make_prp_nvme()
2196 sge_len = sg_dma_len(sg_scmd); in base_make_prp_nvme()
2210 sg_scmd = sg_next(sg_scmd); in base_make_prp_nvme()
[all …]
/Linux-v5.4/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c2041 struct scatterlist *sg_scmd; in megasas_is_prp_possible() local
2048 sg_scmd = scsi_sglist(scmd); in megasas_is_prp_possible()
2064 if (sg_dma_len(sg_scmd) < (data_length - (mr_nvme_pg_size * 4))) in megasas_is_prp_possible()
2097 scsi_for_each_sg(scmd, sg_scmd, sge_count, i) { in megasas_is_prp_possible()
2099 if (mega_mod64(sg_dma_len(sg_scmd), mr_nvme_pg_size) || in megasas_is_prp_possible()
2100 mega_mod64(sg_dma_address(sg_scmd), in megasas_is_prp_possible()
2108 if ((mega_mod64((sg_dma_address(sg_scmd) + in megasas_is_prp_possible()
2109 sg_dma_len(sg_scmd)), in megasas_is_prp_possible()
2117 if (mega_mod64(sg_dma_address(sg_scmd), in megasas_is_prp_possible()
2152 struct scatterlist *sg_scmd; in megasas_make_prp_nvme() local
[all …]