Home
last modified time | relevance | path

Searched refs:hash_entry (Results 1 – 22 of 22) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/freescale/fman/
Dfman_mac.h197 struct eth_hash_entry *hash_entry = NULL; in dequeue_addr_from_hash_entry() local
200 hash_entry = ETH_HASH_ENTRY_OBJ(addr_lst->next); in dequeue_addr_from_hash_entry()
201 list_del_init(&hash_entry->node); in dequeue_addr_from_hash_entry()
203 return hash_entry; in dequeue_addr_from_hash_entry()
208 struct eth_hash_entry *hash_entry; in free_hash_table() local
214 hash_entry = in free_hash_table()
216 while (hash_entry) { in free_hash_table()
217 kfree(hash_entry); in free_hash_table()
218 hash_entry = in free_hash_table()
Dfman_dtsec.c972 struct eth_hash_entry *hash_entry; in dtsec_add_hash_mac_address() local
1018 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in dtsec_add_hash_mac_address()
1019 if (!hash_entry) in dtsec_add_hash_mac_address()
1021 hash_entry->addr = addr; in dtsec_add_hash_mac_address()
1022 INIT_LIST_HEAD(&hash_entry->node); in dtsec_add_hash_mac_address()
1026 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1029 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1084 struct eth_hash_entry *hash_entry = NULL; in dtsec_del_hash_mac_address() local
1121 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in dtsec_del_hash_mac_address()
1122 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
[all …]
Dfman_tgec.c489 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local
510 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in tgec_add_hash_mac_address()
511 if (!hash_entry) in tgec_add_hash_mac_address()
513 hash_entry->addr = addr; in tgec_add_hash_mac_address()
514 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address()
516 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address()
570 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local
587 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address()
588 if (hash_entry && hash_entry->addr == addr) { in tgec_del_hash_mac_address()
589 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()
[all …]
Dfman_memac.c866 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local
883 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address()
884 if (!hash_entry) in memac_add_hash_mac_address()
886 hash_entry->addr = addr; in memac_add_hash_mac_address()
887 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address()
889 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address()
928 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
941 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
942 if (hash_entry && hash_entry->addr == addr) { in memac_del_hash_mac_address()
943 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
[all …]
/Linux-v6.1/net/batman-adv/
Dbridge_loop_avoidance.c107 hash_entry); in batadv_compare_backbone_gw()
131 hash_entry); in batadv_compare_claim()
234 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_claim_hash_find()
235 if (!batadv_compare_claim(&claim->hash_entry, data)) in batadv_claim_hash_find()
277 hlist_for_each_entry_rcu(backbone_gw, head, hash_entry) { in batadv_backbone_hash_find()
278 if (!batadv_compare_backbone_gw(&backbone_gw->hash_entry, in batadv_backbone_hash_find()
317 head, hash_entry) { in batadv_bla_del_backbone_claims()
322 hlist_del_rcu(&claim->hash_entry); in batadv_bla_del_backbone_claims()
527 &entry->hash_entry); in batadv_bla_get_backbone_gw()
615 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_bla_answer_request()
[all …]
Dtypes.h488 struct hlist_node hash_entry; member
1759 struct hlist_node hash_entry; member
1817 struct hlist_node hash_entry; member
1841 struct hlist_node hash_entry; member
1996 struct hlist_node hash_entry; member
2262 struct hlist_node hash_entry; member
Dnetwork-coding.c409 hlist_for_each_entry_rcu(orig_node, head, hash_entry) in batadv_nc_purge_orig_hash()
443 hlist_for_each_entry_safe(nc_path, node_tmp, head, hash_entry) { in batadv_nc_purge_paths()
468 hlist_del_rcu(&nc_path->hash_entry); in batadv_nc_purge_paths()
519 nc_path1 = container_of(node, struct batadv_nc_path, hash_entry); in batadv_nc_hash_compare()
554 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_hash_find()
555 if (!batadv_nc_hash_compare(&nc_path->hash_entry, data)) in batadv_nc_hash_find()
688 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_process_nc_paths()
992 &nc_path->hash_entry); in batadv_nc_get_path()
1279 hlist_for_each_entry_rcu(nc_path, &hash->table[idx], hash_entry) { in batadv_nc_path_search()
1758 hlist_for_each_entry_rcu(nc_path, &hash->table[index], hash_entry) { in batadv_nc_find_decoding_packet()
Dtranslation-table.c89 hash_entry); in batadv_compare_tt()
143 hlist_for_each_entry_rcu(tt, head, hash_entry) { in batadv_tt_hash_find()
618 common.hash_entry); in batadv_tt_global_free()
749 &tt_local->common.hash_entry); in batadv_tt_local_add()
1141 hlist_for_each_entry(common, &hash->table[bucket], hash_entry) { in batadv_tt_local_dump_bucket()
1293 common.hash_entry); in batadv_tt_local_remove()
1318 hash_entry) { in batadv_tt_local_purge_list()
1382 head, hash_entry) { in batadv_tt_local_table_free()
1383 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free()
1649 &common->hash_entry); in batadv_tt_global_add()
[all …]
Doriginator.c71 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_orig_hash_find()
98 hash_entry); in batadv_compare_orig()
883 head, hash_entry) { in batadv_originator_free()
884 hlist_del_rcu(&orig_node->hash_entry); in batadv_originator_free()
1245 head, hash_entry) { in batadv_purge_orig_ref()
1248 hlist_del_rcu(&orig_node->hash_entry); in batadv_purge_orig_ref()
Ddistributed-arp-table.c177 hash_entry) { in __batadv_dat_purge()
184 hlist_del_rcu(&dat_entry->hash_entry); in __batadv_dat_purge()
220 hash_entry); in batadv_compare_dat()
345 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_entry_hash_find()
399 &dat_entry->hash_entry); in batadv_dat_entry_add()
584 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_choose_next_candidate()
911 hlist_for_each_entry(dat_entry, &hash->table[bucket], hash_entry) { in batadv_dat_cache_dump_bucket()
Dbat_iv_ogm.c158 &orig_node->hash_entry); in batadv_iv_ogm_orig_get()
756 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_slide_own_bcast_window()
1947 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_orig_dump_bucket()
Dbat_v.c397 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_v_orig_dump_bucket()
Dbat_v_ogm.c73 &orig_node->hash_entry); in batadv_v_ogm_orig_get()
Dmulticast.c2150 hlist_for_each_entry(orig_node, &hash->table[bucket], hash_entry) { in batadv_mcast_flags_dump_bucket()
/Linux-v6.1/include/linux/
Dlockdep_types.h76 struct hlist_node hash_entry; member
95 struct hlist_node hash_entry; member
/Linux-v6.1/tools/perf/util/
Dlock-contention.h9 struct hlist_node hash_entry; member
Dkvm-stat.h28 struct list_head hash_entry; member
Dbpf_lock_contention.c180 hlist_add_head(&st->hash_entry, con->result); in lock_contention_read()
/Linux-v6.1/tools/lib/bpf/
Dbtf.c3729 struct hashmap_entry *hash_entry; in btf_dedup_prim_type() local
3755 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
3756 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
3767 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
3768 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
3788 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
3789 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
3810 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
3811 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
4296 struct hashmap_entry *hash_entry; in btf_dedup_struct_type() local
[all …]
/Linux-v6.1/kernel/locking/
Dlockdep.c538 struct hlist_node hash_entry; member
587 hlist_for_each_entry(t2, hash_head, hash_entry) { in save_trace()
592 hlist_add_head(&trace->hash_entry, hash_head); in save_trace()
605 hlist_for_each_entry(trace, &stack_trace_hash[i], hash_entry) { in lockdep_stack_trace_count()
931 hlist_for_each_entry_rcu_notrace(class, hash_head, hash_entry) { in look_up_lock_class()
1230 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in lockdep_register_key()
1234 hlist_add_head_rcu(&key->hash_entry, hash_head); in lockdep_register_key()
1263 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in is_dynamic_key()
1310 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in register_lock_class()
1345 hlist_add_head_rcu(&class->hash_entry, hash_head); in register_lock_class()
[all …]
/Linux-v6.1/tools/perf/
Dbuiltin-lock.c465 hlist_for_each_entry(ret, entry, hash_entry) { in lock_stat_find()
477 hlist_for_each_entry(ret, entry, hash_entry) { in lock_stat_findnew()
496 hlist_add_head(&new->hash_entry, entry); in lock_stat_findnew()
1367 hlist_for_each_entry(st, &lockhash_table[i], hash_entry) { in dump_map()
1430 hlist_for_each_entry(st, &lockhash_table[i], hash_entry) { in combine_result()
1442 hlist_for_each_entry(st, &lockhash_table[i], hash_entry) { in sort_result()
Dbuiltin-kvm.c168 list_for_each_entry(event, head, hash_entry) { in clear_events_cache_stats()
236 list_for_each_entry(event, head, hash_entry) { in find_create_kvm_event()
245 list_add(&event->hash_entry, head); in find_create_kvm_event()
550 list_for_each_entry(event, &kvm->kvm_events_cache[i], hash_entry) { in sort_result()