/linux-6.6.21/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 | htab_reuse.c | 50 bpf_map_delete_elem(ctx->fd, &key); in htab_update_fn() 56 bpf_map_delete_elem(ctx->fd, &key); in htab_update_fn()
|
/linux-6.6.21/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()
|
/linux-6.6.21/samples/bpf/ |
D | map_perf_test.bpf.c | 115 bpf_map_delete_elem(&hash_map, &key); in BPF_KSYSCALL() 133 bpf_map_delete_elem(&percpu_hash_map, &key); in BPF_KSYSCALL() 150 bpf_map_delete_elem(&hash_map_alloc, &key); in BPF_KSYSCALL() 167 bpf_map_delete_elem(&percpu_hash_map_alloc, &key); in BPF_KSYSCALL()
|
D | offwaketime.bpf.c | 91 bpf_map_delete_elem(&wokeby, &pid); in update_counts() 133 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.bpf.c | 32 bpf_map_delete_elem(&my_map, &ptr); in bpf_prog1()
|
D | spintest.bpf.c | 44 bpf_map_delete_elem(&my_map2, &v); \
|
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 | spintest_user.c | 74 bpf_map_delete_elem(map_fd, &next_key); in main()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | timer.c | 196 bpf_map_delete_elem(map, key); in timer_cb2() 217 bpf_map_delete_elem(map, key); in timer_cb2() 275 bpf_map_delete_elem(&hmap, &key); in BPF_PROG2() 287 bpf_map_delete_elem(&hmap_malloc, &key_malloc); in BPF_PROG2()
|
D | cgrp_kfunc_common.h | 60 bpf_map_delete_elem(&__cgrps_kfunc_map, &id); in cgrps_kfunc_map_insert() 66 bpf_map_delete_elem(&__cgrps_kfunc_map, &id); in cgrps_kfunc_map_insert()
|
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 | verifier_map_ret_val.c | 32 : __imm(bpf_map_delete_elem), in map_fd_for_function_call()
|
D | bpf_iter_sockmap.c | 57 ret = bpf_map_delete_elem(&dst, &tmp); in copy()
|
D | task_kfunc_common.h | 59 bpf_map_delete_elem(&__tasks_kfunc_map, &pid); in tasks_kfunc_map_insert()
|
/linux-6.6.21/tools/perf/util/bpf_skel/ |
D | lock_contention.bpf.c | 349 bpf_map_delete_elem(&tstamp, &pid); in contention_end() 379 bpf_map_delete_elem(&tstamp, &pid); in contention_end() 402 bpf_map_delete_elem(&tstamp, &pid); in contention_end() 415 bpf_map_delete_elem(&tstamp, &pid); in contention_end()
|
/linux-6.6.21/Documentation/bpf/ |
D | map_cpumap.rst | 87 bpf_map_delete_elem() 91 int bpf_map_delete_elem(int fd, const void *key); 93 CPU entries can be deleted using the ``bpf_map_delete_elem()``
|
D | map_sk_storage.rst | 99 bpf_map_delete_elem() 104 int bpf_map_delete_elem(int map_fd, const void *key) 107 ``bpf_map_delete_elem()`` libbpf function. The storage is deleted from the
|
D | map_lpm_trie.rst | 72 bpf_map_delete_elem() 77 long bpf_map_delete_elem(struct bpf_map *map, const void *key) 79 Prefix entries can be deleted using the ``bpf_map_delete_elem()``
|
D | map_xskmap.rst | 119 bpf_map_delete_elem() 123 int bpf_map_delete_elem(int fd, const void *key) 125 XSK entries can be deleted using the ``bpf_map_delete_elem()``
|