Home
last modified time | relevance | path

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

/linux/fs/jbd2/
H A Drevoke.c139 struct list_head *hash_list; in insert_revoke_hash() local
151 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
153 list_add(&record->hash, hash_list); in insert_revoke_hash()
163 struct list_head *hash_list; in find_revoke_record() local
166 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
169 record = (struct jbd2_revoke_record_s *) hash_list->next; in find_revoke_record()
170 while (&(record->hash) != hash_list) { in find_revoke_record()
251 struct list_head *hash_list; in jbd2_journal_destroy_revoke_table() local
254 hash_list = &table->hash_table[i]; in jbd2_journal_destroy_revoke_table()
255 J_ASSERT(list_empty(hash_list)); in jbd2_journal_destroy_revoke_table()
[all …]
/linux/io_uring/
H A Dnapi.c21 static struct io_napi_entry *io_napi_hash_find(struct hlist_head *hash_list, in io_napi_hash_find() argument
26 hlist_for_each_entry_rcu(e, hash_list, node) { in io_napi_hash_find()
43 struct hlist_head *hash_list; in __io_napi_add() local
58 hash_list = &ctx->napi_ht[hash_min(napi_id, HASH_BITS(ctx->napi_ht))]; in __io_napi_add()
61 e = io_napi_hash_find(hash_list, napi_id); in __io_napi_add()
77 if (unlikely(io_napi_hash_find(hash_list, napi_id))) { in __io_napi_add()
83 hlist_add_tail_rcu(&e->node, hash_list); in __io_napi_add()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dclip_tbl.c89 list_for_each_entry(cte, &ctbl->hash_list[hash], list) { in cxgb4_clip_get()
113 list_add_tail(&ce->list, &ctbl->hash_list[hash]); in cxgb4_clip_get()
161 list_for_each_entry(cte, &ctbl->hash_list[hash], list) { in cxgb4_clip_release()
262 list_for_each_entry(ce, &ctbl->hash_list[i], list) { in clip_tbl_show()
290 ctbl = kvzalloc(struct_size(ctbl, hash_list, clipt_size), GFP_KERNEL); in t4_init_clip_tbl()
302 INIT_LIST_HEAD(&ctbl->hash_list[i]); in t4_init_clip_tbl()
H A Dclip_tbl.h32 struct list_head hash_list[] __counted_by(clipt_size);
/linux/drivers/staging/rtl8712/
H A Drtl871x_sta_mgt.c30 INIT_LIST_HEAD(&psta->hash_list); in _init_stainfo()
114 list_add_tail(&psta->hash_list, phash_list); in r8712_alloc_stainfo()
172 list_del_init(&psta->hash_list); in r8712_free_stainfo()
208 struct sta_info, hash_list); in r8712_free_all_stainfo()
232 psta = container_of(plist, struct sta_info, hash_list); in r8712_get_stainfo()
H A Dsta_info.h47 struct list_head hash_list; /*sta_hash*/ member
/linux/drivers/md/
H A Ddm-region-hash.c110 struct list_head hash_list; member
248 hash_list) { in dm_region_hash_destroy()
279 list_for_each_entry(reg, bucket, hash_list) in __rh_lookup()
288 list_add(&reg->hash_list, rh->buckets + rh_hash(rh, reg->key)); in __rh_insert()
460 list_del(&reg->hash_list); in dm_rh_update_states()
467 list_del(&reg->hash_list); in dm_rh_update_states()
475 list_del(&reg->hash_list); in dm_rh_update_states()
H A Ddm-exception-store.h32 struct hlist_bl_node hash_list; member
/linux/lib/
H A Dstackdepot.c336 INIT_LIST_HEAD(&stack->hash_list); in depot_pop_free_pool()
482 list_del_rcu(&stack->hash_list); in depot_free_stack()
552 list_for_each_entry_rcu(stack, bucket, hash_list) { in find_stack()
647 list_add_rcu(&new->hash_list, bucket); in stack_depot_save_flags()
/linux/fs/btrfs/
H A Draid56.c124 struct list_head hash_list; member
172 WARN_ON(!list_empty(&rbio->hash_list)); in free_raid_bio()
227 INIT_LIST_HEAD(&cur->hash_list); in btrfs_alloc_stripe_hash_table()
466 if (!list_empty(&rbio->hash_list)) { in __remove_rbio_from_cache()
467 list_del_init(&rbio->hash_list); in __remove_rbio_from_cache()
739 list_for_each_entry(cur, &h->hash_list, hash_list) { in lock_stripe_add()
750 list_del_init(&cur->hash_list); in lock_stripe_add()
796 list_add(&rbio->hash_list, &h->hash_list); in lock_stripe_add()
827 if (!list_empty(&rbio->hash_list)) { in unlock_stripe()
841 list_del_init(&rbio->hash_list); in unlock_stripe()
[all …]
H A Draid56.h35 struct list_head hash_list; member
/linux/include/linux/
H A Dstackdepot.h54 struct list_head hash_list; /* Links in the hash table */ member
/linux/drivers/net/ethernet/intel/igbvf/
H A Dvf.c214 u16 *hash_list = (u16 *)&msgbuf[1]; in e1000_update_mc_addr_list_vf() local
234 hash_list[i] = hash_value & 0x0FFFF; in e1000_update_mc_addr_list_vf()
/linux/arch/powerpc/kvm/
H A Dbook3s_mmu_hpte.c343 static void kvmppc_mmu_hpte_init_hash(struct hlist_head *hash_list, int len) in kvmppc_mmu_hpte_init_hash() argument
348 INIT_HLIST_HEAD(&hash_list[i]); in kvmppc_mmu_hpte_init_hash()
/linux/drivers/staging/rtl8723bs/include/
H A Dsta_info.h74 struct list_head hash_list; /* sta_hash */ member
/linux/drivers/crypto/ccree/
H A Dcc_hash.c25 struct list_head hash_list; member
1965 INIT_LIST_HEAD(&hash_handle->hash_list); in cc_hash_alloc()
2025 list_add_tail(&t_alg->entry, &hash_handle->hash_list); in cc_hash_alloc()
2048 list_add_tail(&t_alg->entry, &hash_handle->hash_list); in cc_hash_alloc()
2063 list_for_each_entry_safe(t_hash_alg, hash_n, &hash_handle->hash_list, in cc_hash_free()
/linux/drivers/crypto/caam/
H A Dcaamalg_qi2.c5190 static struct list_head hash_list; variable
5368 INIT_LIST_HEAD(&hash_list); in dpaa2_caam_probe()
5397 list_add_tail(&t_alg->entry, &hash_list); in dpaa2_caam_probe()
5416 list_add_tail(&t_alg->entry, &hash_list); in dpaa2_caam_probe()
5419 if (!list_empty(&hash_list)) in dpaa2_caam_probe()
5463 if (hash_list.next) { in dpaa2_caam_remove()
5466 list_for_each_entry_safe(t_hash_alg, p, &hash_list, entry) { in dpaa2_caam_remove()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c367 u16 *hash_list = (u16 *)&msgbuf[1]; in ixgbe_set_vf_multicasts() local
391 vfinfo->vf_mc_hashes[i] = hash_list[i]; in ixgbe_set_vf_multicasts()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c7277 u16 *hash_list = (u16 *)&msgbuf[1]; in igb_set_vf_multicasts() local
7293 vf_data->vf_mc_hashes[i] = hash_list[i]; in igb_set_vf_multicasts()