Lines Matching refs:s
1347 struct scatterlist *s; in debug_dma_map_sg() local
1353 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg()
1360 entry->pfn = page_to_pfn(sg_page(s)); in debug_dma_map_sg()
1361 entry->offset = s->offset, in debug_dma_map_sg()
1362 entry->size = sg_dma_len(s); in debug_dma_map_sg()
1363 entry->dev_addr = sg_dma_address(s); in debug_dma_map_sg()
1368 check_for_stack(dev, sg_page(s), s->offset); in debug_dma_map_sg()
1370 if (!PageHighMem(sg_page(s))) { in debug_dma_map_sg()
1371 check_for_illegal_area(dev, sg_virt(s), sg_dma_len(s)); in debug_dma_map_sg()
1374 check_sg_segment(dev, s); in debug_dma_map_sg()
1403 struct scatterlist *s; in debug_dma_unmap_sg() local
1409 for_each_sg(sglist, s, nelems, i) { in debug_dma_unmap_sg()
1414 .pfn = page_to_pfn(sg_page(s)), in debug_dma_unmap_sg()
1415 .offset = s->offset, in debug_dma_unmap_sg()
1416 .dev_addr = sg_dma_address(s), in debug_dma_unmap_sg()
1417 .size = sg_dma_len(s), in debug_dma_unmap_sg()
1579 struct scatterlist *s; in debug_dma_sync_sg_for_cpu() local
1585 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_cpu()
1590 .pfn = page_to_pfn(sg_page(s)), in debug_dma_sync_sg_for_cpu()
1591 .offset = s->offset, in debug_dma_sync_sg_for_cpu()
1592 .dev_addr = sg_dma_address(s), in debug_dma_sync_sg_for_cpu()
1593 .size = sg_dma_len(s), in debug_dma_sync_sg_for_cpu()
1612 struct scatterlist *s; in debug_dma_sync_sg_for_device() local
1618 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_device()
1623 .pfn = page_to_pfn(sg_page(s)), in debug_dma_sync_sg_for_device()
1624 .offset = s->offset, in debug_dma_sync_sg_for_device()
1625 .dev_addr = sg_dma_address(s), in debug_dma_sync_sg_for_device()
1626 .size = sg_dma_len(s), in debug_dma_sync_sg_for_device()