Searched refs:hash_empty (Results 1 – 16 of 16) sorted by relevance
30 KUNIT_EXPECT_TRUE(test, hash_empty(hash1)); in hashtable_test_hash_init() 31 KUNIT_EXPECT_TRUE(test, hash_empty(hash2)); in hashtable_test_hash_init() 39 KUNIT_EXPECT_TRUE(test, hash_empty(hash)); in hashtable_test_hash_empty() 46 KUNIT_EXPECT_FALSE(test, hash_empty(hash)); in hashtable_test_hash_empty() 120 KUNIT_EXPECT_TRUE(test, hash_empty(hash)); in hashtable_test_hash_del()
81 * hash_empty - check whether a hashtable is empty87 #define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable)) macro
93 * hash_empty - check whether a hashtable is empty99 #define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable)) macro
174 WARN_ON(!hash_empty(vxlan->htable)); in mlx5_vxlan_destroy()
50 WARN_ON(!hash_empty(tbl->hlist)); in mlx5e_mod_hdr_tbl_destroy()
46 if (!hash_empty(ctx->mmu_shadow_hash)) in hl_mmu_v2_ctx_fini()
102 if (!hash_empty(ctx->hr_mmu_phys_hash)) in hl_mmu_v2_hr_ctx_fini()
207 if (!hash_empty(ctx->mmu_shadow_hash)) in hl_mmu_v1_ctx_fini()
177 if (!hash_empty(cdev->connections)) { in qed_nvmetcp_stop()
781 if (!hash_empty(cdev->connections)) { in qed_fcoe_stop()
1088 if (!hash_empty(cdev->connections)) { in qed_iscsi_stop()
94 return !hash_empty(pf->vfs.table); in ice_has_vfs()
1488 if (hash_empty(kfd_processes_table) && !kfd_is_locked(kfd)) in kgd2kfd_check_and_lock_kfd()
1281 if (hash_empty(kfd_processes_table)) { in kfd_process_notifier_release()
2763 if (!hdev->reset_info.hard_reset_pending && !hash_empty(ctx->mem_hash)) in hl_vm_ctx_fini()
3634 if (!hash_empty(vport->hash_table)) in lpfc_cmpl_ct_cmd_vmid()