Home
last modified time | relevance | path

Searched refs:bpf_iter_num (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Diters_state_safety.c36 struct bpf_iter_num iter; in create_and_destroy()
59 struct bpf_iter_num iter; in create_and_forget_to_destroy_fail()
80 struct bpf_iter_num iter; in destroy_without_creating_fail()
97 struct bpf_iter_num iter; in compromise_iter_w_direct_write_fail()
124 struct bpf_iter_num iter; in compromise_iter_w_direct_write_and_skip_destroy_fail()
149 struct bpf_iter_num iter; in compromise_iter_w_helper_write_fail()
178 struct bpf_iter_num iter; in subprog_with_iter()
202 struct bpf_iter_num iter; in valid_stack_reuse()
236 struct bpf_iter_num iter; in double_create_fail()
264 struct bpf_iter_num iter; in double_destroy_fail()
[all …]
H A Diters_looping.c35 struct bpf_iter_num iter; in consume_first_item_only()
66 struct bpf_iter_num iter; in missing_null_check_fail()
99 struct bpf_iter_num iter; in wrong_sized_read_fail()
132 struct bpf_iter_num iter; in __flag()
H A Diters_num.c142 struct bpf_iter_num it; in num_invalid_range()
156 struct bpf_iter_num it; in num_max_range()
170 struct bpf_iter_num it; in num_e2big_range()
184 struct bpf_iter_num it; in num_succ_elem_cnt()
204 struct bpf_iter_num it; in num_overfetched_elem_cnt()
226 struct bpf_iter_num it; in num_fail_elem_cnt()
H A Diters.c34 struct bpf_iter_num it; in iter_err_unsafe_c_loop()
54 struct bpf_iter_num it; in iter_err_unsafe_asm_loop()
96 struct bpf_iter_num it; in iter_while_loop()
132 struct bpf_iter_num it; in iter_for_loop()
180 struct bpf_iter_num it; in iter_pragma_unroll_loop()
200 struct bpf_iter_num it; in iter_manual_unroll_loop()
223 struct bpf_iter_num it; in iter_multiple_sequential_loops()
266 struct bpf_iter_num it; in iter_limit_cond_break_loop()
291 struct bpf_iter_num it; in iter_obfuscate_counter()
335 struct bpf_iter_num it; in iter_search_loop()
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dbpf_helpers.h299 struct bpf_iter_num;
301 extern int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) __weak __ksym;
302 extern int *bpf_iter_num_next(struct bpf_iter_num *it) __weak __ksym;
303 extern void bpf_iter_num_destroy(struct bpf_iter_num *it) __weak __ksym;
364 struct bpf_iter_num ___it __attribute__((aligned(8), /* enforce, just in case */ \
389 struct bpf_iter_num ___it __attribute__((aligned(8), /* enforce, just in case */ \
/openbmc/linux/kernel/bpf/
H A Dbpf_iter.c789 __bpf_kfunc int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) in bpf_iter_num_new()
793 BUILD_BUG_ON(sizeof(struct bpf_iter_num_kern) != sizeof(struct bpf_iter_num)); in bpf_iter_num_new()
794 BUILD_BUG_ON(__alignof__(struct bpf_iter_num_kern) != __alignof__(struct bpf_iter_num)); in bpf_iter_num_new()
822 __bpf_kfunc int *bpf_iter_num_next(struct bpf_iter_num* it) in bpf_iter_num_next()
841 __bpf_kfunc void bpf_iter_num_destroy(struct bpf_iter_num *it) in bpf_iter_num_destroy()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h7346 struct bpf_iter_num { struct
/openbmc/linux/include/uapi/linux/
H A Dbpf.h7343 struct bpf_iter_num { struct