Home
last modified time | relevance | path

Searched refs:BPF_MAXINSNS (Results 1 – 7 of 7) sorted by relevance

/tools/include/uapi/linux/
A Dbpf_common.h53 #ifndef BPF_MAXINSNS
54 #define BPF_MAXINSNS 4096 macro
/tools/bpf/
A Dbpf_exp.y468 static struct sock_filter out[BPF_MAXINSNS];
473 if (curr_instr >= BPF_MAXINSNS) { in bpf_assert_max()
474 fprintf(stderr, "only max %u insns allowed!\n", BPF_MAXINSNS); in bpf_assert_max()
615 labels = calloc(BPF_MAXINSNS, sizeof(*labels)); in bpf_init()
617 labels_jt = calloc(BPF_MAXINSNS, sizeof(*labels_jt)); in bpf_init()
619 labels_jf = calloc(BPF_MAXINSNS, sizeof(*labels_jf)); in bpf_init()
621 labels_k = calloc(BPF_MAXINSNS, sizeof(*labels_k)); in bpf_init()
A Dbpf_dbg.c131 static struct sock_filter bpf_image[BPF_MAXINSNS + 1];
135 static struct bpf_regs bpf_regs[BPF_MAXINSNS + 1];
1014 sp != separator || bpf_len > BPF_MAXINSNS || bpf_len == 0) { in cmd_load_bpf()
/tools/testing/selftests/bpf/
A Dtest_tag.c25 static struct bpf_insn prog[BPF_MAXINSNS];
170 for (i = start_insns; i <= BPF_MAXINSNS; i++) { in do_test()
A Dtest_verifier.c45 #define MAX_INSNS BPF_MAXINSNS
/tools/bpf/bpftool/
A Dfeature.c811 struct bpf_insn insns[BPF_MAXINSNS + 1]; in probe_large_insn_limit()
814 for (i = 0; i < BPF_MAXINSNS; i++) in probe_large_insn_limit()
816 insns[BPF_MAXINSNS] = BPF_EXIT_INSN(); in probe_large_insn_limit()
/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c436 int count = BPF_MAXINSNS + 1; in TEST()
473 int count = BPF_MAXINSNS; in TEST()

Completed in 21 milliseconds