Lines Matching refs:value

15 	__u64 key, value = START_VALUE;  in fill_values()  local
19 err = bpf_map_update_elem(map_fd, &key, &value, BPF_NOEXIST); in fill_values()
29 __u64 key, value[nr_cpus]; in fill_values_percpu() local
33 value[i] = START_VALUE; in fill_values_percpu()
36 err = bpf_map_update_elem(map_fd, &key, value, BPF_NOEXIST); in fill_values_percpu()
79 __u64 value) in trigger_tp() argument
85 skel->bss->set_value = value; in trigger_tp()
101 __u64 key, value; in test_lookup_and_delete_hash() local
116 &key, sizeof(key), &value, sizeof(value), 0); in test_lookup_and_delete_hash()
121 if (CHECK(value != START_VALUE, "bpf_map_lookup_and_delete_elem", in test_lookup_and_delete_hash()
122 "unexpected value=%lld\n", value)) in test_lookup_and_delete_hash()
126 err = bpf_map_lookup_elem(map_fd, &key, &value); in test_lookup_and_delete_hash()
137 __u64 key, val, value[nr_cpus]; in test_lookup_and_delete_percpu_hash() local
152 &key, sizeof(key), value, sizeof(value), 0); in test_lookup_and_delete_percpu_hash()
157 val = value[i]; in test_lookup_and_delete_percpu_hash()
166 err = bpf_map_lookup_elem(map_fd, &key, value); in test_lookup_and_delete_percpu_hash()
177 __u64 key, value; in test_lookup_and_delete_lru_hash() local
197 &key, sizeof(key), &value, sizeof(value), 0); in test_lookup_and_delete_lru_hash()
202 if (CHECK(value != NEW_VALUE, "bpf_map_lookup_and_delete_elem", in test_lookup_and_delete_lru_hash()
203 "unexpected value=%lld\n", value)) in test_lookup_and_delete_lru_hash()
207 err = bpf_map_lookup_elem(map_fd, &key, &value); in test_lookup_and_delete_lru_hash()
212 err = bpf_map_lookup_elem(map_fd, &key, &value); in test_lookup_and_delete_lru_hash()
223 __u64 key, val, value[nr_cpus]; in test_lookup_and_delete_lru_percpu_hash() local
243 value[i] = 0; in test_lookup_and_delete_lru_percpu_hash()
247 &key, sizeof(key), value, sizeof(value), 0); in test_lookup_and_delete_lru_percpu_hash()
253 val = value[i]; in test_lookup_and_delete_lru_percpu_hash()
266 err = bpf_map_lookup_elem(map_fd, &key, &value); in test_lookup_and_delete_lru_percpu_hash()
271 err = bpf_map_lookup_elem(map_fd, &key, &value); in test_lookup_and_delete_lru_percpu_hash()