/linux/arch/m68k/include/asm/ |
H A D | page_mm.h | 144 #define virt_addr_valid(kaddr) ((unsigned long)(kaddr) >= PAGE_OFFSET && (unsigned long)(kaddr) < (… macro 145 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn))
|
H A D | processor.h | 156 (virt_addr_valid((tsk)->thread.esp0))) \
|
/linux/arch/powerpc/kernel/ |
H A D | stacktrace.c | 190 if (!virt_addr_valid(p)) { in raise_backtrace_ipi() 198 if (virt_addr_valid(p->__current)) in raise_backtrace_ipi()
|
/linux/arch/s390/include/asm/ |
H A D | kmsan.h | 51 ret = virt_addr_valid(addr); in kmsan_virt_addr_valid()
|
/linux/arch/x86/xen/ |
H A D | mmu.c | 28 if (virt_addr_valid(vaddr)) in arbitrary_virt_to_machine()
|
/linux/include/xen/arm/ |
H A D | page.h | 81 WARN_ON_ONCE(!virt_addr_valid(v)); \
|
/linux/arch/arc/include/asm/ |
H A D | page.h | 129 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr)) macro
|
/linux/arch/um/include/asm/ |
H A D | page.h | 92 #define virt_addr_valid(v) pfn_valid(phys_to_pfn(__pa(v))) macro
|
/linux/mm/ |
H A D | usercopy.c | 189 if (!virt_addr_valid(ptr)) in check_heap_object()
|
H A D | slab_common.c | 606 if (object < (void *)PAGE_SIZE || !virt_addr_valid(object)) in kmem_dump_obj() 1269 if (!virt_addr_valid((void *)(long)addr)) in bpf_get_kmem_cache()
|
H A D | util.c | 1166 else if (virt_addr_valid(object)) in mem_dump_obj()
|
/linux/arch/riscv/include/asm/ |
H A D | page.h | 206 #define virt_addr_valid(vaddr) ({ \ macro
|
/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_omap2.c | 378 if (!virt_addr_valid(buf) || bram_offset & 3 || (size_t)buf & 3 || in omap2_onenand_read_bufferram() 425 if (!virt_addr_valid(buf) || bram_offset & 3 || (size_t)buf & 3 || in omap2_onenand_write_bufferram()
|
/linux/drivers/mtd/hyperbus/ |
H A D | hbmc-am654.c | 84 if (!priv->rx_chan || !virt_addr_valid(to) || object_is_on_stack(to)) in am654_hbmc_dma_read()
|
/linux/kernel/dma/ |
H A D | debug.c | 1194 if (!virt_addr_valid(addr)) in debug_dma_map_single() 1405 if (!is_vmalloc_addr(virt) && !virt_addr_valid(virt)) in debug_dma_alloc_coherent() 1434 if (!is_vmalloc_addr(virt) && !virt_addr_valid(virt)) in debug_dma_free_coherent()
|
/linux/drivers/net/wireless/silabs/wfx/ |
H A D | fwio.c | 85 if (!virt_addr_valid(buf)) { in wfx_sram_write_dma_safe()
|
/linux/mm/kasan/ |
H A D | common.c | 37 if (virt_addr_valid(addr)) in kasan_addr_to_slab()
|
H A D | kasan.h | 353 return (is_vmalloc_addr(addr) || virt_addr_valid(addr)); in addr_has_metadata()
|
H A D | report.c | 288 if (virt_addr_valid(addr)) in addr_to_page()
|
/linux/include/linux/ |
H A D | scatterlist.h | 187 BUG_ON(!virt_addr_valid(buf)); in sg_set_buf()
|
/linux/drivers/block/aoe/ |
H A D | aoeblk.c | 212 if (!virt_addr_valid(d)) { in aoeblk_open()
|
/linux/drivers/tee/optee/ |
H A D | call.c | 634 if (virt_addr_valid((void *)start) || is_vmalloc_addr((void *)start)) in optee_check_mem_type()
|
/linux/fs/proc/ |
H A D | kcore.c | 216 if (!virt_addr_valid((void *)ent->addr)) in kclist_add_private()
|
/linux/lib/kunit/ |
H A D | test.c | 813 if (!suite_set.start || !virt_addr_valid(suite_set.start)) in kunit_module_exit()
|
/linux/drivers/scsi/qedf/ |
H A D | qedf_io.c | 1354 if (!virt_addr_valid(sc_cmd)) { in qedf_scsi_done() 1371 if (!virt_addr_valid(sc_cmd->device)) { in qedf_scsi_done() 1384 if (!virt_addr_valid(sc_cmd->sense_buffer)) { in qedf_scsi_done()
|