/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
H A D | tailcalls.c | 71 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1() 124 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1() 134 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1() 207 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_2() 216 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_2() 376 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_count() 648 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_1() 660 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_1() 740 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_2() 810 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_3() [all …]
|
H A 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/tools/testing/selftests/bpf/ |
H A D | test_maps.c | 118 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap() 120 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap() 252 assert(bpf_map_delete_elem(fd, &key) == 0); in test_hashmap_percpu() 1035 err = bpf_map_delete_elem(fd, &i); in test_sockmap() 1082 bpf_map_delete_elem(map_fd_tx, &i); in test_sockmap() 1083 bpf_map_delete_elem(map_fd_rx, &i); in test_sockmap() 1123 bpf_map_delete_elem(map_fd_tx, &i); in test_sockmap() 1124 bpf_map_delete_elem(map_fd_rx, &i); in test_sockmap() 1141 bpf_map_delete_elem(map_fd_tx, &i); in test_sockmap() 1143 bpf_map_delete_elem(map_fd_rx, &i); in test_sockmap() [all …]
|
H A 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/samples/bpf/ |
H A 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()
|
H A D | offwaketime.bpf.c | 91 bpf_map_delete_elem(&wokeby, &pid); in update_counts() 133 bpf_map_delete_elem(&start, &pid);
|
H A 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()
|
H A 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()
|
H A D | tracex4.bpf.c | 32 bpf_map_delete_elem(&my_map, &ptr); in bpf_prog1()
|
H A D | spintest.bpf.c | 44 bpf_map_delete_elem(&my_map2, &v); \
|
H A 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()
|
H A D | spintest_user.c | 74 bpf_map_delete_elem(map_fd, &next_key); in main()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H A D | timer.c | 200 bpf_map_delete_elem(map, key); in timer_cb2() 221 bpf_map_delete_elem(map, key); in timer_cb2() 279 bpf_map_delete_elem(&hmap, &key); in BPF_PROG2() 291 bpf_map_delete_elem(&hmap_malloc, &key_malloc); in BPF_PROG2()
|
H A D | verifier_sockmap_mutate.c | 42 bpf_map_delete_elem(&sockmap, &zero); in test_sockmap_delete() 43 bpf_map_delete_elem(&sockhash, &zero); in test_sockmap_delete()
|
H A D | recursion.c | 38 bpf_map_delete_elem(&hash2, &key); in BPF_PROG()
|
H A D | lru_bug.c | 40 bpf_map_delete_elem(&lru_map, &(int){0}); in nanosleep()
|
H A D | verifier_map_ret_val.c | 32 : __imm(bpf_map_delete_elem), in map_fd_for_function_call()
|
H A D | bpf_iter_sockmap.c | 57 ret = bpf_map_delete_elem(&dst, &tmp); in copy()
|
H A D | task_kfunc_common.h | 59 bpf_map_delete_elem(&__tasks_kfunc_map, &pid); in tasks_kfunc_map_insert()
|
/linux/Documentation/bpf/ |
H A 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()``
|
H A 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
|
H A 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()``
|
H A 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()``
|