Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dqueue_stack_map.c83 err = bpf_map_lookup_and_delete_elem(map_out_fd, NULL, &val); in test_queue_stack_map_by_type()
/kernel/linux/linux-5.10/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.c409 int bpf_map_lookup_and_delete_elem(int fd, const void *key, void *value) in bpf_map_lookup_and_delete_elem() function
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_maps.c570 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) == 0 && in test_queuemap()
574 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) == -1 && in test_queuemap()
628 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) == 0 && in test_stackmap()
632 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &val) == -1 && in test_stackmap()
1459 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &value) == -1 && in test_map_wronly_stack_or_queue()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dmap.c1377 err = bpf_map_lookup_and_delete_elem(fd, key, value); in do_pop_dequeue()