Home
last modified time | relevance | path

Searched refs:MAX_INSNS (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_sock.c20 #define MAX_INSNS 512 macro
28 struct bpf_insn insns[MAX_INSNS];
381 for (len = MAX_INSNS - 1; len > 0; --len) in probe_prog_length()
Dtest_sysctl.c22 #define MAX_INSNS 512 macro
30 struct bpf_insn insns[MAX_INSNS];
1404 for (len = MAX_INSNS - 1; len > 0; --len) in probe_prog_length()
Dtest_verifier.c49 #define MAX_INSNS BPF_MAXINSNS macro
90 struct bpf_insn insns[MAX_INSNS];
529 for (len = MAX_INSNS - 1; len > 0; --len) in probe_filter_length()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dalign.c4 #define MAX_INSNS 512 macro
15 struct bpf_insn insns[MAX_INSNS];
594 for (len = MAX_INSNS - 1; len > 0; --len) in probe_filter_length()
Dbtf.c28 #define MAX_INSNS 512 macro
5669 struct bpf_insn insns[MAX_INSNS];
6477 for (len = MAX_INSNS - 1; len > 0; --len) in probe_prog_length()
/linux-6.12.1/lib/
Dtest_bpf.c25 #define MAX_INSNS 512 macro
68 struct sock_filter insns[MAX_INSNS];
69 struct bpf_insn insns_int[MAX_INSNS];
14771 for (len = MAX_INSNS - 1; len > 0; --len) in filter_length()
15196 struct bpf_insn insns[MAX_INSNS];
15423 for (len = 0; len < MAX_INSNS; len++) { in prepare_tail_call_tests()
15426 if (len < MAX_INSNS - 1 && in prepare_tail_call_tests()