Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_bpf_hashmap_lookup.c16 #define BPF_MAX_LOOPS (1<<23) macro
95 if (ret < 1 || ret > BPF_MAX_LOOPS) { in parse_arg()
97 ret, BPF_MAX_LOOPS); in parse_arg()
/linux/tools/testing/selftests/bpf/progs/
H A Diters_num.c158 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()
H A Dstream.c55 bpf_repeat(BPF_MAX_LOOPS) { in stream_exhaust()
/linux/tools/sched_ext/
H A Dscx_pair.bpf.c426 bpf_repeat(BPF_MAX_LOOPS) { in try_dispatch()
487 bpf_repeat(BPF_MAX_LOOPS) { in try_dispatch()
544 bpf_repeat(BPF_MAX_LOOPS) { in BPF_STRUCT_OPS()
H A Dscx_central.bpf.c139 bpf_repeat(BPF_MAX_LOOPS) { in dispatch_to_cpu()
H A Dscx_qmap.bpf.c751 bpf_repeat(BPF_MAX_LOOPS) { in BPF_STRUCT_OPS()
/linux/tools/testing/selftests/bpf/libarena/selftests/
H A Dtest_parallel_bitmap.bpf.c12 #define TEST_BITMAP_SYNC_SPINS BPF_MAX_LOOPS
H A Dtest_parallel_spmc.bpf.c20 #define TEST_SPMC_SYNC_SPINS BPF_MAX_LOOPS
/linux/kernel/bpf/
H A Dbpf_iter.c740 if (nr_loops > BPF_MAX_LOOPS) in BPF_CALL_4()
786 if ((u32)(end - start) > BPF_MAX_LOOPS) { in bpf_iter_num_new()
H A Dfixups.c2452 BPF_MAX_LOOPS); in bpf_do_misc_fixups()
2521 insn_buf[cnt++] = BPF_JMP_IMM(BPF_JLE, BPF_REG_1, BPF_MAX_LOOPS, 2); in inline_bpf_loop()
H A Dverifier.c20785 insn_buf[i++] = BPF_JMP_IMM(BPF_JGT, BPF_REG_0, BPF_MAX_LOOPS, 8); in bpf_fixup_kfunc_call()
/linux/include/linux/
H A Dbpf.h2398 BPF_MAX_LOOPS = 8 * 1024 * 1024, enumerator