Home
last modified time | relevance | path

Searched refs:ZERO_OR_NULL_PTR (Results 1 - 25 of 53) sorted by relevance

123

/kernel/linux/linux-6.6/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()
/kernel/linux/common_modules/tzdriver/core/
H A Dreserved_mempool.c162 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)g_res_zone)) { in create_zone()
168 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)g_res_zone->pages)) { in create_zone()
183 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)pages)) { in create_virt_pages()
289 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)smc_cmd)) { in res_mem_register()
295 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)operation)) { in res_mem_register()
H A Dmailbox_mempool.c329 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)new_entry)) { in mb_dbg_add_entry()
507 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)smc_cmd)) { in mailbox_register()
513 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)operation)) { in mailbox_register()
593 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)g_m_zone)) { in mailbox_mempool_init()
H A Dmem.c70 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)shared_mem)) { in tc_mem_allocate()
H A Dtz_update_crl.c102 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)(crl_buffer))) { in tc_ns_update_ta_crl()
H A Dtzdebug.c225 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)obuf)) in tz_dbg_opt_read()
302 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)mem_stat)) in memstat_debug_show()
H A Dtz_pm.c50 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)pages)) in tc_vmap()
H A Dshared_mem.c124 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)g_mailbox_page)) { in mailbox_alloc_pages()
H A Dgp_ops.c989 if (!ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)temp_buf)) { in free_operation()
1010 if (!ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)temp_buf)) { in free_operation()
1050 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)(op_params->smc_cmd))) { in alloc_for_client_call()
H A Dsmc_smp.c474 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)cmd_in)) { in show_cmd_bitmap()
480 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)cmd_out)) { in show_cmd_bitmap()
516 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)pe)) { in init_pending_entry()
1159 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)target_arg)) { in shadow_work_func()
H A Dtz_spi_notify.c562 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)new_callback)) { in tc_ns_register_service_call_back_func()
H A Dcmdmonitor.c464 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)newitem)) { in init_monitor_locked()
/kernel/linux/linux-6.6/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()
/kernel/linux/common_modules/tzdriver/auth/
H A Dclient_hash_auth.c229 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)desc)) { in calc_task_so_hash()
468 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)indata)) { in set_login_information_hash()
496 if (!ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)indata)) in set_login_information_hash()
H A Dauth_base_impl.c122 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)(*desc))) { in prepare_desc()
340 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)k_path)) { in check_proc_uid_path()
/kernel/linux/common_modules/tzdriver/
H A Dtc_ns_client.h36 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= (unsigned long)ZERO_SIZE_PTR) macro
/kernel/linux/linux-5.10/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()
544 if (unlikely(ZERO_OR_NULL_PTR(block))) in kfree()
/kernel/linux/linux-6.6/mm/
H A Dusercopy.c158 if (ZERO_OR_NULL_PTR(ptr)) in check_bogus_address()
H A Dslab_common.c1022 if (unlikely(ZERO_OR_NULL_PTR(s))) in __do_kmalloc_node()
1064 if (unlikely(ZERO_OR_NULL_PTR(object))) in kfree()
1401 if (likely(!ZERO_OR_NULL_PTR(p))) { in __do_krealloc()
1497 if (unlikely(ZERO_OR_NULL_PTR(objp)) || !kasan_check_byte(objp)) in ksize()
/kernel/linux/common_modules/tzdriver/tlogger/
H A Dtlogger.c509 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)reader)) in process_tlogger_open()
946 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)log)) { in register_device()
1226 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)addr)) { in get_msg_buffer()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/base/
H A Ddevres.c870 if (unlikely(ZERO_OR_NULL_PTR(ptr))) in devm_krealloc()
1059 if (unlikely(is_kernel_rodata((unsigned long)p) || ZERO_OR_NULL_PTR(p))) in devm_kfree()
/kernel/linux/linux-5.10/include/linux/
H A Dslab.h133 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= \ macro

Completed in 28 milliseconds

123