Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dqueue_stack_map.c95 err = bpf_map_lookup_and_delete_elem(map_out_fd, NULL, &val); in test_queue_stack_map_by_type()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_maps.c72 assert(bpf_map_lookup_and_delete_elem(fd, &key, &value) == 0 && value == 1234); in test_hashmap()
176 assert(bpf_map_lookup_and_delete_elem(fd, &key, value) == 0 && in test_hashmap_percpu()
581 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) == 0 && in test_queuemap()
585 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) < 0 && in test_queuemap()
637 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) == 0 && in test_stackmap()
641 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) < 0 && in test_stackmap()
1609 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &value) < 0 && in test_map_wronly_stack_or_queue()
Dtest_lru_map.c219 assert(!bpf_map_lookup_and_delete_elem(lru_map_fd, &key, &value)); in test_lru_sanity0()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.map17 bpf_map_lookup_and_delete_elem;
Dbpf.h132 LIBBPF_API int bpf_map_lookup_and_delete_elem(int fd, const void *key,
Dbpf.c429 int bpf_map_lookup_and_delete_elem(int fd, const void *key, void *value) in bpf_map_lookup_and_delete_elem() function
/linux-6.1.9/tools/bpf/bpftool/
Dmap.c1371 err = bpf_map_lookup_and_delete_elem(fd, key, value); in do_pop_dequeue()