Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_mps.c10 struct mps_entries_ref *mps_entry, *tmp; in cxgb4_mps_ref_dec_by_mac() local
14 list_for_each_entry_safe(mps_entry, tmp, &adap->mps_ref, list) { in cxgb4_mps_ref_dec_by_mac()
15 if (ether_addr_equal(mps_entry->addr, addr) && in cxgb4_mps_ref_dec_by_mac()
16 ether_addr_equal(mps_entry->mask, mask ? mask : bitmask)) { in cxgb4_mps_ref_dec_by_mac()
17 if (!refcount_dec_and_test(&mps_entry->refcnt)) { in cxgb4_mps_ref_dec_by_mac()
21 list_del(&mps_entry->list); in cxgb4_mps_ref_dec_by_mac()
22 kfree(mps_entry); in cxgb4_mps_ref_dec_by_mac()
33 struct mps_entries_ref *mps_entry, *tmp; in cxgb4_mps_ref_dec() local
37 list_for_each_entry_safe(mps_entry, tmp, &adap->mps_ref, list) { in cxgb4_mps_ref_dec()
38 if (mps_entry->idx == idx) { in cxgb4_mps_ref_dec()
[all …]