Home
last modified time | relevance | path

Searched refs:ZERO_OR_NULL_PTR (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dusercopy.c155 if (ZERO_OR_NULL_PTR(ptr)) in check_bogus_address()
Dslob.c390 if (unlikely(ZERO_OR_NULL_PTR(block))) in slob_free()
544 if (unlikely(ZERO_OR_NULL_PTR(block))) in kfree()
Dutil.c657 if (likely(!ZERO_OR_NULL_PTR(addr))) { in kvfree_sensitive()
Dslab_common.c1170 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !__kasan_check_read(objp, 1)) in ksize()
Dslub.c3967 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc()
4015 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_node()
4114 if (unlikely(ZERO_OR_NULL_PTR(x))) in kfree()
4465 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_track_caller()
4496 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_node_track_caller()
Dslab.c3613 if (unlikely(ZERO_OR_NULL_PTR(cachep))) in __do_kmalloc_node()
3652 if (unlikely(ZERO_OR_NULL_PTR(cachep))) in __do_kmalloc()
3745 if (unlikely(ZERO_OR_NULL_PTR(objp))) in kfree()
/kernel/linux/linux-5.10/drivers/base/
Ddevres.c875 if (unlikely(ZERO_OR_NULL_PTR(ptr))) in devm_krealloc()
1064 if (unlikely(is_kernel_rodata((unsigned long)p) || ZERO_OR_NULL_PTR(p))) in devm_kfree()
/kernel/linux/linux-5.10/include/linux/
Dslab.h133 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= \ macro
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c608 if (ZERO_OR_NULL_PTR(hdcp_work)) in hdcp_create_workqueue()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmemory.c101 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in alloc_device_memory()
682 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in init_phys_pg_pack_from_userptr()
Dmmu_v1.c442 if (ZERO_OR_NULL_PTR(hdev->mmu_priv.mmu_shadow_hop0)) { in hl_mmu_v1_init()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c808 if (ZERO_OR_NULL_PTR(sq_wrid)) { in alloc_kernel_wrid()
815 if (ZERO_OR_NULL_PTR(rq_wrid)) { in alloc_kernel_wrid()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-core.c1659 if (ZERO_OR_NULL_PTR(list)) { in coresight_alloc_device_name()
/kernel/linux/linux-5.10/fs/jbd2/
Dtransaction.c60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
/kernel/linux/linux-5.10/fs/
Dbinfmt_elf.c1665 if (ZERO_OR_NULL_PTR(data)) in fill_files_note()