Home
last modified time | relevance | path

Searched refs:ZERO_OR_NULL_PTR (Results 1 – 9 of 9) 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/mm/
H A Dusercopy.c158 if (ZERO_OR_NULL_PTR(ptr)) in check_bogus_address()
H A Dslub.c6722 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in free_large_kmalloc()
6789 if (unlikely(ZERO_OR_NULL_PTR(object))) in kfree()
6820 if (unlikely(ZERO_OR_NULL_PTR(object))) in kfree_nolock()
6881 if (unlikely(ZERO_OR_NULL_PTR(p))) in __do_krealloc()
7094 if (likely(!ZERO_OR_NULL_PTR(addr))) { in kvrealloc_node_align_noprof()
/linux/include/linux/
H A Dslab.h273 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= \ macro
/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/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c1188 if (ZERO_OR_NULL_PTR(rsikey.in_token.data)) { in svcauth_gss_legacy_init()
H A Dauth_gss.c2031 if (ZERO_OR_NULL_PTR(mic.data)) in gss_unwrap_resp_integ()
/linux/kernel/bpf/
H A Dverifier.c1281 if (ZERO_OR_NULL_PTR(src)) in copy_array()