Lines Matching refs:offset
76 size_t offset; member
393 return __pfn_to_phys(entry->pfn) + entry->offset; in phys_addr()
395 return page_to_phys(pfn_to_page(entry->pfn)) + entry->offset; in phys_addr()
458 (entry->offset >> L1_CACHE_SHIFT); in to_cacheline_number()
1050 struct page *page, size_t offset) in check_for_stack() argument
1059 addr = page_address(page) + offset; in check_for_stack()
1070 addr = (u8 *)current->stack + i * PAGE_SIZE + offset; in check_for_stack()
1202 void debug_dma_map_page(struct device *dev, struct page *page, size_t offset, in debug_dma_map_page() argument
1221 entry->offset = offset; in debug_dma_map_page()
1227 check_for_stack(dev, page, offset); in debug_dma_map_page()
1230 void *addr = page_address(page) + offset; in debug_dma_map_page()
1304 check_for_stack(dev, sg_page(s), s->offset); in debug_dma_map_sg()
1317 entry->offset = s->offset; in debug_dma_map_sg()
1364 .offset = s->offset, in debug_dma_unmap_sg()
1403 entry->offset = offset_in_page(virt); in debug_dma_alloc_coherent()
1422 .offset = offset_in_page(virt), in debug_dma_free_coherent()
1459 entry->offset = offset_in_page(addr); in debug_dma_map_resource()
1537 .offset = s->offset, in debug_dma_sync_sg_for_cpu()
1569 .offset = s->offset, in debug_dma_sync_sg_for_device()