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/ |
D | queue_stack_map.c | 83 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/ |
D | libbpf.map | 32 bpf_map_lookup_and_delete_elem;
|
D | bpf.h | 125 LIBBPF_API int bpf_map_lookup_and_delete_elem(int fd, const void *key,
|
D | bpf.c | 409 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/ |
D | test_maps.c | 570 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/ |
D | map.c | 1377 err = bpf_map_lookup_and_delete_elem(fd, key, value); in do_pop_dequeue()
|