Searched refs:sg_scmd (Results 1 – 2 of 2) sorted by relevance
371 struct scatterlist *sg_scmd = NULL; in _clone_sg_entries() local402 sg_scmd = scsi_sglist(scmd); in _clone_sg_entries()469 sg_virt(sg_scmd), in _clone_sg_entries()503 sg_scmd = sg_next(sg_scmd); in _clone_sg_entries()504 if (sg_scmd) in _clone_sg_entries()2001 struct scatterlist *sg_scmd; in base_make_prp_nvme() local2056 sg_scmd = scsi_sglist(scmd); in base_make_prp_nvme()2057 sge_addr = sg_dma_address(sg_scmd); in base_make_prp_nvme()2058 sge_len = sg_dma_len(sg_scmd); in base_make_prp_nvme()2072 sg_scmd = sg_next(sg_scmd); in base_make_prp_nvme()[all …]
1848 struct scatterlist *sg_scmd; in megasas_is_prp_possible() local1856 sg_scmd = scsi_sglist(scmd); in megasas_is_prp_possible()1872 if (sg_dma_len(sg_scmd) < (data_length - (mr_nvme_pg_size * 4))) in megasas_is_prp_possible()1905 scsi_for_each_sg(scmd, sg_scmd, sge_count, i) { in megasas_is_prp_possible()1907 if (mega_mod64(sg_dma_len(sg_scmd), mr_nvme_pg_size) || in megasas_is_prp_possible()1908 mega_mod64(sg_dma_address(sg_scmd), in megasas_is_prp_possible()1917 if ((mega_mod64((sg_dma_address(sg_scmd) + in megasas_is_prp_possible()1918 sg_dma_len(sg_scmd)), in megasas_is_prp_possible()1927 if (mega_mod64(sg_dma_address(sg_scmd), in megasas_is_prp_possible()1963 struct scatterlist *sg_scmd; in megasas_make_prp_nvme() local[all …]