/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
H A 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()
|
H A D | fman_tgec.c | 531 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 in tgec_del_hash_mac_address() [all...] |
H A D | fman_dtsec.c | 1054 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() 1104 INIT_LIST_HEAD(&hash_entry->node); 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() 1165 struct eth_hash_entry *hash_entry = NULL; in dtsec_del_hash_mac_address() local 1202 hash_entry in dtsec_del_hash_mac_address() [all...] |
H A D | fman_memac.c | 909 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local 926 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address() 927 if (!hash_entry) in memac_add_hash_mac_address() 929 hash_entry->addr = addr; in memac_add_hash_mac_address() 930 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address() 932 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address() 970 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local 983 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address() 984 if (hash_entry in memac_del_hash_mac_address() [all...] |
/kernel/linux/linux-6.6/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_dtsec.c | 1015 struct eth_hash_entry *hash_entry; in dtsec_add_hash_mac_address() local 1058 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in dtsec_add_hash_mac_address() 1059 if (!hash_entry) in dtsec_add_hash_mac_address() 1061 hash_entry->addr = addr; in dtsec_add_hash_mac_address() 1062 INIT_LIST_HEAD(&hash_entry->node); in dtsec_add_hash_mac_address() 1066 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address() 1069 list_add_tail(&hash_entry->node, in dtsec_add_hash_mac_address() 1118 struct eth_hash_entry *hash_entry = NULL; in dtsec_del_hash_mac_address() local 1152 hash_entry in dtsec_del_hash_mac_address() [all...] |
H A D | fman_tgec.c | 490 struct eth_hash_entry *hash_entry; in tgec_add_hash_mac_address() local 508 hash_entry = kmalloc(sizeof(*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 in tgec_del_hash_mac_address() [all...] |
H A D | fman_memac.c | 799 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local 813 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address() 814 if (!hash_entry) in memac_add_hash_mac_address() 816 hash_entry->addr = addr; in memac_add_hash_mac_address() 817 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address() 819 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address() 855 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local 865 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address() 866 if (hash_entry in memac_del_hash_mac_address() [all...] |
/kernel/linux/linux-5.10/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() 278 hlist_for_each_entry_rcu(backbone_gw, head, hash_entry) { in batadv_backbone_hash_find() 279 if (!batadv_compare_backbone_gw(&backbone_gw->hash_entry, in batadv_backbone_hash_find() 318 head, hash_entry) { in batadv_bla_del_backbone_claims() 323 hlist_del_rcu(&claim->hash_entry); in batadv_bla_del_backbone_claims() 532 &entry->hash_entry); in batadv_bla_get_backbone_gw() 620 hlist_for_each_entry_rcu(claim, head, hash_entry) { in batadv_bla_answer_request() [all...] |
H A D | network-coding.c | 416 hlist_for_each_entry_rcu(orig_node, head, hash_entry) in batadv_nc_purge_orig_hash() 450 hlist_for_each_entry_safe(nc_path, node_tmp, head, hash_entry) { in batadv_nc_purge_paths() 475 hlist_del_rcu(&nc_path->hash_entry); in batadv_nc_purge_paths() 526 nc_path1 = container_of(node, struct batadv_nc_path, hash_entry); in batadv_nc_hash_compare() 561 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_hash_find() 562 if (!batadv_nc_hash_compare(&nc_path->hash_entry, data)) in batadv_nc_hash_find() 695 hlist_for_each_entry_rcu(nc_path, head, hash_entry) { in batadv_nc_process_nc_paths() 1001 &nc_path->hash_entry); in batadv_nc_get_path() 1292 hlist_for_each_entry_rcu(nc_path, &hash->table[idx], hash_entry) { in batadv_nc_path_search() 1771 hlist_for_each_entry_rcu(nc_path, &hash->table[index], hash_entry) { in batadv_nc_find_decoding_packet() [all...] |
H A D | types.h | 497 /** @hash_entry: hlist node for &batadv_priv.orig_hash */ 498 struct hlist_node hash_entry; member 1831 /** @hash_entry: hlist node for &batadv_priv_bla.backbone_hash */ 1832 struct hlist_node hash_entry; member 1889 /** @hash_entry: hlist node for &batadv_priv_bla.claim_hash */ 1890 struct hlist_node hash_entry; member 1911 * @hash_entry: hlist node for &batadv_priv_tt.local_hash or for 1914 struct hlist_node hash_entry; member 2068 /** @hash_entry: next and prev pointer for the list handling */ 2069 struct hlist_node hash_entry; member 2355 struct hlist_node hash_entry; global() member [all...] |
H A 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() 619 common.hash_entry); in batadv_tt_global_free() 750 &tt_local->common.hash_entry); in batadv_tt_local_add() 1101 head, hash_entry) { in batadv_tt_local_seq_print_text() 1223 hlist_for_each_entry(common, &hash->table[bucket], hash_entry) { in batadv_tt_local_dump_bucket() 1377 common.hash_entry); in batadv_tt_local_remove() 1403 hash_entry) { in batadv_tt_local_purge_list() 1467 head, hash_entry) { in batadv_tt_local_table_free() 1468 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free() [all...] |
H A D | distributed-arp-table.c | 177 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() 585 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_choose_next_candidate() 880 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_cache_seq_print_text() 968 hlist_for_each_entry(dat_entry, &hash->table[bucket], hash_entry) { in batadv_dat_cache_dump_bucket()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | lockdep_types.h | 73 /* hash_entry is used to keep track of dynamically allocated keys. */ 76 struct hlist_node hash_entry; member 95 struct hlist_node hash_entry; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | lockdep_types.h | 74 /* hash_entry is used to keep track of dynamically allocated keys. */ 77 struct hlist_node hash_entry; member 101 struct hlist_node hash_entry; member
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | bridge_loop_avoidance.c | 107 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...] |
H A D | types.h | 487 /** @hash_entry: hlist node for &batadv_priv.orig_hash */ 488 struct hlist_node hash_entry; member 1764 /** @hash_entry: hlist node for &batadv_priv_bla.backbone_hash */ 1765 struct hlist_node hash_entry; member 1822 /** @hash_entry: hlist node for &batadv_priv_bla.claim_hash */ 1823 struct hlist_node hash_entry; member 1844 * @hash_entry: hlist node for &batadv_priv_tt.local_hash or for 1847 struct hlist_node hash_entry; member 2001 /** @hash_entry: next and prev pointer for the list handling */ 2002 struct hlist_node hash_entry; member 2267 struct hlist_node hash_entry; global() member [all...] |
H A D | network-coding.c | 409 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() [all...] |
H A D | translation-table.c | 89 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() 1140 hlist_for_each_entry(common, &hash->table[bucket], hash_entry) { in batadv_tt_local_dump_bucket() 1292 common.hash_entry); in batadv_tt_local_remove() 1317 hash_entry) { in batadv_tt_local_purge_list() 1381 head, hash_entry) { in batadv_tt_local_table_free() 1382 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free() 1648 &common->hash_entry); in batadv_tt_global_add() [all...] |
H A D | originator.c | 71 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()
|
H A D | distributed-arp-table.c | 176 hash_entry) { in __batadv_dat_purge() 183 hlist_del_rcu(&dat_entry->hash_entry); in __batadv_dat_purge() 219 hash_entry); in batadv_compare_dat() 344 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_entry_hash_find() 398 &dat_entry->hash_entry); in batadv_dat_entry_add() 583 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()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | btf.c | 3745 struct hashmap_entry *hash_entry; in btf_dedup_prim_type() local 3771 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 3772 cand_id = hash_entry->value; in btf_dedup_prim_type() 3784 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 3785 cand_id = hash_entry->value; in btf_dedup_prim_type() 3806 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 3807 cand_id = hash_entry->value; in btf_dedup_prim_type() 4292 struct hashmap_entry *hash_entry; in btf_dedup_struct_type() local 4309 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_struct_type() 4310 __u32 cand_id = hash_entry in btf_dedup_struct_type() 4385 struct hashmap_entry *hash_entry; btf_dedup_ref_type() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A 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() 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()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | lock-contention.h | 18 struct hlist_node hash_entry; member
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | btf.c | 3572 struct hashmap_entry *hash_entry; in btf_dedup_prim_type() local 3596 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 3597 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type() 3608 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 3609 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type() 3631 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type() 3632 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type() 4037 struct hashmap_entry *hash_entry; in btf_dedup_struct_type() local 4054 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_struct_type() 4055 __u32 cand_id = (__u32)(long)hash_entry in btf_dedup_struct_type() 4128 struct hashmap_entry *hash_entry; btf_dedup_ref_type() local [all...] |