Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/freescale/fman/
Dfman_mac.h215 struct eth_hash_entry *hash_entry = NULL; in dequeue_addr_from_hash_entry() local
218 hash_entry = ETH_HASH_ENTRY_OBJ(addr_lst->next); in dequeue_addr_from_hash_entry()
219 list_del_init(&hash_entry->node); in dequeue_addr_from_hash_entry()
221 return hash_entry; in dequeue_addr_from_hash_entry()
226 struct eth_hash_entry *hash_entry; in free_hash_table() local
232 hash_entry = in free_hash_table()
234 while (hash_entry) { in free_hash_table()
235 kfree(hash_entry); in free_hash_table()
236 hash_entry = in free_hash_table()
Dfman_tgec.c535 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local
556 hash_entry = kmalloc(sizeof(*hash_entry), GFP_KERNEL); in tgec_add_hash_mac_address()
557 if (!hash_entry) in tgec_add_hash_mac_address()
559 hash_entry->addr = addr; in tgec_add_hash_mac_address()
560 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address()
562 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address()
615 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local
632 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address()
633 if (hash_entry->addr == addr) { in tgec_del_hash_mac_address()
634 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()
[all …]
Dfman_dtsec.c1059 struct eth_hash_entry *hash_entry; in dtsec_add_hash_mac_address() local
1105 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in dtsec_add_hash_mac_address()
1106 if (!hash_entry) in dtsec_add_hash_mac_address()
1108 hash_entry->addr = addr; in dtsec_add_hash_mac_address()
1109 INIT_LIST_HEAD(&hash_entry->node); in dtsec_add_hash_mac_address()
1113 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1116 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1170 struct eth_hash_entry *hash_entry = NULL; in dtsec_del_hash_mac_address() local
1207 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in dtsec_del_hash_mac_address()
1208 if (hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
[all …]
Dfman_memac.c914 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local
931 hash_entry = kmalloc(sizeof(*hash_entry), GFP_KERNEL); in memac_add_hash_mac_address()
932 if (!hash_entry) in memac_add_hash_mac_address()
934 hash_entry->addr = addr; in memac_add_hash_mac_address()
935 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address()
937 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address()
975 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
988 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
989 if (hash_entry->addr == addr) { in memac_del_hash_mac_address()
990 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
[all …]
/Linux-v4.19/net/batman-adv/
Dbridge_loop_avoidance.c119 hash_entry); in batadv_compare_backbone_gw()
143 hash_entry); in batadv_compare_claim()
240 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_claim_hash_find()
241 if (!batadv_compare_claim(&claim->hash_entry, data)) in batadv_claim_hash_find()
283 hlist_for_each_entry_rcu(backbone_gw, head, hash_entry) { in batadv_backbone_hash_find()
284 if (!batadv_compare_backbone_gw(&backbone_gw->hash_entry, in batadv_backbone_hash_find()
323 head, hash_entry) { in batadv_bla_del_backbone_claims()
328 hlist_del_rcu(&claim->hash_entry); in batadv_bla_del_backbone_claims()
534 &entry->hash_entry); in batadv_bla_get_backbone_gw()
622 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_bla_answer_request()
[all …]
Dtypes.h473 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
2301 struct hlist_node hash_entry; member
Dnetwork-coding.c420 hlist_for_each_entry_rcu(orig_node, head, hash_entry) in batadv_nc_purge_orig_hash()
454 hlist_for_each_entry_safe(nc_path, node_tmp, head, hash_entry) { in batadv_nc_purge_paths()
479 hlist_del_rcu(&nc_path->hash_entry); in batadv_nc_purge_paths()
530 nc_path1 = container_of(node, struct batadv_nc_path, hash_entry); in batadv_nc_hash_compare()
565 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_hash_find()
566 if (!batadv_nc_hash_compare(&nc_path->hash_entry, data)) in batadv_nc_hash_find()
699 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_process_nc_paths()
1005 &nc_path->hash_entry); in batadv_nc_get_path()
1303 hlist_for_each_entry_rcu(nc_path, &hash->table[idx], hash_entry) { in batadv_nc_path_search()
1782 hlist_for_each_entry_rcu(nc_path, &hash->table[index], hash_entry) { in batadv_nc_find_decoding_packet()
[all …]
Ddistributed-arp-table.c141 hash_entry) { in __batadv_dat_purge()
148 hlist_del_rcu(&dat_entry->hash_entry); in __batadv_dat_purge()
184 hash_entry); in batadv_compare_dat()
305 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_entry_hash_find()
359 &dat_entry->hash_entry); in batadv_dat_entry_add()
545 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_choose_next_candidate()
839 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_cache_seq_print_text()
918 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_cache_dump_bucket()
Dtranslation-table.c102 hash_entry); in batadv_compare_tt()
156 hlist_for_each_entry_rcu(tt, head, hash_entry) { in batadv_tt_hash_find()
756 &tt_local->common.hash_entry); in batadv_tt_local_add()
1106 head, hash_entry) { in batadv_tt_local_seq_print_text()
1220 hlist_for_each_entry_rcu(common, head, hash_entry) { in batadv_tt_local_dump_bucket()
1399 hash_entry) { in batadv_tt_local_purge_list()
1463 head, hash_entry) { in batadv_tt_local_table_free()
1464 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free()
1731 &common->hash_entry); in batadv_tt_global_add()
1992 head, hash_entry) { in batadv_tt_global_seq_print_text()
[all …]
Doriginator.c83 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_orig_hash_find()
110 hash_entry); in batadv_compare_orig()
1001 head, hash_entry) { in batadv_originator_free()
1002 hlist_del_rcu(&orig_node->hash_entry); in batadv_originator_free()
1365 head, hash_entry) { in batadv_purge_orig_ref()
1368 hlist_del_rcu(&orig_node->hash_entry); in batadv_purge_orig_ref()
1584 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_orig_hash_add_if()
1627 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_orig_hash_del_if()
Dbat_v.c378 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_v_orig_print()
561 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_v_orig_dump_bucket()
Dmulticast.c1300 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_mcast_flags_seq_print_text()
1422 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_mcast_flags_dump_bucket()
Dbat_iv_ogm.c343 &orig_node->hash_entry); in batadv_iv_ogm_orig_get()
906 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_slide_own_bcast_window()
1933 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_orig_print()
2150 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_orig_dump_bucket()
Dbat_v_ogm.c80 &orig_node->hash_entry); in batadv_v_ogm_orig_get()
/Linux-v4.19/tools/perf/
Dbuiltin-lock.c46 struct list_head hash_entry; member
322 list_for_each_entry(ret, entry, hash_entry) { in lock_stat_findnew()
341 list_add(&new->hash_entry, entry); in lock_stat_findnew()
787 list_for_each_entry(st, &lockhash_table[i], hash_entry) { in dump_map()
844 list_for_each_entry(st, &lockhash_table[i], hash_entry) { in sort_result()
Dbuiltin-kvm.c160 list_for_each_entry(event, head, hash_entry) { in clear_events_cache_stats()
228 list_for_each_entry(event, head, hash_entry) { in find_create_kvm_event()
237 list_add(&event->hash_entry, head); in find_create_kvm_event()
543 list_for_each_entry(event, &kvm->kvm_events_cache[i], hash_entry) { in sort_result()
/Linux-v4.19/tools/perf/util/
Dkvm-stat.h25 struct list_head hash_entry; member
/Linux-v4.19/kernel/locking/
Dlockdep.c692 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in look_up_lock_class()
769 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in register_lock_class()
800 hlist_add_head_rcu(&class->hash_entry, hash_head); in register_lock_class()
4200 hlist_del_rcu(&class->hash_entry); in zap_class()
4236 hlist_for_each_entry_rcu(class, head, hash_entry) { in lockdep_free_key_range()
4291 hlist_for_each_entry_rcu(class, head, hash_entry) { in lockdep_reset_lock()
/Linux-v4.19/include/linux/
Dlockdep.h72 struct hlist_node hash_entry; member