Home
last modified time | relevance | path

Searched refs:vlan_hash (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/net/bridge/
Dbr_vlan.c207 rhashtable_remove_fast(&vg->vlan_hash, in br_vlan_put_master()
345 err = rhashtable_lookup_insert_fast(&vg->vlan_hash, &v->vnode, in __vlan_add()
417 rhashtable_remove_fast(&vg->vlan_hash, &v->vnode, in __vlan_del()
434 rhashtable_destroy(&vg->vlan_hash); in __vlan_group_free()
853 return br_vlan_lookup(&vg->vlan_hash, vid); in br_vlan_find()
1063 v = br_vlan_lookup(&vg->vlan_hash, vid); in vlan_default_pvid()
1226 ret = rhashtable_init(&vg->vlan_hash, &br_vlan_rht_params); in br_vlan_init()
1241 rhashtable_destroy(&vg->vlan_hash); in br_vlan_init()
1267 ret = rhashtable_init(&vg->vlan_hash, &br_vlan_rht_params); in nbp_vlan_init()
1294 rhashtable_destroy(&vg->vlan_hash); in nbp_vlan_init()
Dbr_private.h258 struct rhashtable vlan_hash; member
/linux-6.6.21/drivers/net/
Dmacvlan.c45 struct hlist_head vlan_hash[MACVLAN_HASH_SIZE]; member
130 hlist_for_each_entry_rcu(vlan, &port->vlan_hash[idx], hlist, in macvlan_hash_lookup()
184 hlist_add_head_rcu(&vlan->hlist, &port->vlan_hash[idx]); in macvlan_hash_add()
277 hash_for_each_rcu(port->vlan_hash, i, vlan, hlist) { in macvlan_broadcast()
1262 INIT_HLIST_HEAD(&port->vlan_hash[i]); in macvlan_port_create()