Home
last modified time | relevance | path

Searched refs:BPF_MEMWORDS (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/netbsd-tests/net/bpfjit/
H A Dt_bpfjit.c3159 BPF_STMT(BPF_ST, BPF_MEMWORDS-1), in ATF_TC_BODY()
3187 BPF_STMT(BPF_ST, BPF_MEMWORDS-1), in ATF_TC_BODY()
3190 BPF_STMT(BPF_LD+BPF_MEM, BPF_MEMWORDS-1), in ATF_TC_BODY()
3201 ATF_REQUIRE(BPF_MEMWORDS > 1); in ATF_TC_BODY()
3233 BPF_STMT(BPF_ST, BPF_MEMWORDS-1), in ATF_TC_BODY()
3236 BPF_STMT(BPF_LD+BPF_MEM, BPF_MEMWORDS-1), in ATF_TC_BODY()
3247 ATF_REQUIRE(BPF_MEMWORDS > 6); in ATF_TC_BODY()
3275 struct bpf_insn insns[5*BPF_MEMWORDS+2]; in ATF_TC_BODY()
3280 uint8_t pkt[BPF_MEMWORDS]; /* the program doesn't read any data */ in ATF_TC_BODY()
3285 for (k = 0; k < BPF_MEMWORDS; k++) { in ATF_TC_BODY()
[all …]
/freebsd/sys/i386/i386/
H A Dbpf_jit_machdep.c210 SUBib(BPF_MEMWORDS * sizeof(uint32_t), ESP); in bpf_jit_compile()
413 MOVid(((int)ins->k - BPF_MEMWORDS) * in bpf_jit_compile()
420 MOVid(((int)ins->k - BPF_MEMWORDS) * in bpf_jit_compile()
432 MOVid(((int)ins->k - BPF_MEMWORDS) * in bpf_jit_compile()
439 MOVid(((int)ins->k - BPF_MEMWORDS) * in bpf_jit_compile()
/freebsd/contrib/netbsd-tests/lib/libbpfjit/
H A Dt_bpfjit.c3331 BPF_STMT(BPF_ST, BPF_MEMWORDS-1), in ATF_TC_BODY()
3364 BPF_STMT(BPF_ST, BPF_MEMWORDS-1), in ATF_TC_BODY()
3367 BPF_STMT(BPF_LD+BPF_MEM, BPF_MEMWORDS-1), in ATF_TC_BODY()
3378 ATF_REQUIRE(BPF_MEMWORDS > 1); in ATF_TC_BODY()
3404 BPF_STMT(BPF_ST, BPF_MEMWORDS-1), in ATF_TC_BODY()
3407 BPF_STMT(BPF_LD+BPF_MEM, BPF_MEMWORDS-1), in ATF_TC_BODY()
3418 ATF_REQUIRE(BPF_MEMWORDS > 6); in ATF_TC_BODY()
3440 struct bpf_insn insns[5*BPF_MEMWORDS+2]; in ATF_TC_BODY()
3445 uint8_t pkt[BPF_MEMWORDS]; /* the program doesn't read any data */ in ATF_TC_BODY()
3450 for (k = 0; k < BPF_MEMWORDS; k++) { in ATF_TC_BODY()
[all …]
/freebsd/contrib/libpcap/
H A Dbpf_filter.c97 uint32_t mem[BPF_MEMWORDS]; in pcapint_filter_with_aux_data()
436 if (p->k >= BPF_MEMWORDS) in pcapint_validate_filter()
447 if (p->k >= BPF_MEMWORDS) in pcapint_validate_filter()
H A Dgencode.h247 #define N_ATOMS (BPF_MEMWORDS+2)
H A Doptimize.c197 #define A_ATOM BPF_MEMWORDS
198 #define X_ATOM (BPF_MEMWORDS+1)
3009 for (i = 0; i < BPF_MEMWORDS; i++) in dot_dump_node()
H A Dgencode.c407 int regused[BPF_MEMWORDS];
8089 int n = BPF_MEMWORDS; in alloc_reg()
8093 cstate->curreg = (cstate->curreg + 1) % BPF_MEMWORDS; in alloc_reg()
/freebsd/sbin/ipf/ipf/
H A Dbpf_filter.c180 int32 mem[BPF_MEMWORDS]; in bpf_filter()
500 if (p->k >= BPF_MEMWORDS) in bpf_validate()
511 if (p->k >= BPF_MEMWORDS) in bpf_validate()
H A Dbpf-ipf.h429 #define BPF_MEMWORDS 16 macro
/freebsd/contrib/libpcap/pcap/
H A Dbpf.h302 #define BPF_MEMWORDS 16 macro
/freebsd/contrib/netbsd-tests/net/bpf/
H A Dh_bpf.h113 uint32_t mem[BPF_MEMWORDS]; in interp_prog_mchain2()
/freebsd/tools/regression/bpf/bpf_filter/
H A Dbpf_test.c170 if (p->k >= BPF_MEMWORDS) in bpf_validate()
/freebsd/sys/net/
H A Dbpf_filter.c178 u_int32_t mem[BPF_MEMWORDS]; in bpf_filter()
588 if (p->k >= BPF_MEMWORDS) in bpf_validate()
H A Dbpf.h456 #define BPF_MEMWORDS 16 macro
/freebsd/sys/amd64/amd64/
H A Dbpf_jit_machdep.c206 SUBib(BPF_MEMWORDS * sizeof(uint32_t), RSP); in bpf_jit_compile()