Home
last modified time | relevance | path

Searched refs:hlist (Results 1 – 25 of 42) sorted by relevance

12

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.h44 struct hlist_node hlist; member
50 hlist_for_each_entry_safe(hn, tmp, &(hash)[i], hlist)
57 hlist_for_each_entry(ptr, &(hash)[ix], node.hlist) \
74 hlist_add_head(&ptr->node.hlist, &(hash)[ix]);\
80 hlist_del(&(ptr)->node.hlist); \
Dvxlan.c49 struct hlist_node hlist; member
82 hash_for_each_possible_rcu(vxlan->htable, vxlanp, hlist, port) in mlx5_vxlan_lookup_port()
96 hash_for_each_possible(vxlan->htable, vxlanp, hlist, port) in vxlan_lookup_port()
119 hash_add_rcu(vxlan->htable, &vxlanp->hlist, port); in mlx5_vxlan_add_port()
138 hash_del_rcu(&vxlanp->hlist); in mlx5_vxlan_del_port()
189 hash_for_each_safe(vxlan->htable, bkt, tmp, vxlanp, hlist) { in mlx5_vxlan_reset_to_default()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c84 struct hlist_node hlist; member
99 hlist_for_each_entry_safe(hn, tmp, &hash[j], hlist)
409 hlist_del_init(&arfs_rule->hlist); in arfs_may_expire_flow()
410 hlist_add_head(&arfs_rule->hlist, &del_list); in arfs_may_expire_flow()
416 hlist_for_each_entry_safe(arfs_rule, htmp, &del_list, hlist) { in arfs_may_expire_flow()
419 hlist_del(&arfs_rule->hlist); in arfs_may_expire_flow()
434 hlist_del_init(&rule->hlist); in arfs_del_rules()
435 hlist_add_head(&rule->hlist, &del_list); in arfs_del_rules()
439 hlist_for_each_entry_safe(rule, htmp, &del_list, hlist) { in arfs_del_rules()
443 hlist_del(&rule->hlist); in arfs_del_rules()
[all …]
Den_rep.h174 struct hlist_node hlist; member
Den_fs.c68 struct hlist_node hlist; member
85 hlist_for_each_entry(hn, &hash[ix], hlist) in mlx5e_add_l2_to_hash()
103 hlist_add_head(&hn->hlist, &hash[ix]); in mlx5e_add_l2_to_hash()
108 hlist_del(&hn->hlist); in mlx5e_del_l2_from_hash()
537 hlist_for_each_entry_safe(hn, tmp, &hash[i], hlist)
/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dvporttbl.c18 struct hlist_node hlist; member
65 hash_for_each_possible(esw->fdb_table.offloads.vports.table, e, hlist, key) in esw_vport_tbl_lookup()
110 hash_add(esw->fdb_table.offloads.vports.table, &e->hlist, hkey); in mlx5_esw_vporttbl_get()
135 hash_del(&e->hlist); in mlx5_esw_vporttbl_put()
Dindir_table.c36 struct hlist_node hlist; member
428 hash_add(esw->fdb_table.offloads.indir->table, &e->hlist, in mlx5_esw_indir_table_entry_create()
451 hash_for_each_possible(esw->fdb_table.offloads.indir->table, e, hlist, key) in mlx5_esw_indir_table_entry_lookup()
511 hash_del(&e->hlist); in mlx5_esw_indir_table_put()
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c112 vnic_hash_for_each_safe(mactbl, bkt, tmp, node, hlist) { in opa_vnic_free_mac_tbl()
113 hash_del(&node->hlist); in opa_vnic_free_mac_tbl()
168 vnic_hash_for_each(mactbl, bkt, node, hlist) { in opa_vnic_query_mac_tbl()
255 vnic_hash_add(new_mactbl, &node->hlist, key); in opa_vnic_update_mac_tbl()
263 vnic_hash_for_each(old_mactbl, bkt, node, hlist) { in opa_vnic_update_mac_tbl()
277 vnic_hash_add(new_mactbl, &new_node->hlist, key); in opa_vnic_update_mac_tbl()
312 vnic_hash_for_each_possible(mactbl, node, hlist, key) { in opa_vnic_chk_mac_tbl()
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c34 struct hlist_node hlist; member
53 struct hlist_node hlist; member
181 hash_for_each_possible(tc_psample->hashtbl, sampler, hlist, hash_key) in sampler_get()
200 hash_add(tc_psample->hashtbl, &sampler->hlist, hash_key); in sampler_get()
219 hash_del(&sampler->hlist); in sampler_put()
295 hash_for_each_possible(tc_psample->restore_hashtbl, restore, hlist, hash_key) in sample_restore_get()
320 hash_add(tc_psample->restore_hashtbl, &restore->hlist, hash_key); in sample_restore_get()
340 hash_del(&restore->hlist); in sample_restore_put()
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib_vlan.c40 struct hlist_node hlist; member
77 hlist_for_each_entry(node, h, hlist) { in mlx5i_find_qpn_to_netdev_node()
99 hlist_add_head(&new_node->hlist, &ht->buckets[key]); in mlx5i_pkey_add_qpn()
119 hlist_del_init(&node->hlist); in mlx5i_pkey_del_qpn()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmod_hdr.c45 hash_init(tbl->hlist); in mlx5e_mod_hdr_tbl_init()
59 hash_for_each_possible(tbl->hlist, mh, mod_hdr_hlist, hash_key) { in mod_hdr_get()
114 hash_add(tbl->hlist, &mh->mod_hdr_hlist, hash_key); in mlx5e_mod_hdr_attach()
Dtc_tun_encap.c29 struct hlist_node hlist; member
463 hash_del_rcu(&d->hlist); in mlx5e_decap_put()
518 hash_del_rcu(&d->hlist); in mlx5e_detach_decap()
587 hlist, hash_key) { in mlx5e_decap_get()
898 hash_add_rcu(esw->offloads.decap_tbl, &d->hlist, hash_key); in mlx5e_attach_decap()
969 hash_del_rcu(&r->hlist); in mlx5e_route_put()
983 hash_del_rcu(&r->hlist); in mlx5e_route_put_locked()
994 hash_for_each_possible(encap->route_tbl, r, hlist, hash_key) { in mlx5e_route_get()
1045 hash_add(encap->route_tbl, &r->hlist, hash_key); in mlx5e_route_get_create()
1247 hash_del_rcu(&r->hlist); in mlx5e_detach_decap_route()
[all …]
/drivers/md/persistent-data/
Ddm-transaction-manager.c78 struct hlist_node hlist; member
110 hlist_for_each_entry(si, tm->buckets + bucket, hlist) in is_shadow()
134 hlist_add_head(&si->hlist, tm->buckets + bucket); in insert_shadow()
149 hlist_for_each_entry_safe(si, tmp, bucket, hlist) in wipe_shadow_table()
/drivers/net/
Dmacvlan.c58 struct hlist_node hlist; member
128 hlist_for_each_entry_rcu(vlan, &port->vlan_hash[idx], hlist, in macvlan_hash_lookup()
144 hlist_for_each_entry_rcu(entry, h, hlist, lockdep_rtnl_is_held()) { in macvlan_hash_lookup_source()
170 hlist_add_head_rcu(&entry->hlist, h); in macvlan_hash_add_source()
182 hlist_add_head_rcu(&vlan->hlist, &port->vlan_hash[idx]); in macvlan_hash_add()
187 hlist_del_rcu(&entry->hlist); in macvlan_hash_del_source()
193 hlist_del_rcu(&vlan->hlist); in macvlan_hash_del()
275 hash_for_each_rcu(port->vlan_hash, i, vlan, hlist) { in macvlan_broadcast()
384 hash_for_each_safe(port->vlan_source_hash, i, next, entry, hlist) in macvlan_flush_sources()
426 hlist_for_each_entry_rcu(entry, h, hlist) { in macvlan_forward_source()
[all …]
Dgeneve.c48 struct hlist_node hlist; member
139 hlist_for_each_entry_rcu(node, vni_list_head, hlist) { in geneve_lookup()
158 hlist_for_each_entry_rcu(node, vni_list_head, hlist) { in geneve6_lookup()
684 hlist_add_head_rcu(&node->hlist, &gs->vni_list[hash]); in geneve_sock_add()
716 hlist_del_init_rcu(&geneve->hlist4.hlist); in geneve_stop()
718 hlist_del_init_rcu(&geneve->hlist6.hlist); in geneve_stop()
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c67 hash_for_each_possible_rcu(ipsec->sadb_rx, sa_entry, hlist, handle) in mlx5e_ipsec_sadb_rx_lookup()
86 hash_for_each_possible_rcu(ipsec->sadb_rx, _sa_entry, hlist, handle) in mlx5e_ipsec_sadb_rx_add()
95 hash_add_rcu(ipsec->sadb_rx, &sa_entry->hlist, sa_entry->handle); in mlx5e_ipsec_sadb_rx_add()
107 hash_del_rcu(&sa_entry->hlist); in mlx5e_ipsec_sadb_rx_del()
Dipsec.h106 struct hlist_node hlist; /* Item in SADB_RX hashtable */ member
/drivers/net/ethernet/intel/ixgbevf/
Dipsec.h18 struct hlist_node hlist; member
Dipsec.c186 hash_for_each_possible_rcu(ipsec->rx_sa_list, rsa, hlist, in ixgbevf_ipsec_find_rx_state()
340 hash_add_rcu(ipsec->rx_sa_list, &ipsec->rx_tbl[sa_idx].hlist, in ixgbevf_ipsec_add_sa()
407 hash_del_rcu(&ipsec->rx_tbl[sa_idx].hlist); in ixgbevf_ipsec_del_sa()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.h32 struct hlist_node hlist; member
/drivers/net/vxlan/
Dvxlan_core.c74 struct hlist_node hlist; /* linked list of entries */ member
205 hlist_for_each_entry_rcu(vs, vs_head(net, port), hlist) { in vxlan_find_sock()
224 hlist_for_each_entry_rcu(node, vni_head(vs, vni), hlist) { in vxlan_vs_find_vni()
525 hlist_for_each_entry_rcu(f, head, hlist) { in __vxlan_find_mac()
632 hlist_for_each_entry(f, &vxlan->fdb_head[h], hlist) { in vxlan_fdb_replay()
666 hlist_for_each_entry(f, &vxlan->fdb_head[h], hlist) in vxlan_fdb_clear_offload()
880 hlist_add_head_rcu(&f->hlist, in vxlan_fdb_insert()
1028 hlist_del_rcu(&f->hlist); in vxlan_fdb_destroy()
1408 hlist_for_each_entry_rcu(f, &vxlan->fdb_head[h], hlist) { in vxlan_fdb_dump()
1608 hlist_del_rcu(&vs->hlist); in __vxlan_sock_release_prep()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.h116 struct hlist_node hlist; member
Dfw_tracer.c373 hlist_add_head(&cur_string->hlist, head); in mlx5_tracer_message_insert()
407 hlist_del(&str_frmt->hlist); in mlx5_tracer_clean_message()
440 hlist_for_each_entry(message, head, hlist) in mlx5_tracer_message_find()
527 hlist_for_each_entry_safe(str_frmt, n, &tracer->hash[i], hlist) in mlx5_fw_tracer_clean_print_hash()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c1234 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) in i40e_count_filters()
1258 hash_for_each_possible(vsi->mac_filter_hash, f, hlist, key) { in i40e_find_filter()
1283 hash_for_each_possible(vsi->mac_filter_hash, f, hlist, key) { in i40e_find_mac()
1380 hlist_for_each_entry(new, tmp_add_list, hlist) { in i40e_correct_mac_vlan_filters()
1390 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_correct_mac_vlan_filters()
1421 hlist_add_head(&new->hlist, tmp_add_list); in i40e_correct_mac_vlan_filters()
1425 hash_del(&f->hlist); in i40e_correct_mac_vlan_filters()
1426 hlist_add_head(&f->hlist, tmp_del_list); in i40e_correct_mac_vlan_filters()
1510 hlist_for_each_entry(new_mac, tmp_add_list, hlist) { in i40e_correct_vf_mac_vlan_filters()
1515 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_correct_vf_mac_vlan_filters()
[all …]
/drivers/android/
Dbinder_internal.h35 struct hlist_node hlist; member

12