Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/fman/
A 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()
A Dfman_tgec.c531 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local
552 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in tgec_add_hash_mac_address()
553 if (!hash_entry) in tgec_add_hash_mac_address()
555 hash_entry->addr = addr; in tgec_add_hash_mac_address()
556 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address()
558 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address()
611 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local
628 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address()
629 if (hash_entry && hash_entry->addr == addr) { in tgec_del_hash_mac_address()
630 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()
[all …]
A Dfman_dtsec.c1054 struct eth_hash_entry *hash_entry; in dtsec_add_hash_mac_address() local
1100 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in dtsec_add_hash_mac_address()
1101 if (!hash_entry) in dtsec_add_hash_mac_address()
1103 hash_entry->addr = addr; in dtsec_add_hash_mac_address()
1108 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1111 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address()
1203 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1205 kfree(hash_entry); in dtsec_del_hash_mac_address()
1216 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1218 kfree(hash_entry); in dtsec_del_hash_mac_address()
[all …]
A Dfman_memac.c913 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local
930 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address()
931 if (!hash_entry) in memac_add_hash_mac_address()
933 hash_entry->addr = addr; in memac_add_hash_mac_address()
934 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address()
936 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address()
974 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
987 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
988 if (hash_entry && hash_entry->addr == addr) { in memac_del_hash_mac_address()
989 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
[all …]
/linux/net/batman-adv/
A Dbridge_loop_avoidance.c106 hash_entry); in batadv_compare_backbone_gw()
130 hash_entry); in batadv_compare_claim()
233 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_claim_hash_find()
234 if (!batadv_compare_claim(&claim->hash_entry, data)) in batadv_claim_hash_find()
316 head, hash_entry) { in batadv_bla_del_backbone_claims()
321 hlist_del_rcu(&claim->hash_entry); in batadv_bla_del_backbone_claims()
526 &entry->hash_entry); in batadv_bla_get_backbone_gw()
721 &claim->hash_entry); in batadv_bla_add_claim()
818 struct batadv_bla_claim, hash_entry); in batadv_bla_del_claim()
1237 head, hash_entry) { in batadv_bla_purge_backbone_gw()
[all …]
A Dtypes.h488 struct hlist_node hash_entry; member
1798 struct hlist_node hash_entry; member
1856 struct hlist_node hash_entry; member
1880 struct hlist_node hash_entry; member
2035 struct hlist_node hash_entry; member
2301 struct hlist_node hash_entry; member
A Dtranslation-table.c89 hash_entry); in batadv_compare_tt()
618 common.hash_entry); in batadv_tt_global_free()
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()
2216 head, hash_entry) { in batadv_tt_global_del_orig()
2282 hash_entry) { in batadv_tt_global_purge()
2325 head, hash_entry) { in batadv_tt_global_table_free()
2779 head, hash_entry) { in batadv_tt_tvlv_generate()
3616 head, hash_entry) { in batadv_tt_local_set_flags()
[all …]
A Dnetwork-coding.c413 hlist_for_each_entry_rcu(orig_node, head, hash_entry) in batadv_nc_purge_orig_hash()
447 hlist_for_each_entry_safe(nc_path, node_tmp, head, hash_entry) { in batadv_nc_purge_paths()
472 hlist_del_rcu(&nc_path->hash_entry); in batadv_nc_purge_paths()
523 nc_path1 = container_of(node, struct batadv_nc_path, hash_entry); in batadv_nc_hash_compare()
558 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_hash_find()
559 if (!batadv_nc_hash_compare(&nc_path->hash_entry, data)) in batadv_nc_hash_find()
692 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_process_nc_paths()
996 &nc_path->hash_entry); in batadv_nc_get_path()
1283 hlist_for_each_entry_rcu(nc_path, &hash->table[idx], hash_entry) { in batadv_nc_path_search()
1762 hlist_for_each_entry_rcu(nc_path, &hash->table[index], hash_entry) { in batadv_nc_find_decoding_packet()
A 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()
A 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()
A 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()
A Dbat_v.c397 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_v_orig_dump_bucket()
A Dbat_v_ogm.c73 &orig_node->hash_entry); in batadv_v_ogm_orig_get()
A Dmulticast.c2149 hlist_for_each_entry(orig_node, &hash->table[bucket], hash_entry) { in batadv_mcast_flags_dump_bucket()
/linux/include/linux/
A Dlockdep_types.h76 struct hlist_node hash_entry; member
95 struct hlist_node hash_entry; member
/linux/tools/perf/
A Dbuiltin-lock.c47 struct list_head hash_entry; member
323 list_for_each_entry(ret, entry, hash_entry) { in lock_stat_findnew()
342 list_add(&new->hash_entry, entry); in lock_stat_findnew()
784 list_for_each_entry(st, &lockhash_table[i], hash_entry) { in dump_map()
841 list_for_each_entry(st, &lockhash_table[i], hash_entry) { in sort_result()
A Dbuiltin-kvm.c167 list_for_each_entry(event, head, hash_entry) { in clear_events_cache_stats()
235 list_for_each_entry(event, head, hash_entry) { in find_create_kvm_event()
244 list_add(&event->hash_entry, head); in find_create_kvm_event()
549 list_for_each_entry(event, &kvm->kvm_events_cache[i], hash_entry) { in sort_result()
/linux/tools/lib/bpf/
A Dbtf.c3667 struct hashmap_entry *hash_entry; in btf_dedup_prim_type() local
3692 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
3704 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
3728 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
4177 struct hashmap_entry *hash_entry; in btf_dedup_struct_type() local
4194 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_struct_type()
4270 struct hashmap_entry *hash_entry; in btf_dedup_ref_type() local
4298 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_ref_type()
4315 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_ref_type()
4339 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_ref_type()
[all …]
/linux/tools/perf/util/
A Dkvm-stat.h28 struct list_head hash_entry; member
/linux/kernel/locking/
A Dlockdep.c510 struct hlist_node hash_entry; member
559 hlist_for_each_entry(t2, hash_head, hash_entry) { in save_trace()
564 hlist_add_head(&trace->hash_entry, hash_head); in save_trace()
1200 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in lockdep_register_key()
1204 hlist_add_head_rcu(&key->hash_entry, hash_head); in lockdep_register_key()
1233 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in is_dynamic_key()
1314 hlist_add_head_rcu(&class->hash_entry, hash_head); in register_lock_class()
5996 hlist_del_rcu(&class->hash_entry); in zap_class()
6124 hlist_for_each_entry_rcu(class, head, hash_entry) { in __lockdep_free_key_range()
6205 hlist_for_each_entry_rcu(class, head, hash_entry) { in lock_class_cache_is_registered()
[all …]

Completed in 95 milliseconds