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

/external/strace/tests/
H A Dseccomp-filter-v.c93 #ifndef BPF_MAXINSNS
94 # define BPF_MAXINSNS 4096 macro
107 tail_alloc(sizeof(*big_filter) * (BPF_MAXINSNS + 1));
135 for (i = 0; i <= BPF_MAXINSNS; ++i) {
142 prog->len = BPF_MAXINSNS + 1;
145 for (i = 0; i < BPF_MAXINSNS; ++i) {
/external/strace/tests-m32/
H A Dseccomp-filter-v.c93 #ifndef BPF_MAXINSNS
94 # define BPF_MAXINSNS 4096 macro
107 tail_alloc(sizeof(*big_filter) * (BPF_MAXINSNS + 1));
135 for (i = 0; i <= BPF_MAXINSNS; ++i) {
142 prog->len = BPF_MAXINSNS + 1;
145 for (i = 0; i < BPF_MAXINSNS; ++i) {
/external/strace/tests-mx32/
H A Dseccomp-filter-v.c93 #ifndef BPF_MAXINSNS
94 # define BPF_MAXINSNS 4096 macro
107 tail_alloc(sizeof(*big_filter) * (BPF_MAXINSNS + 1));
135 for (i = 0; i <= BPF_MAXINSNS; ++i) {
142 prog->len = BPF_MAXINSNS + 1;
145 for (i = 0; i < BPF_MAXINSNS; ++i) {
/external/iproute2/include/linux/
H A Dbpf_common.h51 #ifndef BPF_MAXINSNS
52 #define BPF_MAXINSNS 4096 macro
/external/kernel-headers/original/uapi/linux/
H A Dbpf_common.h51 #ifndef BPF_MAXINSNS
52 #define BPF_MAXINSNS 4096 macro
/external/libchrome/sandbox/linux/system_headers/
H A Dlinux_filter.h136 #ifndef BPF_MAXINSNS
137 #define BPF_MAXINSNS 4096 macro
/external/iptables/include/linux/
H A Dfilter.h94 #ifndef BPF_MAXINSNS
95 #define BPF_MAXINSNS 4096 macro
/external/strace/
H A Dseccomp.c151 #ifndef BPF_MAXINSNS
152 # define BPF_MAXINSNS 4096 macro
161 if ((*pn)++ >= BPF_MAXINSNS) {
/external/libchrome/sandbox/linux/bpf_dsl/
H A Dcodegen.cc132 CHECK_LT(program_.size(), static_cast<size_t>(BPF_MAXINSNS));
/external/minijail/
H A Dbpf.c210 if (len > BPF_MAXINSNS)
H A Dsyscall_filter.c669 if (final_filter_len > BPF_MAXINSNS)
/external/iproute2/tc/
H A Dtc_bpf.c105 tmp_len = sizeof("4096,") + BPF_MAXINSNS * op_len;
157 if (bpf_len == 0 || bpf_len > BPF_MAXINSNS) {
583 struct sock_filter opcodes[BPF_MAXINSNS];
/external/libpcap/bpf/net/
H A Dbpf_filter.c630 if (len > BPF_MAXINSNS)
711 * BPF_MAXINSNS, and we assume that BPF_MAXINSNS
715 * We know that len is <= BPF_MAXINSNS, and we
716 * assume that BPF_MAXINSNS is < the maximum size
720 * or len are <= BPF_MAXINSNS, but we know that
/external/linux-kselftest/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c187 int count = BPF_MAXINSNS + 1;
224 int count = BPF_MAXINSNS;
/external/seccomp-tests/linux/
H A Dseccomp_bpf.c187 int count = BPF_MAXINSNS + 1;
224 int count = BPF_MAXINSNS;

Completed in 648 milliseconds