Searched refs:virt (Results 1 – 5 of 5) sorted by relevance
/kernel/dma/ |
D | debug.c | 1438 dma_addr_t dma_addr, void *virt) in debug_dma_alloc_coherent() argument 1445 if (unlikely(virt == NULL)) in debug_dma_alloc_coherent() 1449 if (!is_vmalloc_addr(virt) && !virt_addr_valid(virt)) in debug_dma_alloc_coherent() 1458 entry->offset = offset_in_page(virt); in debug_dma_alloc_coherent() 1463 if (is_vmalloc_addr(virt)) in debug_dma_alloc_coherent() 1464 entry->pfn = vmalloc_to_pfn(virt); in debug_dma_alloc_coherent() 1466 entry->pfn = page_to_pfn(virt_to_page(virt)); in debug_dma_alloc_coherent() 1472 void *virt, dma_addr_t addr) in debug_dma_free_coherent() argument 1477 .offset = offset_in_page(virt), in debug_dma_free_coherent() 1484 if (!is_vmalloc_addr(virt) && !virt_addr_valid(virt)) in debug_dma_free_coherent() [all …]
|
D | Makefile | 6 obj-$(CONFIG_DMA_VIRT_OPS) += virt.o
|
/kernel/trace/ |
D | trace_entries.h | 305 __field_desc( unsigned long, map, virt ) 312 (unsigned long)__entry->phys, __entry->virt, __entry->len,
|
D | trace_mmiotrace.c | 230 (unsigned long long)m->phys, m->virt, m->len, in mmio_print_map()
|
/kernel/events/ |
D | core.c | 6614 static u64 perf_virt_to_phys(u64 virt) in perf_virt_to_phys() argument 6618 if (!virt) in perf_virt_to_phys() 6621 if (virt >= TASK_SIZE) { in perf_virt_to_phys() 6623 if (virt_addr_valid((void *)(uintptr_t)virt) && in perf_virt_to_phys() 6624 !(virt >= VMALLOC_START && virt < VMALLOC_END)) in perf_virt_to_phys() 6625 phys_addr = (u64)virt_to_phys((void *)(uintptr_t)virt); in perf_virt_to_phys() 6638 if (__get_user_pages_fast(virt, 1, 0, &p) == 1) { in perf_virt_to_phys() 6639 phys_addr = page_to_phys(p) + virt % PAGE_SIZE; in perf_virt_to_phys()
|