Home
last modified time | relevance | path

Searched refs:virt (Results 1 – 5 of 5) sorted by relevance

/kernel/dma/
Ddebug.h28 dma_addr_t dma_addr, void *virt,
32 void *virt, dma_addr_t addr);
83 dma_addr_t dma_addr, void *virt, in debug_dma_alloc_coherent() argument
89 void *virt, dma_addr_t addr) in debug_dma_free_coherent() argument
Ddebug.c1383 dma_addr_t dma_addr, void *virt, in debug_dma_alloc_coherent() argument
1391 if (unlikely(virt == NULL)) in debug_dma_alloc_coherent()
1395 if (!is_vmalloc_addr(virt) && !virt_addr_valid(virt)) in debug_dma_alloc_coherent()
1404 entry->offset = offset_in_page(virt); in debug_dma_alloc_coherent()
1409 if (is_vmalloc_addr(virt)) in debug_dma_alloc_coherent()
1410 entry->pfn = vmalloc_to_pfn(virt); in debug_dma_alloc_coherent()
1412 entry->pfn = page_to_pfn(virt_to_page(virt)); in debug_dma_alloc_coherent()
1418 void *virt, dma_addr_t addr) in debug_dma_free_coherent() argument
1423 .offset = offset_in_page(virt), in debug_dma_free_coherent()
1430 if (!is_vmalloc_addr(virt) && !virt_addr_valid(virt)) in debug_dma_free_coherent()
[all …]
/kernel/trace/
Dtrace_entries.h281 __field_desc( unsigned long, map, virt )
288 (unsigned long)__entry->phys, __entry->virt, __entry->len,
Dtrace_mmiotrace.c228 (unsigned long long)m->phys, m->virt, m->len, in mmio_print_map()
/kernel/events/
Dcore.c7360 static u64 perf_virt_to_phys(u64 virt) in perf_virt_to_phys() argument
7364 if (!virt) in perf_virt_to_phys()
7367 if (virt >= TASK_SIZE) { in perf_virt_to_phys()
7369 if (virt_addr_valid((void *)(uintptr_t)virt) && in perf_virt_to_phys()
7370 !(virt >= VMALLOC_START && virt < VMALLOC_END)) in perf_virt_to_phys()
7371 phys_addr = (u64)virt_to_phys((void *)(uintptr_t)virt); in perf_virt_to_phys()
7384 if (get_user_page_fast_only(virt, 0, &p)) { in perf_virt_to_phys()
7385 phys_addr = page_to_phys(p) + virt % PAGE_SIZE; in perf_virt_to_phys()