Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/bpf/
H A Dmap_queue_stack.rst95 bpf_map_lookup_and_delete_elem()
100 int bpf_map_lookup_and_delete_elem (int fd, const void *key, void *value)
103 the libbpf ``bpf_map_lookup_and_delete_elem`` function. The ``key`` parameter
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dqueue_stack_map.c95 err = bpf_map_lookup_and_delete_elem(map_out_fd, NULL, &val); in test_queue_stack_map_by_type()
/openbmc/linux/tools/testing/selftests/bpf/
H A 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()
1613 assert(bpf_map_lookup_and_delete_elem(fd, NULL, &value) < 0 && in test_map_wronly_stack_or_queue()
H A Dtest_lru_map.c220 assert(!bpf_map_lookup_and_delete_elem(lru_map_fd, &key, &value)); in test_lru_sanity0()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.map17 bpf_map_lookup_and_delete_elem;
H A Dbpf.h146 LIBBPF_API int bpf_map_lookup_and_delete_elem(int fd, const void *key,
H A Dbpf.c428 int bpf_map_lookup_and_delete_elem(int fd, const void *key, void *value) in bpf_map_lookup_and_delete_elem() function
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c118 ret = bpf_map_lookup_and_delete_elem(map_fd, keyp, val); in delete_all_elements()
/openbmc/linux/tools/bpf/bpftool/
H A Dmap.c1375 err = bpf_map_lookup_and_delete_elem(fd, key, value); in do_pop_dequeue()