/tools/testing/selftests/bpf/ |
D | test_maps.c | 97 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == ENOENT); in test_hashmap() 112 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap() 114 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap() 115 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == ENOENT); in test_hashmap() 209 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == ENOENT); in test_hashmap_percpu() 237 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap_percpu() 239 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap_percpu() 240 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == ENOENT); in test_hashmap_percpu() 395 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == EINVAL); in test_arraymap() 454 assert(bpf_map_delete_elem(fd, &key) == -1 && errno == EINVAL); in test_arraymap_percpu() [all …]
|
D | test_lpm_map.c | 288 r = bpf_map_delete_elem(map, key); in test_lpm_map() 479 assert(bpf_map_delete_elem(map_fd, key) == -1 && in test_lpm_delete() 484 assert(bpf_map_delete_elem(map_fd, key) == -1 && in test_lpm_delete() 496 assert(bpf_map_delete_elem(map_fd, key) == 0); in test_lpm_delete() 506 assert(bpf_map_delete_elem(map_fd, key) == 0); in test_lpm_delete() 516 assert(bpf_map_delete_elem(map_fd, key) == 0); in test_lpm_delete() 526 assert(bpf_map_delete_elem(map_fd, key) == 0); in test_lpm_delete() 723 ret = bpf_map_delete_elem(info->map_fd, key_p); in lpm_test_command()
|
D | xdping.c | 68 bpf_map_delete_elem(fd, &raddr); in get_stats()
|
D | test_lru_map.c | 375 assert(!bpf_map_delete_elem(lru_map_fd, &key)); in test_lru_sanity2() 535 assert(!bpf_map_delete_elem(lru_map_fd, &key)); in test_lru_sanity4() 536 assert(bpf_map_delete_elem(lru_map_fd, &key)); in test_lru_sanity4()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | tailcalls.c | 62 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1() 118 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1() 129 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1() 200 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_2() 210 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_2() 287 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_3() 375 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_4() 463 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_5() 533 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_1() 546 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_1() [all …]
|
D | sockmap_ktls.c | 79 err = bpf_map_delete_elem(map, &zero); in test_sockmap_ktls_disconnect_after_delete()
|
D | map_init.c | 143 err = bpf_map_delete_elem(map_fd, &key); in test_pcpu_map_init()
|
D | sockmap_listen.c | 141 int __ret = bpf_map_delete_elem((fd), (key)); \ 437 err = bpf_map_delete_elem(mapfd, &key); in test_delete_after_close() 881 err = bpf_map_delete_elem(mapfd, &zero); in test_race_insert_listen() 1431 err = bpf_map_delete_elem(mapfd, &key); in test_ops_cleanup()
|
D | tcp_hdr_options.c | 326 bpf_map_delete_elem(lport_linum_map_fd, &lport); in reset_test()
|
D | flow_dissector.c | 511 err = bpf_map_delete_elem(keys_fd, &key); in run_tests_skb_less()
|
D | select_reuseport.c | 722 err = bpf_map_delete_elem(outer_map, &index_zero); in cleanup_per_test()
|
/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_sockmap.c | 57 ret = bpf_map_delete_elem(&dst, &tmp); in copy()
|
D | bpf_iter_bpf_hash_map.c | 75 ret = bpf_map_delete_elem(&hashmap1, &tmp_key); in dump_bpf_hash_map()
|
D | profiler.inc.h | 676 bpf_map_delete_elem(&var_tpid_to_data, &tpid); in raw_tracepoint__sched_process_exit()
|
/tools/bpf/runqslower/ |
D | runqslower.bpf.c | 94 bpf_map_delete_elem(&start, &pid); in handle__sched_switch()
|
/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 316 err = bpf_map_delete_elem(map_fd, &sk_fd); in delete_thread() 551 err = bpf_map_delete_elem(map_fd, &sk_fd); in test_sk_storage_map_basic() 559 err = bpf_map_delete_elem(map_fd, &sk_fd); in test_sk_storage_map_basic()
|
/tools/lib/bpf/ |
D | libbpf.map | 28 bpf_map_delete_elem;
|
D | bpf.h | 127 LIBBPF_API int bpf_map_delete_elem(int fd, const void *key);
|
D | xsk.c | 502 bpf_map_delete_elem(ctx->xsks_map_fd, &ctx->queue_id); in xsk_delete_bpf_maps()
|
D | bpf.c | 421 int bpf_map_delete_elem(int fd, const void *key) in bpf_map_delete_elem() function
|
D | libbpf.c | 9851 if (bpf_map_delete_elem(link->fd, &zero)) in bpf_link__detach_struct_ops() 10015 bpf_map_delete_elem(pb->map_fd, &cpu_buf->map_key); in perf_buffer__free()
|
/tools/bpf/bpftool/ |
D | struct_ops.c | 449 if (bpf_map_delete_elem(fd, &zero)) { in __do_unregister()
|
D | map.c | 1226 err = bpf_map_delete_elem(fd, key); in do_delete()
|