Home
last modified time | relevance | path

Searched refs:mactbl (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.c103 static void opa_vnic_free_mac_tbl(struct hlist_head *mactbl) in opa_vnic_free_mac_tbl() argument
109 if (!mactbl) in opa_vnic_free_mac_tbl()
112 vnic_hash_for_each_safe(mactbl, bkt, tmp, node, hlist) { in opa_vnic_free_mac_tbl()
116 kfree(mactbl); in opa_vnic_free_mac_tbl()
122 struct hlist_head *mactbl; in opa_vnic_alloc_mac_tbl() local
124 mactbl = kzalloc(size, GFP_KERNEL); in opa_vnic_alloc_mac_tbl()
125 if (!mactbl) in opa_vnic_alloc_mac_tbl()
128 vnic_hash_init(mactbl); in opa_vnic_alloc_mac_tbl()
129 return mactbl; in opa_vnic_alloc_mac_tbl()
135 struct hlist_head *mactbl; in opa_vnic_release_mac_tbl() local
[all …]
H A Dopa_vnic_internal.h212 struct hlist_head __rcu *mactbl; member