BPF_MAXINSNS 53 include/uapi/linux/bpf_common.h #ifndef BPF_MAXINSNS BPF_MAXINSNS 1664 kernel/bpf/syscall.c attr->insn_cnt > (capable(CAP_SYS_ADMIN) ? BPF_COMPLEXITY_LIMIT_INSNS : BPF_MAXINSNS)) BPF_MAXINSNS 436 kernel/seccomp.c if (fprog->len == 0 || fprog->len > BPF_MAXINSNS) BPF_MAXINSNS 89 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 109 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 128 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 155 lib/test_bpf.c unsigned int len = BPF_MAXINSNS + 1; BPF_MAXINSNS 174 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 197 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 219 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 245 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 268 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 294 lib/test_bpf.c unsigned int len = BPF_MAXINSNS, hlen = len - 2; BPF_MAXINSNS 349 lib/test_bpf.c return __bpf_fill_ja(self, BPF_MAXINSNS, 68); BPF_MAXINSNS 354 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 377 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 406 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 430 lib/test_bpf.c unsigned int len = BPF_MAXINSNS; BPF_MAXINSNS 549 net/core/filter.c if (len <= 0 || len > BPF_MAXINSNS) BPF_MAXINSNS 1012 net/core/filter.c if (flen == 0 || flen > BPF_MAXINSNS) BPF_MAXINSNS 180 net/sched/act_bpf.c .len = sizeof(struct sock_filter) * BPF_MAXINSNS }, BPF_MAXINSNS 192 net/sched/act_bpf.c if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0) BPF_MAXINSNS 62 net/sched/cls_bpf.c .len = sizeof(struct sock_filter) * BPF_MAXINSNS }, BPF_MAXINSNS 347 net/sched/cls_bpf.c if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0) BPF_MAXINSNS 24 samples/seccomp/bpf-helper.c if (count < 1 || count > BPF_MAXINSNS) BPF_MAXINSNS 131 tools/bpf/bpf_dbg.c static struct sock_filter bpf_image[BPF_MAXINSNS + 1]; BPF_MAXINSNS 135 tools/bpf/bpf_dbg.c static struct bpf_regs bpf_regs[BPF_MAXINSNS + 1]; BPF_MAXINSNS 1014 tools/bpf/bpf_dbg.c sp != separator || bpf_len > BPF_MAXINSNS || bpf_len == 0) { BPF_MAXINSNS 468 tools/bpf/bpf_exp.y static struct sock_filter out[BPF_MAXINSNS]; BPF_MAXINSNS 473 tools/bpf/bpf_exp.y if (curr_instr >= BPF_MAXINSNS) { BPF_MAXINSNS 474 tools/bpf/bpf_exp.y fprintf(stderr, "only max %u insns allowed!\n", BPF_MAXINSNS); BPF_MAXINSNS 603 tools/bpf/bpf_exp.y labels = calloc(BPF_MAXINSNS, sizeof(*labels)); BPF_MAXINSNS 605 tools/bpf/bpf_exp.y labels_jt = calloc(BPF_MAXINSNS, sizeof(*labels_jt)); BPF_MAXINSNS 607 tools/bpf/bpf_exp.y labels_jf = calloc(BPF_MAXINSNS, sizeof(*labels_jf)); BPF_MAXINSNS 609 tools/bpf/bpf_exp.y labels_k = calloc(BPF_MAXINSNS, sizeof(*labels_k)); BPF_MAXINSNS 53 tools/include/uapi/linux/bpf_common.h #ifndef BPF_MAXINSNS BPF_MAXINSNS 3430 tools/lib/bpf/libbpf.c } else if (load_attr.insns_cnt >= BPF_MAXINSNS) { BPF_MAXINSNS 3432 tools/lib/bpf/libbpf.c load_attr.insns_cnt, BPF_MAXINSNS); BPF_MAXINSNS 453 tools/perf/util/bpf-loader.c BPF_MAXINSNS - orig_insns_cnt); BPF_MAXINSNS 611 tools/perf/util/bpf-loader.c priv->insns_buf = malloc(sizeof(struct bpf_insn) * BPF_MAXINSNS); BPF_MAXINSNS 372 tools/perf/util/bpf-prologue.c if (cnt_space > BPF_MAXINSNS) BPF_MAXINSNS 373 tools/perf/util/bpf-prologue.c cnt_space = BPF_MAXINSNS; BPF_MAXINSNS 25 tools/testing/selftests/bpf/test_tag.c static struct bpf_insn prog[BPF_MAXINSNS]; BPF_MAXINSNS 170 tools/testing/selftests/bpf/test_tag.c for (i = start_insns; i <= BPF_MAXINSNS; i++) { BPF_MAXINSNS 50 tools/testing/selftests/bpf/test_verifier.c #define MAX_INSNS BPF_MAXINSNS BPF_MAXINSNS 313 tools/testing/selftests/seccomp/seccomp_bpf.c int count = BPF_MAXINSNS + 1; BPF_MAXINSNS 350 tools/testing/selftests/seccomp/seccomp_bpf.c int count = BPF_MAXINSNS;