Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/fman/
A Dfman_mac.h187 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()
A Dfman_dtsec.c1015 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()
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()
1153 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1155 kfree(hash_entry); in dtsec_del_hash_mac_address()
1166 if (hash_entry && hash_entry->addr == addr) { in dtsec_del_hash_mac_address()
1168 kfree(hash_entry); in dtsec_del_hash_mac_address()
[all …]
A Dfman_tgec.c490 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 && hash_entry->addr == addr) { in tgec_del_hash_mac_address()
578 list_del_init(&hash_entry->node); in tgec_del_hash_mac_address()
[all …]
A Dfman_memac.c797 struct eth_hash_entry *hash_entry; in memac_add_hash_mac_address() local
811 hash_entry = kmalloc(sizeof(*hash_entry), GFP_ATOMIC); in memac_add_hash_mac_address()
812 if (!hash_entry) in memac_add_hash_mac_address()
814 hash_entry->addr = addr; in memac_add_hash_mac_address()
815 INIT_LIST_HEAD(&hash_entry->node); in memac_add_hash_mac_address()
817 list_add_tail(&hash_entry->node, in memac_add_hash_mac_address()
853 struct eth_hash_entry *hash_entry = NULL; in memac_del_hash_mac_address() local
863 hash_entry = ETH_HASH_ENTRY_OBJ(pos); in memac_del_hash_mac_address()
864 if (hash_entry && hash_entry->addr == addr) { in memac_del_hash_mac_address()
865 list_del_init(&hash_entry->node); in memac_del_hash_mac_address()
[all …]
/linux/net/batman-adv/
A Dbridge_loop_avoidance.c107 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()
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()
722 &claim->hash_entry); in batadv_bla_add_claim()
819 struct batadv_bla_claim, hash_entry); in batadv_bla_del_claim()
1238 head, hash_entry) { in batadv_bla_purge_backbone_gw()
[all …]
A Dtypes.h488 struct hlist_node hash_entry; member
1835 struct hlist_node hash_entry; member
1893 struct hlist_node hash_entry; member
1917 struct hlist_node hash_entry; member
2072 struct hlist_node hash_entry; member
2337 struct hlist_node hash_entry; member
A Dnetwork-coding.c409 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()
A Dtranslation-table.c89 hash_entry); in batadv_compare_tt()
618 common.hash_entry); in batadv_tt_global_free()
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()
2215 head, hash_entry) { in batadv_tt_global_del_orig()
2281 hash_entry) { in batadv_tt_global_purge()
2324 head, hash_entry) { in batadv_tt_global_table_free()
2778 head, hash_entry) { in batadv_tt_tvlv_generate()
3615 head, hash_entry) { in batadv_tt_local_set_flags()
[all …]
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()
937 head, hash_entry) { in batadv_originator_free()
938 hlist_del_rcu(&orig_node->hash_entry); in batadv_originator_free()
1302 head, hash_entry) { in batadv_purge_orig_ref()
1305 hlist_del_rcu(&orig_node->hash_entry); in batadv_purge_orig_ref()
A Ddistributed-arp-table.c176 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()
910 hlist_for_each_entry(dat_entry, &hash->table[bucket], hash_entry) { in batadv_dat_cache_dump_bucket()
A Dbat_iv_ogm.c157 &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()
1946 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.c72 &orig_node->hash_entry); in batadv_v_ogm_orig_get()
A Dmulticast.c2036 hlist_for_each_entry(orig_node, &hash->table[bucket], hash_entry) { in batadv_mcast_flags_dump_bucket()
/linux/include/linux/
A Dlockdep_types.h77 struct hlist_node hash_entry; member
102 struct hlist_node hash_entry; member
/linux/drivers/infiniband/hw/bnxt_re/
A Dib_verbs.h81 struct hlist_node hash_entry; member
114 struct hlist_node hash_entry; member
A Dib_verbs.c1727 hash_del(&srq->hash_entry); in bnxt_re_destroy_srq()
1837 hash_add(rdev->srq_hash, &srq->hash_entry, srq->qplib_srq.id); in bnxt_re_create_srq()
2990 hash_del(&cq->hash_entry); in bnxt_re_destroy_cq()
3092 hash_add(rdev->cq_hash, &cq->hash_entry, cq->qplib_cq.id); in bnxt_re_create_cq()
4324 hash_for_each_possible(rdev->cq_hash, tmp_cq, hash_entry, cq_id) { in bnxt_re_search_for_cq()
4337 hash_for_each_possible(rdev->srq_hash, tmp_srq, hash_entry, srq_id) { in bnxt_re_search_for_srq()
/linux/tools/perf/util/
A Dlock-contention.h20 struct hlist_node hash_entry; member
A Dkvm-stat.h42 struct list_head hash_entry; member
/linux/tools/lib/bpf/
A Dbtf.c3998 struct hashmap_entry *hash_entry; in btf_dedup_prim_type() local
4025 cand_id = hash_entry->value; in btf_dedup_prim_type()
4038 cand_id = hash_entry->value; in btf_dedup_prim_type()
4060 cand_id = hash_entry->value; in btf_dedup_prim_type()
4545 struct hashmap_entry *hash_entry; in btf_dedup_struct_type() local
4563 __u32 cand_id = hash_entry->value; in btf_dedup_struct_type()
4638 struct hashmap_entry *hash_entry; in btf_dedup_ref_type() local
4668 cand_id = hash_entry->value; in btf_dedup_ref_type()
4685 cand_id = hash_entry->value; in btf_dedup_ref_type()
4709 cand_id = hash_entry->value; in btf_dedup_ref_type()
[all …]
/linux/kernel/locking/
A Dlockdep.c539 struct hlist_node hash_entry; member
590 hlist_for_each_entry(t2, hash_head, hash_entry) { in save_trace()
595 hlist_add_head(&trace->hash_entry, hash_head); in save_trace()
1231 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in lockdep_register_key()
1235 hlist_add_head_rcu(&key->hash_entry, hash_head); in lockdep_register_key()
1264 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in is_dynamic_key()
1348 hlist_add_head_rcu(&class->hash_entry, hash_head); in register_lock_class()
6223 hlist_del_rcu(&class->hash_entry); in zap_class()
6357 hlist_for_each_entry_rcu(class, head, hash_entry) { in __lockdep_free_key_range()
6440 hlist_for_each_entry_rcu(class, head, hash_entry) { in lock_class_cache_is_registered()
[all …]
/linux/tools/perf/
A Dbuiltin-lock.c485 hlist_for_each_entry(ret, entry, hash_entry) { in lock_stat_find()
497 hlist_for_each_entry(ret, entry, hash_entry) { in lock_stat_findnew()
516 hlist_add_head(&new->hash_entry, entry); in lock_stat_findnew()
1471 hlist_for_each_entry(st, &lockhash_table[i], hash_entry) { in dump_map()
1558 hlist_for_each_entry(st, &lockhash_table[i], hash_entry) { in combine_result()
1570 hlist_for_each_entry(st, &lockhash_table[i], hash_entry) { in sort_result()

Completed in 97 milliseconds