Home
last modified time | relevance | path

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

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dhash-map.h42 struct hash_entry in class() struct
47 typedef hash_entry value_type; in class() argument
50 static hashval_t hash (const hash_entry &e) in class() argument
55 static bool equal (const hash_entry &a, const Key &b) in class() argument
60 static void remove (hash_entry &e) { Traits::remove (e); } in class() argument
62 static void mark_deleted (hash_entry &e) { Traits::mark_deleted (e); } in class() argument
64 static bool is_deleted (const hash_entry &e) in class() argument
70 static void mark_empty (hash_entry &e) { Traits::mark_empty (e); } in class() argument
71 static bool is_empty (const hash_entry &e) { return Traits::is_empty (e); } in class() argument
73 static void ggc_mx (hash_entry &e) in class() argument
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dhash-map.h42 struct hash_entry in class() struct
47 typedef hash_entry value_type; in class() argument
50 static hashval_t hash (const hash_entry &e) in class() argument
55 static bool equal (const hash_entry &a, const Key &b) in class() argument
60 static void remove (hash_entry &e) { Traits::remove (e); } in class() argument
62 static void mark_deleted (hash_entry &e) { Traits::mark_deleted (e); } in class() argument
64 static bool is_deleted (const hash_entry &e) in class() argument
70 static void mark_empty (hash_entry &e) { Traits::mark_empty (e); } in class() argument
71 static bool is_empty (const hash_entry &e) { return Traits::is_empty (e); } in class() argument
73 static void ggc_mx (hash_entry &e) in class() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/fman/
H 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()
H 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 …]
H 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()
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 = ETH_HASH_ENTRY_OBJ(pos); in dtsec_del_hash_mac_address()
1203 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
[all …]
H A Dfman_memac.c909 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 && hash_entry->addr == addr) { in memac_del_hash_mac_address()
985 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
[all …]
/OK3568_Linux_fs/kernel/net/batman-adv/
H A Dbridge_loop_avoidance.c108 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 Dtypes.h498 struct hlist_node hash_entry; member
1826 struct hlist_node hash_entry; member
1884 struct hlist_node hash_entry; member
1908 struct hlist_node hash_entry; member
2063 struct hlist_node hash_entry; member
2349 struct hlist_node hash_entry; member
H A Dtranslation-table.c90 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()
1102 head, hash_entry) { in batadv_tt_local_seq_print_text()
1224 hlist_for_each_entry(common, &hash->table[bucket], hash_entry) { in batadv_tt_local_dump_bucket()
1378 common.hash_entry); in batadv_tt_local_remove()
1404 hash_entry) { in batadv_tt_local_purge_list()
1468 head, hash_entry) { in batadv_tt_local_table_free()
1469 hlist_del_rcu(&tt_common_entry->hash_entry); in batadv_tt_local_table_free()
[all …]
H A Dnetwork-coding.c416 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 Ddistributed-arp-table.c178 hash_entry) { in __batadv_dat_purge()
185 hlist_del_rcu(&dat_entry->hash_entry); in __batadv_dat_purge()
221 hash_entry); in batadv_compare_dat()
346 hlist_for_each_entry_rcu(dat_entry, head, hash_entry) { in batadv_dat_entry_hash_find()
400 &dat_entry->hash_entry); in batadv_dat_entry_add()
586 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()
H A Doriginator.c72 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_orig_hash_find()
99 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()
1292 head, hash_entry) { in batadv_purge_orig_ref()
1295 hlist_del_rcu(&orig_node->hash_entry); in batadv_purge_orig_ref()
H A Dbat_v.c368 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()
H A Dbat_iv_ogm.c159 &orig_node->hash_entry); in batadv_iv_ogm_orig_get()
758 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_slide_own_bcast_window()
1842 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_orig_print()
2059 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_iv_ogm_orig_dump_bucket()
H A Dmulticast.c2158 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_mcast_flags_seq_print_text()
2293 hlist_for_each_entry(orig_node, &hash->table[bucket], hash_entry) { in batadv_mcast_flags_dump_bucket()
H A Dbat_v_ogm.c72 &orig_node->hash_entry); in batadv_v_ogm_orig_get()
/OK3568_Linux_fs/kernel/include/linux/
H A Dlockdep_types.h76 struct hlist_node hash_entry; member
95 struct hlist_node hash_entry; member
/OK3568_Linux_fs/kernel/tools/perf/
H 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()
H 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()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbtf.c3559 struct hashmap_entry *hash_entry; in btf_dedup_prim_type() local
3583 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
3584 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
3595 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
3596 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
3618 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_prim_type()
3619 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_prim_type()
4024 struct hashmap_entry *hash_entry; in btf_dedup_struct_type() local
4041 for_each_dedup_cand(d, hash_entry, h) { in btf_dedup_struct_type()
4042 __u32 cand_id = (__u32)(long)hash_entry->value; in btf_dedup_struct_type()
[all …]
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dlockdep.c507 struct hlist_node hash_entry; member
556 hlist_for_each_entry(t2, hash_head, hash_entry) { in save_trace()
561 hlist_add_head(&trace->hash_entry, hash_head); in save_trace()
574 hlist_for_each_entry(trace, &stack_trace_hash[i], hash_entry) { in lockdep_stack_trace_count()
888 hlist_for_each_entry_rcu_notrace(class, hash_head, hash_entry) { in look_up_lock_class()
1185 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in lockdep_register_key()
1189 hlist_add_head_rcu(&key->hash_entry, hash_head); in lockdep_register_key()
1218 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in is_dynamic_key()
1265 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in register_lock_class()
1300 hlist_add_head_rcu(&class->hash_entry, hash_head); in register_lock_class()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dkvm-stat.h28 struct list_head hash_entry; member