Lines Matching refs:statsMap
135 int limitUid, const BpfMap<StatsKey, StatsValue>& statsMap, in parseBpfNetworkStatsDetailInternal() argument
141 const BpfMap<StatsKey, StatsValue>& statsMap) -> Result<void> { in parseBpfNetworkStatsDetailInternal() argument
143 if (getIfaceNameFromMap(ifaceMap, statsMap, key.ifaceIndex, ifname, key, in parseBpfNetworkStatsDetailInternal()
159 Result<StatsValue> statsEntry = statsMap.readValue(key); in parseBpfNetworkStatsDetailInternal()
166 Result<void> res = statsMap.iterate(processDetailUidStats); in parseBpfNetworkStatsDetailInternal()
209 BpfMap<StatsKey, StatsValue> statsMap(statsMapPath); in parseBpfNetworkStatsDetail() local
210 if (!statsMap.isValid()) { in parseBpfNetworkStatsDetail()
218 int ret = parseBpfNetworkStatsDetailInternal(lines, limitIfaces, limitTag, limitUid, statsMap, in parseBpfNetworkStatsDetail()
225 Result<void> res = statsMap.clear(); in parseBpfNetworkStatsDetail()
235 const BpfMap<uint32_t, StatsValue>& statsMap, in parseBpfNetworkStatsDevInternal() argument
238 const auto processDetailIfaceStats = [lines, &unknownIfaceBytesTotal, &ifaceMap, &statsMap]( in parseBpfNetworkStatsDevInternal()
242 if (getIfaceNameFromMap(ifaceMap, statsMap, key, ifname, key, &unknownIfaceBytesTotal)) { in parseBpfNetworkStatsDevInternal()
253 Result<void> res = statsMap.iterateWithValue(processDetailIfaceStats); in parseBpfNetworkStatsDevInternal()