Searched refs:acct (Results 1 – 2 of 2) sorted by relevance
86 struct mtk_foe_accounting *acct; in mtk_ppe_debugfs_foe_show() local100 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()
528 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() local866 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() local925 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