Home
last modified time | relevance | path

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

/drivers/net/ethernet/mediatek/
A Dmtk_ppe_debugfs.c86 struct mtk_foe_accounting *acct; in mtk_ppe_debugfs_foe_show() local
100 acct = mtk_foe_entry_get_mib(ppe, i, NULL); in mtk_ppe_debugfs_foe_show()
164 acct ? acct->packets : 0, acct ? acct->bytes : 0); in mtk_ppe_debugfs_foe_show()
A Dmtk_ppe.c528 acct = ppe->acct_table + entry->hash * sizeof(*acct); in __mtk_foe_entry_clear()
529 acct->packets = 0; in __mtk_foe_entry_clear()
530 acct->bytes = 0; in __mtk_foe_entry_clear()
854 struct mtk_foe_accounting *acct; in mtk_foe_entry_get_mib() local
866 acct->bytes += bytes; in mtk_foe_entry_get_mib()
867 acct->packets += packets; in mtk_foe_entry_get_mib()
874 return acct; in mtk_foe_entry_get_mib()
881 struct mtk_foe_accounting *acct; in mtk_ppe_init() local
925 acct = devm_kzalloc(dev, MTK_PPE_ENTRIES * sizeof(*acct), in mtk_ppe_init()
928 if (!acct) in mtk_ppe_init()
[all …]

Completed in 8 milliseconds