Home
last modified time | relevance | path

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

/Linux-v5.15/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()
551 if (unlikely(ZERO_OR_NULL_PTR(block))) in kfree()
Dslab_common.c1195 if (likely(!ZERO_OR_NULL_PTR(p))) { in __do_krealloc()
1305 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in ksize()
Dutil.c635 if (likely(!ZERO_OR_NULL_PTR(addr))) { in kvfree_sensitive()
Dslub.c4393 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc()
4441 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_node()
4544 if (unlikely(ZERO_OR_NULL_PTR(x))) in kfree()
4913 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_track_caller()
4944 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_node_track_caller()
Dslab.c3637 if (unlikely(ZERO_OR_NULL_PTR(cachep))) in __do_kmalloc_node()
3698 if (unlikely(ZERO_OR_NULL_PTR(cachep))) in __do_kmalloc()
3791 if (unlikely(ZERO_OR_NULL_PTR(objp))) in kfree()
/Linux-v5.15/drivers/base/
Ddevres.c864 if (unlikely(ZERO_OR_NULL_PTR(ptr))) in devm_krealloc()
1053 if (unlikely(is_kernel_rodata((unsigned long)p) || ZERO_OR_NULL_PTR(p))) in devm_kfree()
/Linux-v5.15/include/linux/
Dslab.h133 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= \ macro
/Linux-v5.15/drivers/misc/habanalabs/common/mmu/
Dmmu_v1.c441 if (ZERO_OR_NULL_PTR(hdev->mmu_priv.dr.mmu_shadow_hop0)) { in hl_mmu_v1_init()
470 if (!ZERO_OR_NULL_PTR(hdev->mmu_priv.hr.mmu_shadow_hop0)) { in hl_mmu_v1_fini()
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c633 if (ZERO_OR_NULL_PTR(hdcp_work)) in hdcp_create_workqueue()
/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_qp.c951 if (ZERO_OR_NULL_PTR(sq_wrid)) { in alloc_kernel_wrid()
958 if (ZERO_OR_NULL_PTR(rq_wrid)) { in alloc_kernel_wrid()
/Linux-v5.15/drivers/misc/habanalabs/common/
Dmemory.c101 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in alloc_device_memory()
867 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in init_phys_pg_pack_from_userptr()
/Linux-v5.15/drivers/hwtracing/coresight/
Dcoresight-core.c1736 if (ZERO_OR_NULL_PTR(list)) { in coresight_alloc_device_name()
/Linux-v5.15/fs/jbd2/
Dtransaction.c60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
/Linux-v5.15/fs/
Dbinfmt_elf.c1634 if (ZERO_OR_NULL_PTR(data)) in fill_files_note()
/Linux-v5.15/kernel/bpf/
Dverifier.c756 if (ZERO_OR_NULL_PTR(src)) in copy_array()