Home
last modified time | relevance | path

Searched refs:bpf_iter_num_new (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Diters.c38 bpf_iter_num_new(&it, 0, 1000); in iter_err_unsafe_c_loop()
82 __imm(bpf_iter_num_new), in iter_err_unsafe_asm_loop()
100 bpf_iter_num_new(&it, 0, 3); in iter_while_loop()
118 bpf_iter_num_new(&it, 0, 3); in iter_while_loop_auto_cleanup()
136 bpf_iter_num_new(&it, 5, 10); in iter_for_loop()
184 bpf_iter_num_new(&it, 0, 2); in iter_pragma_unroll_loop()
204 bpf_iter_num_new(&it, 100, 200); in iter_manual_unroll_loop()
227 bpf_iter_num_new(&it, 0, 3); in iter_multiple_sequential_loops()
233 bpf_iter_num_new(&it, 5, 10); in iter_multiple_sequential_loops()
239 bpf_iter_num_new(&it, 0, 2); in iter_multiple_sequential_loops()
[all …]
Diters_num.c144 res_invalid_range = bpf_iter_num_new(&it, 1, 0); in num_invalid_range()
158 res_max_range = 10 + bpf_iter_num_new(&it, 0, BPF_MAX_LOOPS); in num_max_range()
172 res_e2big_range = bpf_iter_num_new(&it, -1, BPF_MAX_LOOPS); in num_e2big_range()
187 bpf_iter_num_new(&it, 0, 10); in num_succ_elem_cnt()
207 bpf_iter_num_new(&it, 0, 5); in num_overfetched_elem_cnt()
229 bpf_iter_num_new(&it, 100, 10); in num_fail_elem_cnt()
Diters_state_safety.c13 __imm(bpf_iter_num_new), \
180 bpf_iter_num_new(&iter, 0, 1); in subprog_with_iter()
Diters_looping.c13 __imm(bpf_iter_num_new), \
Dverifier_iterating_callbacks.c566 bpf_iter_num_new(&it, 0, ARR2_SZ); in __flag()
583 bpf_iter_num_new(&it, 0, ARR2_SZ); in __flag()
602 bpf_iter_num_new(&it, 0, ARR2_SZ); in __flag()
Diters_testmod.c115 bpf_iter_num_new(&num_it, 0, 10); in iter_next_ptr_mem_not_trusted()
/linux-6.12.1/tools/lib/bpf/
Dbpf_helpers.h322 extern int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) __weak __ksym;
389 bpf_iter_num_new(&___it, (start), (end)), \
414 bpf_iter_num_new(&___it, 0, (N)), \
/linux-6.12.1/tools/testing/selftests/bpf/
Dbpf_arena_list.h28 static inline void *bpf_iter_num_new(struct bpf_iter_num *it, int i, int j) { return NULL; } in bpf_iter_num_new() function
/linux-6.12.1/kernel/bpf/
Dbpf_iter.c786 __bpf_kfunc int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) in bpf_iter_num_new() function
Dhelpers.c3095 BTF_ID_FLAGS(func, bpf_iter_num_new, KF_ITER_NEW)