/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | map_perf_test_kern.c | 115 bpf_map_delete_elem(&hash_map, &key); in SYSCALL() 130 bpf_map_delete_elem(&percpu_hash_map, &key); in SYSCALL() 144 bpf_map_delete_elem(&hash_map_alloc, &key); in SYSCALL() 158 bpf_map_delete_elem(&percpu_hash_map_alloc, &key); in SYSCALL()
|
D | offwaketime_kern.c | 97 bpf_map_delete_elem(&wokeby, &pid); in update_counts() 149 bpf_map_delete_elem(&start, &pid);
|
D | test_map_in_map_user.c | 108 bpf_map_delete_elem(REG_RESULT_H, &result_key); in test_map_in_map() 109 bpf_map_delete_elem(INLINE_RESULT_H, &result_key); in test_map_in_map()
|
D | tracex6_user.c | 67 assert(bpf_map_delete_elem(map_fd[0], &cpu) == 0 || error); in check_on_cpu() 70 assert(bpf_map_delete_elem(map_fd[1], &cpu) == 0 || error); in check_on_cpu()
|
D | tracex4_kern.c | 33 bpf_map_delete_elem(&my_map, &ptr); in bpf_prog1()
|
D | trace_event_user.c | 111 bpf_map_delete_elem(fd, &next_key); in print_stacks() 122 bpf_map_delete_elem(stack_map, &next_id); in print_stacks()
|
D | tracex3_kern.c | 66 bpf_map_delete_elem(&my_map, &rq); in bpf_prog2()
|
D | spintest_kern.c | 43 bpf_map_delete_elem(&my_map2, &v); \
|
D | spintest_user.c | 89 bpf_map_delete_elem(map_fd, &next_key); in main()
|
D | xdp_router_ipv4_user.c | 222 assert(bpf_map_delete_elem(exact_match_map_fd, in read_route() 267 assert(bpf_map_delete_elem(lpm_map_fd, in read_route() 437 assert(bpf_map_delete_elem(arp_table_map_fd, in read_arp()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/bpf/runqslower/ |
D | runqslower.bpf.c | 94 bpf_map_delete_elem(&start, &pid); in handle__sched_switch()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | helpers.c | 63 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() argument 70 .func = bpf_map_delete_elem,
|