Searched refs:BPF_MAX_LOOPS (Results 1 – 12 of 12) sorted by relevance
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | bench_bpf_hashmap_lookup.c | 16 #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 D | iters_num.c | 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()
|
| H A D | stream.c | 55 bpf_repeat(BPF_MAX_LOOPS) { in stream_exhaust()
|
| /linux/tools/sched_ext/ |
| H A D | scx_pair.bpf.c | 426 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 D | scx_central.bpf.c | 139 bpf_repeat(BPF_MAX_LOOPS) { in dispatch_to_cpu()
|
| H A D | scx_qmap.bpf.c | 751 bpf_repeat(BPF_MAX_LOOPS) { in BPF_STRUCT_OPS()
|
| /linux/tools/testing/selftests/bpf/libarena/selftests/ |
| H A D | test_parallel_bitmap.bpf.c | 12 #define TEST_BITMAP_SYNC_SPINS BPF_MAX_LOOPS
|
| H A D | test_parallel_spmc.bpf.c | 20 #define TEST_SPMC_SYNC_SPINS BPF_MAX_LOOPS
|
| /linux/kernel/bpf/ |
| H A D | bpf_iter.c | 740 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 D | fixups.c | 2452 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 D | verifier.c | 20785 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 D | bpf.h | 2398 BPF_MAX_LOOPS = 8 * 1024 * 1024, enumerator
|