Symbol: BPF_MAXINSNS
include/uapi/linux/bpf_common.h
53
#ifndef BPF_MAXINSNS
io_uring/bpf_filter.c
334
if (!reg->filter.filter_len || reg->filter.filter_len > BPF_MAXINSNS)
kernel/bpf/syscall.c
3034
attr->insn_cnt > (bpf_cap ? BPF_COMPLEXITY_LIMIT_INSNS : BPF_MAXINSNS)) {
kernel/seccomp.c
680
if (fprog->len == 0 || fprog->len > BPF_MAXINSNS)
lib/test_bpf.c
112
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
131
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
158
unsigned int len = BPF_MAXINSNS + 1;
lib/test_bpf.c
177
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
200
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
222
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
248
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
271
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
297
unsigned int len = BPF_MAXINSNS, hlen = len - 2;
lib/test_bpf.c
352
return __bpf_fill_ja(self, BPF_MAXINSNS, 68);
lib/test_bpf.c
357
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
380
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
409
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
433
unsigned int len = BPF_MAXINSNS;
lib/test_bpf.c
92
unsigned int len = BPF_MAXINSNS;
net/core/filter.c
1055
if (flen == 0 || flen > BPF_MAXINSNS)
net/core/filter.c
593
if (len <= 0 || len > BPF_MAXINSNS)
net/sched/act_bpf.c
182
.len = sizeof(struct sock_filter) * BPF_MAXINSNS },
net/sched/act_bpf.c
194
if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0)
net/sched/cls_bpf.c
348
if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0)
net/sched/cls_bpf.c
63
.len = sizeof(struct sock_filter) * BPF_MAXINSNS },
samples/seccomp/bpf-helper.c
24
if (count < 1 || count > BPF_MAXINSNS)
tools/bpf/bpf_dbg.c
1014
sp != separator || bpf_len > BPF_MAXINSNS || bpf_len == 0) {
tools/bpf/bpf_dbg.c
131
static struct sock_filter bpf_image[BPF_MAXINSNS + 1];
tools/bpf/bpf_dbg.c
135
static struct bpf_regs bpf_regs[BPF_MAXINSNS + 1];
tools/bpf/bpf_exp.y
468
static struct sock_filter out[BPF_MAXINSNS];
tools/bpf/bpf_exp.y
473
if (curr_instr >= BPF_MAXINSNS) {
tools/bpf/bpf_exp.y
474
fprintf(stderr, "only max %u insns allowed!\n", BPF_MAXINSNS);
tools/bpf/bpf_exp.y
615
labels = calloc(BPF_MAXINSNS, sizeof(*labels));
tools/bpf/bpf_exp.y
617
labels_jt = calloc(BPF_MAXINSNS, sizeof(*labels_jt));
tools/bpf/bpf_exp.y
619
labels_jf = calloc(BPF_MAXINSNS, sizeof(*labels_jf));
tools/bpf/bpf_exp.y
621
labels_k = calloc(BPF_MAXINSNS, sizeof(*labels_k));
tools/bpf/bpftool/feature.c
733
struct bpf_insn insns[BPF_MAXINSNS + 1];
tools/bpf/bpftool/feature.c
736
for (i = 0; i < BPF_MAXINSNS; i++)
tools/bpf/bpftool/feature.c
738
insns[BPF_MAXINSNS] = BPF_EXIT_INSN();
tools/include/uapi/linux/bpf_common.h
53
#ifndef BPF_MAXINSNS
tools/testing/selftests/bpf/test_tag.c
170
for (i = start_insns; i <= BPF_MAXINSNS; i++) {
tools/testing/selftests/bpf/test_tag.c
25
static struct bpf_insn prog[BPF_MAXINSNS];
tools/testing/selftests/bpf/test_verifier.c
45
#define MAX_INSNS BPF_MAXINSNS
tools/testing/selftests/seccomp/seccomp_bpf.c
451
int count = BPF_MAXINSNS + 1;
tools/testing/selftests/seccomp/seccomp_bpf.c
488
int count = BPF_MAXINSNS;