Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_cpu_queue_debugfs.c139 if (ZERO_OR_NULL_PTR(dump_buffer)) { in kbase_csf_cpu_queue_dump()
/OK3568_Linux_fs/kernel/mm/
H A Dusercopy.c155 if (ZERO_OR_NULL_PTR(ptr)) in check_bogus_address()
H A Dslob.c390 if (unlikely(ZERO_OR_NULL_PTR(block))) in slob_free()
546 if (unlikely(ZERO_OR_NULL_PTR(block))) in kfree()
H A Dslab_common.c1095 if (likely(!ZERO_OR_NULL_PTR(p))) { in __do_krealloc()
1205 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in ksize()
H A Dutil.c662 if (likely(!ZERO_OR_NULL_PTR(addr))) { in kvfree_sensitive()
H A Dslub.c4035 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc()
4083 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_node()
4186 if (unlikely(ZERO_OR_NULL_PTR(x))) in kfree()
4542 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_track_caller()
4573 if (unlikely(ZERO_OR_NULL_PTR(s))) in __kmalloc_node_track_caller()
H A Dslab.c3636 if (unlikely(ZERO_OR_NULL_PTR(cachep))) in __do_kmalloc_node()
3675 if (unlikely(ZERO_OR_NULL_PTR(cachep))) in __do_kmalloc()
3768 if (unlikely(ZERO_OR_NULL_PTR(objp))) in kfree()
/OK3568_Linux_fs/kernel/drivers/base/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dslab.h133 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= \ macro
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A 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()
/OK3568_Linux_fs/kernel/drivers/misc/habanalabs/common/
H A 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()
H A Dmmu_v1.c442 if (ZERO_OR_NULL_PTR(hdev->mmu_priv.mmu_shadow_hop0)) { in hl_mmu_v1_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.c608 if (ZERO_OR_NULL_PTR(hdcp_work)) in hdcp_create_workqueue()
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/
H A Dcoresight-core.c1742 if (ZERO_OR_NULL_PTR(list)) { in coresight_alloc_device_name()
/OK3568_Linux_fs/kernel/fs/jbd2/
H A Dtransaction.c60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_core_linux.c854 if (ZERO_OR_NULL_PTR(buf)) in kbase_legacy_dispatch()
1709 if (ZERO_OR_NULL_PTR(buf)) in kbase_api_mem_profile_add()
/OK3568_Linux_fs/kernel/fs/
H A Dbinfmt_elf.c1642 if (ZERO_OR_NULL_PTR(data)) in fill_files_note()