Home
last modified time | relevance | path

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

/linux/mm/
A Dusercopy.c155 if (ZERO_OR_NULL_PTR(ptr)) in check_bogus_address()
A Dslob.c390 if (unlikely(ZERO_OR_NULL_PTR(block))) in slob_free()
551 if (unlikely(ZERO_OR_NULL_PTR(block))) in kfree()
A Dslab_common.c1187 if (likely(!ZERO_OR_NULL_PTR(p))) { in __do_krealloc()
1297 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in ksize()
A Dutil.c635 if (likely(!ZERO_OR_NULL_PTR(addr))) { in kvfree_sensitive()
A Dslub.c4416 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc()
4464 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_node()
4553 if (unlikely(ZERO_OR_NULL_PTR(x))) in kfree()
4922 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_track_caller()
4953 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_node_track_caller()
A Dslab.c3637 if (unlikely(ZERO_OR_NULL_PTR(cachep))) in __do_kmalloc_node()
3698 if (unlikely(ZERO_OR_NULL_PTR(cachep))) in __do_kmalloc()
3790 if (unlikely(ZERO_OR_NULL_PTR(objp))) in kfree()
/linux/drivers/base/
A 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/drivers/misc/habanalabs/common/mmu/
A 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/include/linux/
A Dslab.h133 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= \ macro
/linux/drivers/infiniband/hw/hns/
A 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/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_hdcp.c641 if (ZERO_OR_NULL_PTR(hdcp_work)) in hdcp_create_workqueue()
/linux/drivers/misc/habanalabs/common/
A Dmemory.c104 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in alloc_device_memory()
876 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in init_phys_pg_pack_from_userptr()
/linux/drivers/hwtracing/coresight/
A Dcoresight-core.c1736 if (ZERO_OR_NULL_PTR(list)) { in coresight_alloc_device_name()
/linux/fs/jbd2/
A Dtransaction.c60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
/linux/fs/
A Dbinfmt_elf.c1647 if (ZERO_OR_NULL_PTR(data)) in fill_files_note()
/linux/kernel/bpf/
A Dverifier.c764 if (ZERO_OR_NULL_PTR(src)) in copy_array()

Completed in 72 milliseconds