/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | recursion.c | 23 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash1), &key); in test_recursion() 25 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash1), &key); in test_recursion() 29 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash2), &key); in test_recursion() 31 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash2), &key); in test_recursion()
|
D | tailcalls.c | 65 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() 128 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1() 201 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() 286 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_count() 392 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_4() 482 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_5() 554 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_1() 566 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_1() [all …]
|
D | test_local_storage.c | 84 err = bpf_map_delete_elem(map_fd, &obj_fd); in check_syscall_operations()
|
D | map_init.c | 143 err = bpf_map_delete_elem(map_fd, &key); in test_pcpu_map_init()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_maps.c | 103 assert(bpf_map_delete_elem(fd, &key) < 0 && errno == ENOENT); in test_hashmap() 118 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap() 120 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap() 121 assert(bpf_map_delete_elem(fd, &key) < 0 && errno == ENOENT); in test_hashmap() 224 assert(bpf_map_delete_elem(fd, &key) < 0 && errno == ENOENT); in test_hashmap_percpu() 252 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap_percpu() 254 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap_percpu() 255 assert(bpf_map_delete_elem(fd, &key) < 0 && errno == ENOENT); in test_hashmap_percpu() 410 assert(bpf_map_delete_elem(fd, &key) < 0 && errno == EINVAL); in test_arraymap() 469 assert(bpf_map_delete_elem(fd, &key) < 0 && errno == EINVAL); in test_arraymap_percpu() [all …]
|
D | test_lpm_map.c | 289 r = bpf_map_delete_elem(map, key); in test_lpm_map() 478 assert(bpf_map_delete_elem(map_fd, key) == -ENOENT); in test_lpm_delete() 482 assert(bpf_map_delete_elem(map_fd, key) == -ENOENT); in test_lpm_delete() 493 assert(bpf_map_delete_elem(map_fd, key) == 0); in test_lpm_delete() 503 assert(bpf_map_delete_elem(map_fd, key) == 0); in test_lpm_delete() 513 assert(bpf_map_delete_elem(map_fd, key) == 0); in test_lpm_delete() 523 assert(bpf_map_delete_elem(map_fd, key) == 0); in test_lpm_delete() 713 ret = bpf_map_delete_elem(info->map_fd, key_p); in lpm_test_command()
|
D | test_lru_map.c | 223 assert(!bpf_map_delete_elem(expected_map_fd, &key)); in test_lru_sanity0() 366 assert(!bpf_map_delete_elem(lru_map_fd, &key)); in test_lru_sanity2() 525 assert(!bpf_map_delete_elem(lru_map_fd, &key)); in test_lru_sanity4() 526 assert(bpf_map_delete_elem(lru_map_fd, &key)); in test_lru_sanity4()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | timer.c | 188 bpf_map_delete_elem(map, key); in timer_cb2() 209 bpf_map_delete_elem(map, key); in timer_cb2() 267 bpf_map_delete_elem(&hmap, &key); in BPF_PROG2() 279 bpf_map_delete_elem(&hmap_malloc, &key_malloc); in BPF_PROG2()
|
D | recursion.c | 38 bpf_map_delete_elem(&hash2, &key); in BPF_PROG()
|
D | lru_bug.c | 40 bpf_map_delete_elem(&lru_map, &(int){0}); in nanosleep()
|
D | bpf_iter_sockmap.c | 57 ret = bpf_map_delete_elem(&dst, &tmp); in copy()
|
D | bpf_iter_bpf_hash_map.c | 74 ret = bpf_map_delete_elem(&hashmap1, &tmp_key); in dump_bpf_hash_map()
|
D | for_each_hash_map_elem.c | 45 bpf_map_delete_elem(map, key); in check_hash_elem()
|
/linux-6.1.9/samples/bpf/ |
D | map_perf_test_kern.c | 117 bpf_map_delete_elem(&hash_map, &key); in SYSCALL() 135 bpf_map_delete_elem(&percpu_hash_map, &key); in SYSCALL() 152 bpf_map_delete_elem(&hash_map_alloc, &key); in SYSCALL() 169 bpf_map_delete_elem(&percpu_hash_map_alloc, &key); in SYSCALL()
|
D | offwaketime_kern.c | 98 bpf_map_delete_elem(&wokeby, &pid); in update_counts() 150 bpf_map_delete_elem(&start, &pid);
|
D | test_map_in_map_user.c | 109 bpf_map_delete_elem(REG_RESULT_H, &result_key); in test_map_in_map() 110 bpf_map_delete_elem(INLINE_RESULT_H, &result_key); in test_map_in_map()
|
D | tracex6_user.c | 66 assert(bpf_map_delete_elem(map_fd[0], &cpu) == 0 || error); in check_on_cpu() 69 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 | 82 bpf_map_delete_elem(map_fd, &next_key); in main()
|
D | xdp_router_ipv4_user.c | 176 assert(bpf_map_delete_elem(exact_match_map_fd, in read_route() 206 assert(bpf_map_delete_elem(lpm_map_fd, in read_route() 373 assert(bpf_map_delete_elem(arp_table_map_fd, in read_arp()
|
/linux-6.1.9/tools/perf/util/bpf_skel/ |
D | func_latency.bpf.c | 97 bpf_map_delete_elem(&functime, &tid); in BPF_PROG()
|
/linux-6.1.9/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 312 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()
|