| /linux/drivers/net/ethernet/freescale/fman/ |
| H A D | fman_mac.h | 187 struct eth_hash_entry *hash_entry = NULL; in dequeue_addr_from_hash_entry() local 190 hash_entry = ETH_HASH_ENTRY_OBJ(addr_lst->next); in dequeue_addr_from_hash_entry() 191 list_del_init(&hash_entry->node); in dequeue_addr_from_hash_entry() 193 return hash_entry; in dequeue_addr_from_hash_entry() 198 struct eth_hash_entry *hash_entry; in free_hash_table() local 204 hash_entry = in free_hash_table() 206 while (hash_entry) { in free_hash_table() 207 kfree(hash_entry); in free_hash_table() 208 hash_entry = in free_hash_table()
|
| H A D | fman_tgec.c | 490 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local 508 hash_entry = kmalloc_obj(*hash_entry, GFP_ATOMIC); in tgec_add_hash_mac_address() 509 if (!hash_entry) in tgec_add_hash_mac_address() 511 hash_entry->addr = addr; in tgec_add_hash_mac_address() 512 INIT_LIST_HEAD(&hash_entry->node); in tgec_add_hash_mac_address() 514 list_add_tail(&hash_entry->node, in tgec_add_hash_mac_address() 562 struct eth_hash_entry *hash_entry = NULL; in tgec_del_hash_mac_address() local 576 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in tgec_del_hash_mac_address() 577 if (hash_entry && hash_entry->addr == addr) { in tgec_del_hash_mac_address() 578 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address() [all …]
|
| H A D | fman_dtsec.c | 1022 struct eth_hash_entry *hash_entry; in dtsec_add_hash_mac_address() local 1065 hash_entry = kmalloc_obj(*hash_entry, GFP_ATOMIC); in dtsec_add_hash_mac_address() 1066 if (!hash_entry) in dtsec_add_hash_mac_address() 1068 hash_entry->addr = addr; in dtsec_add_hash_mac_address() 1069 INIT_LIST_HEAD(&hash_entry->node); in dtsec_add_hash_mac_address() 1073 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address() 1076 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address() 1125 struct eth_hash_entry *hash_entry = NULL; in dtsec_del_hash_mac_address() local 1159 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in dtsec_del_hash_mac_address() 1160 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address() [all …]
|
| H A D | fman_memac.c | 800 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local 814 hash_entry = kmalloc_obj(*hash_entry, GFP_ATOMIC); in memac_add_hash_mac_address() 815 if (!hash_entry) in memac_add_hash_mac_address() 817 hash_entry->addr = addr; in memac_add_hash_mac_address() 818 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address() 820 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address() 856 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local 866 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address() 867 if (hash_entry && hash_entry->addr == addr) { in memac_del_hash_mac_address() 868 list_del_init(&hash_entry->node); in memac_del_hash_mac_address() [all …]
|
| /linux/net/batman-adv/ |
| H A D | bridge_loop_avoidance.c | 108 hash_entry); in batadv_compare_backbone_gw() 132 hash_entry); in batadv_compare_claim() 235 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_claim_hash_find() 236 if (!batadv_compare_claim(&claim->hash_entry, data)) in batadv_claim_hash_find() 279 hlist_for_each_entry_rcu(backbone_gw, head, hash_entry) { in batadv_backbone_hash_find() 280 if (!batadv_compare_backbone_gw(&backbone_gw->hash_entry, in batadv_backbone_hash_find() 319 head, hash_entry) { in batadv_bla_del_backbone_claims() 323 hlist_del_rcu(&claim->hash_entry); in batadv_bla_del_backbone_claims() 526 &entry->hash_entry); in batadv_bla_get_backbone_gw() 618 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_bla_answer_request() [all …]
|
| H A D | translation-table.c | 91 hash_entry); in batadv_compare_tt() 147 hlist_for_each_entry_rcu(tt, head, hash_entry) { in batadv_tt_hash_find() 596 common.hash_entry); in batadv_tt_global_free() 732 &tt_local->common.hash_entry); in batadv_tt_local_add() 1182 hlist_for_each_entry(common, &hash->table[bucket], hash_entry) { in batadv_tt_local_dump_bucket() 1338 common.hash_entry); in batadv_tt_local_remove() 1363 hash_entry) { in batadv_tt_local_purge_list() 1434 head, hash_entry) { in batadv_tt_local_table_free() 1435 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free() 1716 &common->hash_entry); in batadv_tt_global_add() [all …]
|
| H A D | types.h | 533 struct hlist_node hash_entry; member 1774 struct hlist_node hash_entry; member 1828 struct hlist_node hash_entry; member 1852 struct hlist_node hash_entry; member 2190 struct hlist_node hash_entry; member
|
| H A D | originator.c | 68 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_orig_hash_find() 95 hash_entry); in batadv_compare_orig() 927 head, hash_entry) { in batadv_originator_free() 928 hlist_del_rcu(&orig_node->hash_entry); in batadv_originator_free() 1286 head, hash_entry) { in batadv_purge_orig_ref() 1289 hlist_del_rcu(&orig_node->hash_entry); in batadv_purge_orig_ref()
|
| H A D | distributed-arp-table.c | 242 hash_entry) { in __batadv_dat_purge() 249 hlist_del_rcu(&dat_entry->hash_entry); in __batadv_dat_purge() 287 entry1 = container_of(node, struct batadv_dat_entry, hash_entry); in batadv_compare_dat() 415 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_entry_hash_find() 472 &dat_entry->hash_entry); in batadv_dat_entry_add() 659 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_choose_next_candidate() 989 hlist_for_each_entry(dat_entry, &hash->table[bucket], hash_entry) { in batadv_dat_cache_dump_bucket()
|
| H A D | bat_iv_ogm.c | 159 &orig_node->hash_entry); in batadv_iv_ogm_orig_get() 871 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_slide_own_bcast_window() 2169 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_orig_dump_bucket()
|
| H A D | bat_v.c | 424 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_v_orig_dump_bucket()
|
| H A D | bat_v_ogm.c | 72 &orig_node->hash_entry); in batadv_v_ogm_orig_get()
|
| H A D | multicast.c | 2044 hlist_for_each_entry(orig_node, &hash->table[bucket], hash_entry) { in batadv_mcast_flags_dump_bucket()
|
| /linux/include/linux/ |
| H A D | lockdep_types.h | 77 struct hlist_node hash_entry; member 102 struct hlist_node hash_entry; member
|
| /linux/tools/perf/util/ |
| H A D | lock-contention.h | 28 struct hlist_node hash_entry; member
|
| H A D | kvm-stat.h | 41 struct list_head hash_entry; member
|
| /linux/kernel/locking/ |
| H A D | lockdep.c | 536 * @hash_entry: Entry in a stack_trace_hash[] list. 542 struct hlist_node hash_entry; member 593 hlist_for_each_entry(t2, hash_head, hash_entry) { in save_trace() 598 hlist_add_head(&trace->hash_entry, hash_head); in save_trace() 611 hlist_for_each_entry(trace, &stack_trace_hash[i], hash_entry) { in lockdep_stack_trace_count() 949 hlist_for_each_entry_rcu_notrace(class, hash_head, hash_entry) { 1250 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in is_dynamic_key() 1254 hlist_add_head_rcu(&key->hash_entry, hash_head); in is_dynamic_key() 1284 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { 1331 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in register_lock_class() [all...] |
| /linux/tools/lib/bpf/ |
| H A D | btf.c | 4641 struct hashmap_entry *hash_entry; in btf_dedup_prim_type() local 4667 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 4668 cand_id = hash_entry->value; in btf_dedup_prim_type() 4680 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 4681 cand_id = hash_entry->value; in btf_dedup_prim_type() 4702 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 4703 cand_id = hash_entry->value; in btf_dedup_prim_type() 5281 struct hashmap_entry *hash_entry; in btf_dedup_struct_type() local 5300 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_struct_type() 5301 __u32 cand_id = hash_entry->value; in btf_dedup_struct_type() [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-lock.c | 1375 hlist_for_each_entry(st, &lockhash_table[i], hash_entry) { in dump_map() 1462 hlist_for_each_entry(st, &lockhash_table[i], hash_entry) { in combine_result() 1474 hlist_for_each_entry(st, &lockhash_table[i], hash_entry) { in sort_result()
|