Home
last modified time | relevance | path

Searched refs:bpf_map_lookup_and_delete_elem (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dlookup_and_delete.c115 err = bpf_map_lookup_and_delete_elem(map_fd, &key, &value); in test_lookup_and_delete_hash()
150 err = bpf_map_lookup_and_delete_elem(map_fd, &key, value); in test_lookup_and_delete_percpu_hash()
194 err = bpf_map_lookup_and_delete_elem(map_fd, &key, &value); in test_lookup_and_delete_lru_hash()
243 err = bpf_map_lookup_and_delete_elem(map_fd, &key, value); in test_lookup_and_delete_lru_percpu_hash()
Dqueue_stack_map.c83 err = bpf_map_lookup_and_delete_elem(map_out_fd, NULL, &val); in test_queue_stack_map_by_type()
/tools/lib/bpf/
Dlibbpf.map32 bpf_map_lookup_and_delete_elem;
Dbpf.h125 LIBBPF_API int bpf_map_lookup_and_delete_elem(int fd, const void *key,
Dbpf.c466 int bpf_map_lookup_and_delete_elem(int fd, const void *key, void *value) in bpf_map_lookup_and_delete_elem() function
/tools/testing/selftests/bpf/
Dtest_maps.c73 assert(bpf_map_lookup_and_delete_elem(fd, &key, &value) == 0 && value == 1234); in test_hashmap()
178 assert(bpf_map_lookup_and_delete_elem(fd, &key, value) == 0 && in test_hashmap_percpu()
587 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) == 0 && in test_queuemap()
591 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) < 0 && in test_queuemap()
645 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) == 0 && in test_stackmap()
649 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) < 0 && in test_stackmap()
1591 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &value) < 0 && in test_map_wronly_stack_or_queue()
Dtest_lru_map.c236 assert(!bpf_map_lookup_and_delete_elem(lru_map_fd, &key, &value)); in test_lru_sanity0()
/tools/bpf/bpftool/
Dmap.c1376 err = bpf_map_lookup_and_delete_elem(fd, key, value); in do_pop_dequeue()