Searched refs:ZERO_OR_NULL_PTR (Results 1 – 19 of 19) sorted by relevance
815 if (ZERO_OR_NULL_PTR(*pool)) in hl_mmu_hr_pool_destroy()822 if (ZERO_OR_NULL_PTR(hop0_pgt->virt_addr)) in hl_mmu_hr_pool_destroy()869 if (ZERO_OR_NULL_PTR(hr_priv->mmu_pgt_pool)) { in hl_mmu_hr_init()875 if (ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) { in hl_mmu_hr_init()885 if (ZERO_OR_NULL_PTR(virt_addr)) { in hl_mmu_hr_init()920 if (!ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) in hl_mmu_hr_init()944 if (!ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) { in hl_mmu_hr_fini()1117 if (ZERO_OR_NULL_PTR(virt_addr)) in hl_mmu_hr_alloc_hop()1128 if (ZERO_OR_NULL_PTR(virt_addr)) { in hl_mmu_hr_alloc_hop()
398 if (ZERO_OR_NULL_PTR(hdev->mmu_priv.dr.mmu_shadow_hop0)) { in hl_mmu_v1_init()427 if (!ZERO_OR_NULL_PTR(hdev->mmu_priv.dr.mmu_shadow_hop0)) { in hl_mmu_v1_fini()
530 if (ZERO_OR_NULL_PTR(priv->data_vault)) in int3400_setup_gddv()600 if (!ZERO_OR_NULL_PTR(priv->data_vault)) { in int3400_thermal_probe()617 if (!ZERO_OR_NULL_PTR(priv->data_vault)) { in int3400_thermal_probe()650 if (!ZERO_OR_NULL_PTR(priv->data_vault)) in int3400_thermal_remove()
951 if (unlikely(ZERO_OR_NULL_PTR(s))) in __do_kmalloc_node()996 if (unlikely(ZERO_OR_NULL_PTR(object))) in kfree()1335 if (likely(!ZERO_OR_NULL_PTR(p))) { in __do_krealloc()1431 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in ksize()
157 if (ZERO_OR_NULL_PTR(ptr)) in check_bogus_address()
392 if (unlikely(ZERO_OR_NULL_PTR(block))) in slob_free()544 if (unlikely(ZERO_OR_NULL_PTR(block))) in kfree()
642 if (likely(!ZERO_OR_NULL_PTR(addr))) { in kvfree_sensitive()
866 if (unlikely(ZERO_OR_NULL_PTR(ptr))) in devm_krealloc()1055 if (unlikely(is_kernel_rodata((unsigned long)p) || ZERO_OR_NULL_PTR(p))) in devm_kfree()
145 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= \ macro
1026 if (ZERO_OR_NULL_PTR(sq_wrid)) { in alloc_kernel_wrid()1033 if (ZERO_OR_NULL_PTR(rq_wrid)) { in alloc_kernel_wrid()
2670 if (ZERO_OR_NULL_PTR(hr_pd)) in free_mr_init_pd()2701 if (ZERO_OR_NULL_PTR(hr_cq)) in free_mr_init_cq()2734 if (ZERO_OR_NULL_PTR(hr_qp)) in free_mr_init_qp()
654 if (ZERO_OR_NULL_PTR(hdcp_work)) in hdcp_create_workqueue()
141 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in alloc_device_memory()892 if (ZERO_OR_NULL_PTR(phys_pg_pack->pages)) { in init_phys_pg_pack_from_userptr()
126 if (trace_habanalabs_dma_alloc_enabled() && !ZERO_OR_NULL_PTR(ptr)) in hl_dma_alloc_common()
1774 if (ZERO_OR_NULL_PTR(list)) { in coresight_alloc_device_name()
60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
1669 if (ZERO_OR_NULL_PTR(data)) in fill_files_note()
2007 if (ZERO_OR_NULL_PTR(mic.data)) in gss_unwrap_resp_integ()
1007 if (ZERO_OR_NULL_PTR(src)) in copy_array()