Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dalign.c4 #define MAX_INSNS 512 macro
14 struct bpf_insn insns[MAX_INSNS];
594 for (len = MAX_INSNS - 1; len > 0; --len) in probe_filter_length()
H A Dbtf.c28 #define MAX_INSNS 512 macro
5606 struct bpf_insn insns[MAX_INSNS];
6414 for (len = MAX_INSNS - 1; len > 0; --len) in probe_prog_length()
/openbmc/linux/tools/testing/selftests/bpf/
H A 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()
H A 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()
H A Dtest_verifier.c49 #define MAX_INSNS BPF_MAXINSNS macro
88 struct bpf_insn insns[MAX_INSNS];
527 for (len = MAX_INSNS - 1; len > 0; --len) in probe_filter_length()
/openbmc/linux/lib/
H A Dtest_bpf.c25 #define MAX_INSNS 512 macro
68 struct sock_filter insns[MAX_INSNS];
69 struct bpf_insn insns_int[MAX_INSNS];
14418 for (len = MAX_INSNS - 1; len > 0; --len) in filter_length()
14844 struct bpf_insn insns[MAX_INSNS];
15062 for (len = 0; len < MAX_INSNS; len++) { in prepare_tail_call_tests()
15065 if (len < MAX_INSNS - 1 && in prepare_tail_call_tests()