Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c780 if (ZERO_OR_NULL_PTR(*pool)) in hl_mmu_hr_pool_destroy()
787 if (ZERO_OR_NULL_PTR(hop0_pgt->virt_addr)) in hl_mmu_hr_pool_destroy()
834 if (ZERO_OR_NULL_PTR(hr_priv->mmu_pgt_pool)) { in hl_mmu_hr_init()
840 if (ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) { in hl_mmu_hr_init()
850 if (ZERO_OR_NULL_PTR(virt_addr)) { in hl_mmu_hr_init()
885 if (!ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) in hl_mmu_hr_init()
909 if (!ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) { in hl_mmu_hr_fini()
1082 if (ZERO_OR_NULL_PTR(virt_addr)) in hl_mmu_hr_alloc_hop()
1093 if (ZERO_OR_NULL_PTR(virt_addr)) { in hl_mmu_hr_alloc_hop()
H A Dmmu_v1.c397 if (ZERO_OR_NULL_PTR(hdev->mmu_priv.dr.mmu_shadow_hop0)) { in hl_mmu_v1_init()
426 if (!ZERO_OR_NULL_PTR(hdev->mmu_priv.dr.mmu_shadow_hop0)) { in hl_mmu_v1_fini()
/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dint3400_thermal.c563 if (ZERO_OR_NULL_PTR(priv->data_vault)) in int3400_setup_gddv()
633 if (!ZERO_OR_NULL_PTR(priv->data_vault)) { in int3400_thermal_probe()
657 if (!ZERO_OR_NULL_PTR(priv->data_vault)) { in int3400_thermal_probe()
692 if (!ZERO_OR_NULL_PTR(priv->data_vault)) in int3400_thermal_remove()
/openbmc/linux/mm/
H A Dusercopy.c158 if (ZERO_OR_NULL_PTR(ptr)) in check_bogus_address()
H A Dslab_common.c1003 if (unlikely(ZERO_OR_NULL_PTR(s))) in __do_kmalloc_node()
1045 if (unlikely(ZERO_OR_NULL_PTR(object))) in kfree()
1382 if (likely(!ZERO_OR_NULL_PTR(p))) { in __do_krealloc()
1485 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in ksize()
H A Dutil.c678 if (likely(!ZERO_OR_NULL_PTR(addr))) { in kvfree_sensitive()
/openbmc/linux/drivers/base/
H A Ddevres.c871 if (unlikely(ZERO_OR_NULL_PTR(ptr))) in devm_krealloc()
1063 if (unlikely(is_kernel_rodata((unsigned long)p) || ZERO_OR_NULL_PTR(p))) in devm_kfree()
/openbmc/linux/include/linux/
H A Dslab.h177 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= \ macro
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c996 if (ZERO_OR_NULL_PTR(sq_wrid)) { in alloc_kernel_wrid()
1003 if (ZERO_OR_NULL_PTR(rq_wrid)) { in alloc_kernel_wrid()
H A Dhns_roce_hw_v2.c2549 if (ZERO_OR_NULL_PTR(hr_pd)) in free_mr_init_pd()
2580 if (ZERO_OR_NULL_PTR(hr_cq)) in free_mr_init_cq()
2613 if (ZERO_OR_NULL_PTR(hr_qp)) in free_mr_init_qp()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.c713 if (ZERO_OR_NULL_PTR(hdcp_work)) in hdcp_create_workqueue()
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dmemory.c143 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in alloc_device_memory()
891 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in init_phys_pg_pack_from_userptr()
H A Ddevice.c128 if (trace_habanalabs_dma_alloc_enabled() && !ZERO_OR_NULL_PTR(ptr)) in hl_dma_alloc_common()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-core.c1798 if (ZERO_OR_NULL_PTR(list)) { in coresight_alloc_device_name()
/openbmc/linux/fs/jbd2/
H A Dtransaction.c60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
/openbmc/linux/fs/
H A Dbinfmt_elf.c1669 if (ZERO_OR_NULL_PTR(data)) in fill_files_note()
/openbmc/linux/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c1195 if (ZERO_OR_NULL_PTR(rsikey.in_token.data)) { in svcauth_gss_legacy_init()
H A Dauth_gss.c2026 if (ZERO_OR_NULL_PTR(mic.data)) in gss_unwrap_resp_integ()
/openbmc/linux/kernel/bpf/
H A Dverifier.c1565 if (ZERO_OR_NULL_PTR(src)) in copy_array()