percpu_netcnt 17 tools/testing/selftests/bpf/progs/netcnt_prog.c } percpu_netcnt SEC(".maps"); percpu_netcnt 35 tools/testing/selftests/bpf/progs/netcnt_prog.c percpu_cnt = bpf_get_local_storage(&percpu_netcnt, 0); percpu_netcnt 36 tools/testing/selftests/bpf/test_netcnt.c struct percpu_net_cnt *percpu_netcnt; percpu_netcnt 49 tools/testing/selftests/bpf/test_netcnt.c percpu_netcnt = malloc(sizeof(*percpu_netcnt) * nproc); percpu_netcnt 50 tools/testing/selftests/bpf/test_netcnt.c if (!percpu_netcnt) { percpu_netcnt 117 tools/testing/selftests/bpf/test_netcnt.c if (bpf_map_lookup_elem(percpu_map_fd, &key, &percpu_netcnt[0])) { percpu_netcnt 128 tools/testing/selftests/bpf/test_netcnt.c if (percpu_netcnt[cpu].packets > MAX_PERCPU_PACKETS) { percpu_netcnt 130 tools/testing/selftests/bpf/test_netcnt.c percpu_netcnt[cpu].packets); percpu_netcnt 134 tools/testing/selftests/bpf/test_netcnt.c packets += percpu_netcnt[cpu].packets; percpu_netcnt 135 tools/testing/selftests/bpf/test_netcnt.c bytes += percpu_netcnt[cpu].bytes; percpu_netcnt 157 tools/testing/selftests/bpf/test_netcnt.c free(percpu_netcnt);