Lines Matching refs:key
24 map_key_t key; in map_populate() local
29 for (key = 1; key <= num; key++) { in map_populate()
30 err = bpf_map_update_elem(map_fd, &key, value, BPF_NOEXIST); in map_populate()
78 static int prog_run_insert_elem(struct test_map_init *skel, map_key_t key, in prog_run_insert_elem() argument
85 bss->inKey = key; in prog_run_insert_elem()
134 map_key_t key; in test_pcpu_map_init() local
142 key = 1; in test_pcpu_map_init()
143 err = bpf_map_delete_elem(map_fd, &key); in test_pcpu_map_init()
148 err = prog_run_insert_elem(skel, key, TEST_VALUE); in test_pcpu_map_init()
153 err = bpf_map_lookup_elem(map_fd, &key, value); in test_pcpu_map_init()
174 map_key_t key; in test_pcpu_lru_map_init() local
184 key = 3; in test_pcpu_lru_map_init()
185 err = prog_run_insert_elem(skel, key, TEST_VALUE); in test_pcpu_lru_map_init()
190 err = bpf_map_lookup_elem(map_fd, &key, value); in test_pcpu_lru_map_init()