• Home
  • Raw
  • Download

Lines Matching refs:s

1297 	struct scatterlist *s;  in debug_dma_map_sg()  local
1303 for_each_sg(sg, s, nents, i) { in debug_dma_map_sg()
1304 check_for_stack(dev, sg_page(s), s->offset); in debug_dma_map_sg()
1305 if (!PageHighMem(sg_page(s))) in debug_dma_map_sg()
1306 check_for_illegal_area(dev, sg_virt(s), s->length); in debug_dma_map_sg()
1309 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg()
1316 entry->pfn = page_to_pfn(sg_page(s)); in debug_dma_map_sg()
1317 entry->offset = s->offset; in debug_dma_map_sg()
1318 entry->size = sg_dma_len(s); in debug_dma_map_sg()
1319 entry->dev_addr = sg_dma_address(s); in debug_dma_map_sg()
1324 check_sg_segment(dev, s); in debug_dma_map_sg()
1352 struct scatterlist *s; in debug_dma_unmap_sg() local
1358 for_each_sg(sglist, s, nelems, i) { in debug_dma_unmap_sg()
1363 .pfn = page_to_pfn(sg_page(s)), in debug_dma_unmap_sg()
1364 .offset = s->offset, in debug_dma_unmap_sg()
1365 .dev_addr = sg_dma_address(s), in debug_dma_unmap_sg()
1366 .size = sg_dma_len(s), in debug_dma_unmap_sg()
1525 struct scatterlist *s; in debug_dma_sync_sg_for_cpu() local
1531 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_cpu()
1536 .pfn = page_to_pfn(sg_page(s)), in debug_dma_sync_sg_for_cpu()
1537 .offset = s->offset, in debug_dma_sync_sg_for_cpu()
1538 .dev_addr = sg_dma_address(s), in debug_dma_sync_sg_for_cpu()
1539 .size = sg_dma_len(s), in debug_dma_sync_sg_for_cpu()
1557 struct scatterlist *s; in debug_dma_sync_sg_for_device() local
1563 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_device()
1568 .pfn = page_to_pfn(sg_page(s)), in debug_dma_sync_sg_for_device()
1569 .offset = s->offset, in debug_dma_sync_sg_for_device()
1570 .dev_addr = sg_dma_address(s), in debug_dma_sync_sg_for_device()
1571 .size = sg_dma_len(s), in debug_dma_sync_sg_for_device()