| /linux/fs/jbd2/ |
| H A D | revoke.c | 139 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 D | napi.c | 21 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_id() local 50 hash_list = &ctx->napi_ht[hash_min(napi_id, HASH_BITS(ctx->napi_ht))]; in __io_napi_add_id() 53 e = io_napi_hash_find(hash_list, napi_id); in __io_napi_add_id() 72 if (unlikely(io_napi_hash_find(hash_list, napi_id))) { in __io_napi_add_id() 78 hlist_add_tail_rcu(&e->node, hash_list); in __io_napi_add_id() 86 struct hlist_head *hash_list; in __io_napi_del_id() local 93 hash_list = &ctx->napi_ht[hash_min(napi_id, HASH_BITS(ctx->napi_ht))]; in __io_napi_del_id() 95 e = io_napi_hash_find(hash_list, napi_id); in __io_napi_del_id()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | clip_tbl.c | 89 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_flex(*ctbl, hash_list, clipt_size); in t4_init_clip_tbl() 302 INIT_LIST_HEAD(&ctbl->hash_list[i]); in t4_init_clip_tbl()
|
| H A D | clip_tbl.h | 32 struct list_head hash_list[] __counted_by(clipt_size);
|
| /linux/drivers/md/ |
| H A D | dm-region-hash.c | 110 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(®->hash_list, rh->buckets + rh_hash(rh, reg->key)); in __rh_insert() 460 list_del(®->hash_list); in dm_rh_update_states() 467 list_del(®->hash_list); in dm_rh_update_states() 475 list_del(®->hash_list); in dm_rh_update_states()
|
| H A D | dm-snap.c | 323 struct list_head hash_list; member 336 struct list_head hash_list; member 396 list_for_each_entry(o, ol, hash_list) in __lookup_origin() 407 list_add_tail(&o->hash_list, sl); in __insert_origin() 416 list_for_each_entry(o, ol, hash_list) in __lookup_dm_origin() 427 list_add_tail(&o->hash_list, sl); in __insert_dm_origin() 432 list_del(&o->hash_list); in __remove_dm_origin() 617 list_del(&o->hash_list); in unregister_snapshot() 690 hlist_for_each_entry_safe(ex, pos, &slot->head, hash_list) { in dm_exception_table_exit() 691 hlist_del(&ex->hash_list); in dm_exception_table_exit() [all …]
|
| H A D | dm-exception-store.h | 32 struct hlist_node hash_list; member
|
| /linux/lib/ |
| H A D | stackdepot.c | 388 INIT_LIST_HEAD(&stack->hash_list); in depot_pop_free_pool() 539 list_del_rcu(&stack->hash_list); in depot_free_stack() 609 list_for_each_entry_rcu(stack, bucket, hash_list) { in find_stack() 713 list_add_rcu(&new->hash_list, bucket); in stack_depot_save_flags()
|
| /linux/fs/btrfs/ |
| H A D | raid56.c | 124 struct list_head hash_list; member 168 WARN_ON(!list_empty(&rbio->hash_list)); in free_raid_bio() 222 INIT_LIST_HEAD(&cur->hash_list); in btrfs_alloc_stripe_hash_table() 506 if (!list_empty(&rbio->hash_list)) { in __remove_rbio_from_cache() 507 list_del_init(&rbio->hash_list); in __remove_rbio_from_cache() 801 list_for_each_entry(cur, &h->hash_list, hash_list) { in lock_stripe_add() 812 list_del_init(&cur->hash_list); in lock_stripe_add() 858 list_add(&rbio->hash_list, &h->hash_list); in lock_stripe_add() 889 if (!list_empty(&rbio->hash_list)) { in unlock_stripe() 903 list_del_init(&rbio->hash_list); in unlock_stripe() [all …]
|
| /linux/include/linux/ |
| H A D | stackdepot.h | 54 struct list_head hash_list; /* Links in the hash table */ member
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | vf.c | 214 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/drivers/crypto/caam/ |
| H A D | caamhash.c | 92 static struct list_head hash_list; variable 1889 if (!hash_list.next) in caam_algapi_hash_exit() 1892 list_for_each_entry_safe(t_alg, n, &hash_list, entry) { in caam_algapi_hash_exit() 1980 INIT_LIST_HEAD(&hash_list); in caam_algapi_hash_init() 2008 list_add_tail(&t_alg->entry, &hash_list); in caam_algapi_hash_init() 2028 list_add_tail(&t_alg->entry, &hash_list); in caam_algapi_hash_init()
|
| H A D | caamalg_qi2.c | 5194 static struct list_head hash_list; variable 5372 INIT_LIST_HEAD(&hash_list); in dpaa2_caam_probe() 5401 list_add_tail(&t_alg->entry, &hash_list); in dpaa2_caam_probe() 5420 list_add_tail(&t_alg->entry, &hash_list); in dpaa2_caam_probe() 5423 if (!list_empty(&hash_list)) in dpaa2_caam_probe() 5467 if (hash_list.next) { in dpaa2_caam_remove() 5470 list_for_each_entry_safe(t_hash_alg, p, &hash_list, entry) { in dpaa2_caam_remove()
|
| /linux/drivers/staging/rtl8723bs/include/ |
| H A D | sta_info.h | 74 struct list_head hash_list; /* sta_hash */ member
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_sriov.c | 472 u16 *hash_list = (u16 *)&msgbuf[1]; in wx_set_vf_multicasts() local 479 vfinfo->vf_mc_hashes[i] = hash_list[i]; in wx_set_vf_multicasts()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_sriov.c | 370 u16 *hash_list = (u16 *)&msgbuf[1]; in ixgbe_set_vf_multicasts() local 394 vfinfo->vf_mc_hashes[i] = hash_list[i]; in ixgbe_set_vf_multicasts()
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_main.c | 7367 u16 *hash_list = (u16 *)&msgbuf[1]; in igb_set_vf_multicasts() local 7383 vf_data->vf_mc_hashes[i] = hash_list[i]; in igb_set_vf_multicasts()
|