/Linux-v5.4/drivers/net/ethernet/freescale/fman/ |
D | fman_mac.h | 215 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()
|
D | fman_tgec.c | 535 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local 556 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); 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 …]
|
D | fman_dtsec.c | 1059 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 …]
|
D | fman_memac.c | 914 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local 931 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); 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-v5.4/net/batman-adv/ |
D | bridge_loop_avoidance.c | 106 hash_entry); in batadv_compare_backbone_gw() 130 hash_entry); in batadv_compare_claim() 227 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_claim_hash_find() 228 if (!batadv_compare_claim(&claim->hash_entry, data)) in batadv_claim_hash_find() 270 hlist_for_each_entry_rcu(backbone_gw, head, hash_entry) { in batadv_backbone_hash_find() 271 if (!batadv_compare_backbone_gw(&backbone_gw->hash_entry, in batadv_backbone_hash_find() 310 head, hash_entry) { in batadv_bla_del_backbone_claims() 315 hlist_del_rcu(&claim->hash_entry); in batadv_bla_del_backbone_claims() 521 &entry->hash_entry); in batadv_bla_get_backbone_gw() 609 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_bla_answer_request() [all …]
|
D | types.h | 495 struct hlist_node hash_entry; member 1823 struct hlist_node hash_entry; member 1881 struct hlist_node hash_entry; member 1905 struct hlist_node hash_entry; member 2060 struct hlist_node hash_entry; member 2346 struct hlist_node hash_entry; member
|
D | network-coding.c | 408 hlist_for_each_entry_rcu(orig_node, head, hash_entry) in batadv_nc_purge_orig_hash() 442 hlist_for_each_entry_safe(nc_path, node_tmp, head, hash_entry) { in batadv_nc_purge_paths() 467 hlist_del_rcu(&nc_path->hash_entry); in batadv_nc_purge_paths() 518 nc_path1 = container_of(node, struct batadv_nc_path, hash_entry); in batadv_nc_hash_compare() 553 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_hash_find() 554 if (!batadv_nc_hash_compare(&nc_path->hash_entry, data)) in batadv_nc_hash_find() 687 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_process_nc_paths() 993 &nc_path->hash_entry); in batadv_nc_get_path() 1291 hlist_for_each_entry_rcu(nc_path, &hash->table[idx], hash_entry) { in batadv_nc_path_search() 1770 hlist_for_each_entry_rcu(nc_path, &hash->table[index], hash_entry) { in batadv_nc_find_decoding_packet() [all …]
|
D | translation-table.c | 90 hash_entry); in batadv_compare_tt() 144 hlist_for_each_entry_rcu(tt, head, hash_entry) { in batadv_tt_hash_find() 624 common.hash_entry); in batadv_tt_global_free() 755 &tt_local->common.hash_entry); in batadv_tt_local_add() 1105 head, hash_entry) { in batadv_tt_local_seq_print_text() 1227 hlist_for_each_entry(common, &hash->table[bucket], hash_entry) { in batadv_tt_local_dump_bucket() 1381 common.hash_entry); in batadv_tt_local_remove() 1407 hash_entry) { in batadv_tt_local_purge_list() 1471 head, hash_entry) { in batadv_tt_local_table_free() 1472 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free() [all …]
|
D | distributed-arp-table.c | 175 hash_entry) { in __batadv_dat_purge() 182 hlist_del_rcu(&dat_entry->hash_entry); in __batadv_dat_purge() 218 hash_entry); in batadv_compare_dat() 339 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_entry_hash_find() 393 &dat_entry->hash_entry); in batadv_dat_entry_add() 579 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_choose_next_candidate() 873 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_cache_seq_print_text() 961 hlist_for_each_entry(dat_entry, &hash->table[bucket], hash_entry) { in batadv_dat_cache_dump_bucket()
|
D | originator.c | 72 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_orig_hash_find() 99 hash_entry); in batadv_compare_orig() 987 head, hash_entry) { in batadv_originator_free() 988 hlist_del_rcu(&orig_node->hash_entry); in batadv_originator_free() 1352 head, hash_entry) { in batadv_purge_orig_ref() 1355 hlist_del_rcu(&orig_node->hash_entry); in batadv_purge_orig_ref()
|
D | bat_v.c | 368 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_v_orig_print() 551 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_v_orig_dump_bucket()
|
D | bat_iv_ogm.c | 158 &orig_node->hash_entry); in batadv_iv_ogm_orig_get() 755 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_slide_own_bcast_window() 1834 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_orig_print() 2051 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_orig_dump_bucket()
|
D | multicast.c | 2126 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_mcast_flags_seq_print_text() 2261 hlist_for_each_entry(orig_node, &hash->table[bucket], hash_entry) { in batadv_mcast_flags_dump_bucket()
|
D | bat_v_ogm.c | 71 &orig_node->hash_entry); in batadv_v_ogm_orig_get()
|
/Linux-v5.4/tools/lib/bpf/ |
D | btf.c | 1995 struct hashmap_entry *hash_entry; in btf_dedup_prim_type() local 2019 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 2020 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type() 2031 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 2032 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type() 2054 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 2055 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type() 2460 struct hashmap_entry *hash_entry; in btf_dedup_struct_type() local 2477 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_struct_type() 2478 __u32 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_struct_type() [all …]
|
/Linux-v5.4/tools/perf/ |
D | builtin-lock.c | 47 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() 788 list_for_each_entry(st, &lockhash_table[i], hash_entry) { in dump_map() 845 list_for_each_entry(st, &lockhash_table[i], hash_entry) { in sort_result()
|
D | builtin-kvm.c | 166 list_for_each_entry(event, head, hash_entry) { in clear_events_cache_stats() 234 list_for_each_entry(event, head, hash_entry) { in find_create_kvm_event() 243 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-v5.4/tools/perf/util/ |
D | kvm-stat.h | 28 struct list_head hash_entry; member
|
/Linux-v5.4/kernel/locking/ |
D | lockdep.c | 460 struct hlist_node hash_entry; member 510 hlist_for_each_entry(t2, hash_head, hash_entry) { in save_trace() 515 hlist_add_head(&trace->hash_entry, hash_head); in save_trace() 528 hlist_for_each_entry(trace, &stack_trace_hash[i], hash_entry) { in lockdep_stack_trace_count() 834 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in look_up_lock_class() 1127 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in lockdep_register_key() 1131 hlist_add_head_rcu(&key->hash_entry, hash_head); in lockdep_register_key() 1160 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in is_dynamic_key() 1206 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in register_lock_class() 1238 hlist_add_head_rcu(&class->hash_entry, hash_head); in register_lock_class() [all …]
|
/Linux-v5.4/include/linux/ |
D | lockdep.h | 62 struct hlist_node hash_entry; member 81 struct hlist_node hash_entry; member
|