Home
last modified time | relevance | path

Searched refs:virt_addr_valid (Results 1 – 25 of 44) sorted by relevance

12

/linux/arch/m68k/include/asm/
H A Dpage_mm.h144 #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 Dprocessor.h156 (virt_addr_valid((tsk)->thread.esp0))) \
/linux/arch/powerpc/kernel/
H A Dstacktrace.c190 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 Dkmsan.h51 ret = virt_addr_valid(addr); in kmsan_virt_addr_valid()
/linux/arch/x86/xen/
H A Dmmu.c28 if (virt_addr_valid(vaddr)) in arbitrary_virt_to_machine()
/linux/include/xen/arm/
H A Dpage.h81 WARN_ON_ONCE(!virt_addr_valid(v)); \
/linux/arch/arc/include/asm/
H A Dpage.h129 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr)) macro
/linux/arch/um/include/asm/
H A Dpage.h92 #define virt_addr_valid(v) pfn_valid(phys_to_pfn(__pa(v))) macro
/linux/mm/
H A Dusercopy.c189 if (!virt_addr_valid(ptr)) in check_heap_object()
H A Dslab_common.c606 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 Dutil.c1166 else if (virt_addr_valid(object)) in mem_dump_obj()
/linux/arch/riscv/include/asm/
H A Dpage.h206 #define virt_addr_valid(vaddr) ({ \ macro
/linux/drivers/mtd/nand/onenand/
H A Donenand_omap2.c378 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 Dhbmc-am654.c84 if (!priv->rx_chan || !virt_addr_valid(to) || object_is_on_stack(to)) in am654_hbmc_dma_read()
/linux/kernel/dma/
H A Ddebug.c1194 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 Dfwio.c85 if (!virt_addr_valid(buf)) { in wfx_sram_write_dma_safe()
/linux/mm/kasan/
H A Dcommon.c37 if (virt_addr_valid(addr)) in kasan_addr_to_slab()
H A Dkasan.h353 return (is_vmalloc_addr(addr) || virt_addr_valid(addr)); in addr_has_metadata()
H A Dreport.c288 if (virt_addr_valid(addr)) in addr_to_page()
/linux/include/linux/
H A Dscatterlist.h187 BUG_ON(!virt_addr_valid(buf)); in sg_set_buf()
/linux/drivers/block/aoe/
H A Daoeblk.c212 if (!virt_addr_valid(d)) { in aoeblk_open()
/linux/drivers/tee/optee/
H A Dcall.c634 if (virt_addr_valid((void *)start) || is_vmalloc_addr((void *)start)) in optee_check_mem_type()
/linux/fs/proc/
H A Dkcore.c216 if (!virt_addr_valid((void *)ent->addr)) in kclist_add_private()
/linux/lib/kunit/
H A Dtest.c813 if (!suite_set.start || !virt_addr_valid(suite_set.start)) in kunit_module_exit()
/linux/drivers/scsi/qedf/
H A Dqedf_io.c1354 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()

12