Home
last modified time | relevance | path

Searched refs:bpf_iter_num_destroy (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Diters.c42 bpf_iter_num_destroy(&it); in iter_err_unsafe_c_loop()
72 "call %[bpf_iter_num_destroy];" in iter_err_unsafe_asm_loop()
84 __imm(bpf_iter_num_destroy) in iter_err_unsafe_asm_loop()
104 bpf_iter_num_destroy(&it); in iter_while_loop()
113 __attribute__((cleanup(bpf_iter_num_destroy))) struct bpf_iter_num it; in iter_while_loop_auto_cleanup()
122 /* (!) no explicit bpf_iter_num_destroy() */ in iter_while_loop_auto_cleanup()
140 bpf_iter_num_destroy(&it); in iter_for_loop()
190 bpf_iter_num_destroy(&it); in iter_pragma_unroll_loop()
213 bpf_iter_num_destroy(&it); in iter_manual_unroll_loop()
231 bpf_iter_num_destroy( in iter_multiple_sequential_loops()
[all...]
H A Diters_num.c145 bpf_iter_num_destroy(&it); in num_invalid_range()
159 bpf_iter_num_destroy(&it); in num_max_range()
173 bpf_iter_num_destroy(&it); in num_e2big_range()
191 bpf_iter_num_destroy(&it); in num_succ_elem_cnt()
213 bpf_iter_num_destroy(&it); in num_overfetched_elem_cnt()
235 bpf_iter_num_destroy(&it); in num_fail_elem_cnt()
H A Dverifier_linked_scalars.c478 bpf_iter_num_destroy(0); in dummy_calls()
530 __imm(bpf_iter_num_destroy), in __flag()
H A Dverifier_iterating_callbacks.c567 bpf_iter_num_destroy(&it); in __flag()
584 bpf_iter_num_destroy(&it); in __flag()
603 bpf_iter_num_destroy(&it); in __flag()
H A Diters_looping.c15 __imm(bpf_iter_num_destroy)
H A Diters_testmod.c123 bpf_iter_num_destroy(&num_it); in iter_next_ptr_mem_not_trusted()
H A Diters_state_safety.c15 __imm(bpf_iter_num_destroy)
46 "call %[bpf_iter_num_destroy];" in create_and_destroy()
84 "call %[bpf_iter_num_destroy];" in destroy_without_creating_fail()
111 "call %[bpf_iter_num_destroy];" in compromise_iter_w_direct_write_fail()
167 "call %[bpf_iter_num_destroy];" in compromise_iter_w_helper_write_fail()
212 "call %[bpf_iter_num_destroy];" in valid_stack_reuse()
223 "call %[bpf_iter_num_destroy];" in valid_stack_reuse()
251 "call %[bpf_iter_num_destroy];" in double_create_fail()
274 "call %[bpf_iter_num_destroy];" in double_destroy_fail()
277 "call %[bpf_iter_num_destroy];" in double_destroy_fail()
[all...]
/linux/tools/lib/bpf/
H A Dbpf_helpers.h347 extern void bpf_iter_num_destroy(struct bpf_iter_num *it) __weak __ksym;
409 cleanup(bpf_iter_num_destroy))), \
415 (void)bpf_iter_num_destroy, (void *)0); \
434 cleanup(bpf_iter_num_destroy))), \
440 (void)bpf_iter_num_destroy, (void *)0); \
/linux/tools/testing/selftests/bpf/
H A Dbpf_arena_list.h29 static inline void bpf_iter_num_destroy(struct bpf_iter_num *it) {} in bpf_iter_num_destroy() function
/linux/kernel/bpf/
H A Dbpf_iter.c820 __bpf_kfunc void bpf_iter_num_destroy(struct bpf_iter_num *it) in bpf_iter_num_destroy() function
H A Dhelpers.c4606 BTF_ID_FLAGS(func, bpf_iter_num_destroy, KF_ITER_DESTROY)
H A Dverifier.c12591 BTF_ID(func, bpf_iter_num_destroy) in BTF_ID()