Lines Matching defs:value
43 unsigned long long value;
58 sizeof(value), 0, NULL);
65 sizeof(key), sizeof(value), 0, NULL);
94 if (bpf_map_lookup_elem(map_fd, &key, &value)) {
113 if (bpf_map_lookup_elem(map_fd, &key, &value)) {
118 if (value != 3) {
119 printf("Unexpected data in the cgroup storage: %llu\n", value);
124 value++;
125 if (bpf_map_update_elem(map_fd, &key, &value, 0)) {
135 /* Check the final value of the counter in the cgroup local storage */
136 if (bpf_map_lookup_elem(map_fd, &key, &value)) {
141 if (value != 7) {
142 printf("Unexpected data in the cgroup storage: %llu\n", value);
146 /* Check the final value of the counter in the percpu local storage */
156 value = 0;
158 value += percpu_value[cpu];
160 if (value != nproc * 1000 + 6) {