Lines Matching refs:stat_v
189 TetherStatsValue* stat_v = bpf_tether_stats_map_lookup_elem(&stat_and_limit_k); local
192 if (!stat_v) TC_PUNT(NO_STATS_ENTRY);
225 if (stat_v->rxBytes + stat_v->txBytes + bytes > *limit_v) TC_PUNT(LIMIT_REACHED);
232 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1);
244 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1);
264 __sync_fetch_and_add(downstream ? &stat_v->rxPackets : &stat_v->txPackets, packets);
265 __sync_fetch_and_add(downstream ? &stat_v->rxBytes : &stat_v->txBytes, bytes);
502 TetherStatsValue* stat_v = bpf_tether_stats_map_lookup_elem(&stat_and_limit_k); in do_forward4() local
505 if (!stat_v) TC_PUNT(NO_STATS_ENTRY); in do_forward4()
538 if (stat_v->rxBytes + stat_v->txBytes + bytes > *limit_v) TC_PUNT(LIMIT_REACHED); in do_forward4()
545 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1); in do_forward4()
559 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1); in do_forward4()
613 __sync_fetch_and_add(downstream ? &stat_v->rxPackets : &stat_v->txPackets, packets); in do_forward4()
614 __sync_fetch_and_add(downstream ? &stat_v->rxBytes : &stat_v->txBytes, bytes); in do_forward4()