Searched refs:BPF_MEMWORDS (Results 1 – 15 of 15) sorted by relevance
/freebsd/contrib/netbsd-tests/net/bpfjit/ |
H A D | t_bpfjit.c | 3159 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 D | bpf_jit_machdep.c | 210 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 D | t_bpfjit.c | 3331 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 D | bpf_filter.c | 97 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 D | gencode.h | 247 #define N_ATOMS (BPF_MEMWORDS+2)
|
H A D | optimize.c | 197 #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 D | gencode.c | 407 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 D | bpf_filter.c | 180 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 D | bpf-ipf.h | 429 #define BPF_MEMWORDS 16 macro
|
/freebsd/contrib/libpcap/pcap/ |
H A D | bpf.h | 302 #define BPF_MEMWORDS 16 macro
|
/freebsd/contrib/netbsd-tests/net/bpf/ |
H A D | h_bpf.h | 113 uint32_t mem[BPF_MEMWORDS]; in interp_prog_mchain2()
|
/freebsd/tools/regression/bpf/bpf_filter/ |
H A D | bpf_test.c | 170 if (p->k >= BPF_MEMWORDS) in bpf_validate()
|
/freebsd/sys/net/ |
H A D | bpf_filter.c | 178 u_int32_t mem[BPF_MEMWORDS]; in bpf_filter() 588 if (p->k >= BPF_MEMWORDS) in bpf_validate()
|
H A D | bpf.h | 456 #define BPF_MEMWORDS 16 macro
|
/freebsd/sys/amd64/amd64/ |
H A D | bpf_jit_machdep.c | 206 SUBib(BPF_MEMWORDS * sizeof(uint32_t), RSP); in bpf_jit_compile()
|