Home
last modified time | relevance | path

Searched refs:BPF_MAXINSNS (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dbpf_common.h53 #ifndef BPF_MAXINSNS
54 #define BPF_MAXINSNS 4096 macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dbpf_common.h53 #ifndef BPF_MAXINSNS
54 #define BPF_MAXINSNS 4096 macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dbpf_common.h53 #ifndef BPF_MAXINSNS
54 #define BPF_MAXINSNS 4096 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dbpf_common.h61 #ifndef BPF_MAXINSNS
62 #define BPF_MAXINSNS 4096 macro
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dbpf_common.h53 #ifndef BPF_MAXINSNS
54 #define BPF_MAXINSNS 4096 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dbpf_common.h61 #ifndef BPF_MAXINSNS
62 #define BPF_MAXINSNS 4096 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dbpf_common.h48 #ifndef BPF_MAXINSNS
49 #define BPF_MAXINSNS 4096 macro
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf_probes.c347 struct bpf_insn insns[BPF_MAXINSNS + 1]; in bpf_probe_large_insn_limit()
350 for (i = 0; i < BPF_MAXINSNS; i++) in bpf_probe_large_insn_limit()
352 insns[BPF_MAXINSNS] = BPF_EXIT_INSN(); in bpf_probe_large_insn_limit()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_tag.c25 static struct bpf_insn prog[BPF_MAXINSNS];
170 for (i = start_insns; i <= BPF_MAXINSNS; i++) { in do_test()
H A Dtest_verifier.c50 #define MAX_INSNS BPF_MAXINSNS
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_tag.c25 static struct bpf_insn prog[BPF_MAXINSNS];
170 for (i = start_insns; i <= BPF_MAXINSNS; i++) { in do_test()
/kernel/linux/linux-5.10/samples/seccomp/
H A Dbpf-helper.c24 if (count < 1 || count > BPF_MAXINSNS) in bpf_resolve_jumps()
/kernel/linux/linux-6.6/samples/seccomp/
H A Dbpf-helper.c24 if (count < 1 || count > BPF_MAXINSNS) in bpf_resolve_jumps()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dbpf-prologue.c378 if (cnt_space > BPF_MAXINSNS) in bpf__gen_prologue()
379 cnt_space = BPF_MAXINSNS; in bpf__gen_prologue()
H A Dbpf-loader.c448 BPF_MAXINSNS - orig_insns_cnt); in preproc_gen_prologue()
603 priv->insns_buf = malloc(sizeof(struct bpf_insn) * BPF_MAXINSNS); in hook_load_preprocessor()
/kernel/linux/linux-5.10/net/sched/
H A Dact_bpf.c183 .len = sizeof(struct sock_filter) * BPF_MAXINSNS },
195 if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0) in tcf_bpf_init_from_ops()
H A Dcls_bpf.c62 .len = sizeof(struct sock_filter) * BPF_MAXINSNS },
347 if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0) in cls_bpf_prog_from_ops()
/kernel/linux/linux-6.6/net/sched/
H A Dact_bpf.c184 .len = sizeof(struct sock_filter) * BPF_MAXINSNS },
196 if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0) in tcf_bpf_init_from_ops()
H A Dcls_bpf.c63 .len = sizeof(struct sock_filter) * BPF_MAXINSNS },
348 if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0) in cls_bpf_prog_from_ops()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dfeature.c814 struct bpf_insn insns[BPF_MAXINSNS + 1]; in probe_large_insn_limit()
817 for (i = 0; i < BPF_MAXINSNS; i++) in probe_large_insn_limit()
819 insns[BPF_MAXINSNS] = BPF_EXIT_INSN(); in probe_large_insn_limit()
/kernel/linux/linux-5.10/tools/bpf/
H 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()
/kernel/linux/linux-6.6/tools/bpf/
H 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()
/kernel/linux/linux-5.10/lib/
H A Dtest_bpf.c89 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns1()
109 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns2()
128 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns3()
155 unsigned int len = BPF_MAXINSNS + 1; in bpf_fill_maxinsns4()
174 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns5()
197 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns6()
219 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns7()
245 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns8()
268 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns9()
294 unsigned int len = BPF_MAXINSNS, hle in bpf_fill_maxinsns10()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dtest_bpf.c92 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns1()
112 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns2()
131 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns3()
158 unsigned int len = BPF_MAXINSNS + 1; in bpf_fill_maxinsns4()
177 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns5()
200 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns6()
222 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns7()
248 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns8()
271 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns9()
297 unsigned int len = BPF_MAXINSNS, hle in bpf_fill_maxinsns10()
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dseccomp.c549 if (fprog->len == 0 || fprog->len > BPF_MAXINSNS) in seccomp_prepare_filter()

Completed in 26 milliseconds

12