Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c787 if (ZERO_OR_NULL_PTR(*pool)) in hl_mmu_hr_pool_destroy()
794 if (ZERO_OR_NULL_PTR(hop0_pgt->virt_addr)) in hl_mmu_hr_pool_destroy()
841 if (ZERO_OR_NULL_PTR(hr_priv->mmu_pgt_pool)) { in hl_mmu_hr_init()
847 if (ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) { in hl_mmu_hr_init()
857 if (ZERO_OR_NULL_PTR(virt_addr)) { in hl_mmu_hr_init()
892 if (!ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) in hl_mmu_hr_init()
916 if (!ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) { in hl_mmu_hr_fini()
1089 if (ZERO_OR_NULL_PTR(virt_addr)) in hl_mmu_hr_alloc_hop()
1100 if (ZERO_OR_NULL_PTR(virt_addr)) { in hl_mmu_hr_alloc_hop()
1404 if (ZERO_OR_NULL_PTR(hdev->mmu_priv.dr.mmu_shadow_hop0)) { in hl_mmu_dr_init()
[all …]
/linux/drivers/thermal/intel/int340x_thermal/
H A Dint3400_thermal.c546 if (ZERO_OR_NULL_PTR(priv->data_vault)) in int3400_setup_gddv()
616 if (!ZERO_OR_NULL_PTR(priv->data_vault)) { in int3400_thermal_probe()
639 if (!ZERO_OR_NULL_PTR(priv->data_vault)) { in int3400_thermal_probe()
674 if (!ZERO_OR_NULL_PTR(priv->data_vault)) in int3400_thermal_remove()
/linux/mm/
H A Dusercopy.c158 if (ZERO_OR_NULL_PTR(ptr)) in check_bogus_address()
H A Dslab_common.c1254 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in ksize()
H A Dslub.c6834 if (unlikely(ZERO_OR_NULL_PTR(object))) in kfree()
6865 if (unlikely(ZERO_OR_NULL_PTR(object))) in kfree_nolock()
6922 if (unlikely(ZERO_OR_NULL_PTR(p))) in __do_krealloc()
7166 if (likely(!ZERO_OR_NULL_PTR(addr))) { in kvfree_sensitive()
/linux/drivers/base/
H A Ddevres.c905 if (unlikely(ZERO_OR_NULL_PTR(ptr))) in devm_krealloc()
1090 if (unlikely(is_kernel_rodata((unsigned long)p) || ZERO_OR_NULL_PTR(p))) in devm_kfree()
/linux/include/linux/
H A Dslab.h257 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= \ macro
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crtc.c235 if (ZERO_OR_NULL_PTR(idle_work)) in idle_create_workqueue()
H A Damdgpu_dm_hdcp.c741 if (ZERO_OR_NULL_PTR(hdcp_work)) in hdcp_create_workqueue()
/linux/drivers/accel/habanalabs/common/
H A Dmemory.c143 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in alloc_device_memory()
890 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in init_phys_pg_pack_from_userptr()
H A Ddevice.c134 if (trace_habanalabs_dma_alloc_enabled() && !ZERO_OR_NULL_PTR(ptr)) in hl_dma_alloc_common()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-core.c1548 if (ZERO_OR_NULL_PTR(list)) { in coresight_alloc_device_name()
/linux/fs/jbd2/
H A Dtransaction.c60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
/linux/fs/
H A Dbinfmt_elf.c1621 if (ZERO_OR_NULL_PTR(data)) in fill_files_note()
/linux/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c1185 if (ZERO_OR_NULL_PTR(rsikey.in_token.data)) { in svcauth_gss_legacy_init()
H A Dauth_gss.c2030 if (ZERO_OR_NULL_PTR(mic.data)) in gss_unwrap_resp_integ()
/linux/kernel/events/
H A Duprobes.c2579 if (!ZERO_OR_NULL_PTR(ri)) in handler_chain()
/linux/kernel/bpf/
H A Dverifier.c1357 if (ZERO_OR_NULL_PTR(src)) in copy_array()