Home
last modified time | relevance | path

Searched refs:BPF_MOD (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/i386/i386/
H A Dbpf_jit_machdep.c141 case BPF_ALU|BPF_MOD|BPF_K: in bpf_jit_optimize()
518 case BPF_ALU|BPF_MOD|BPF_X: in bpf_jit_compile()
540 if (BPF_OP(ins->code) == BPF_MOD) in bpf_jit_compile()
583 case BPF_ALU|BPF_MOD|BPF_K: in bpf_jit_compile()
588 if (BPF_OP(ins->code) == BPF_MOD) in bpf_jit_compile()
/freebsd/contrib/libpcap/
H A Dbpf_filter.c293 case BPF_ALU|BPF_MOD|BPF_X: in pcapint_filter_with_aux_data()
341 case BPF_ALU|BPF_MOD|BPF_K: in pcapint_filter_with_aux_data()
463 case BPF_MOD: in pcapint_validate_filter()
H A Dbpf_image.c309 case BPF_ALU|BPF_MOD|BPF_X: in bpf_image()
363 case BPF_ALU|BPF_MOD|BPF_K: in bpf_image()
H A Doptimize.c806 case BPF_MOD: in fold_op()
1269 case BPF_ALU|BPF_MOD|BPF_K: in opt_stmt()
1303 if (op == BPF_MOD) in opt_stmt()
1320 case BPF_ALU|BPF_MOD|BPF_X: in opt_stmt()
1363 else if (op == BPF_MUL || op == BPF_DIV || op == BPF_MOD || in opt_stmt()
H A Dgrammar.y.in859 | arth '%' arth { CHECK_PTR_VAL(($$ = gen_arth(cstate, BPF_MOD, $1, $3))); }
H A DCHANGES411 Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR
H A Dgencode.c8047 } else if (code == BPF_MOD) { in gen_arth()
/freebsd/tools/regression/bpf/bpf_filter/tests/
H A Dtest0087.h8 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 0xdead),
H A Dtest0091.h8 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 0),
H A Dtest0085.h9 BPF_STMT(BPF_ALU+BPF_MOD+BPF_X, 0),
H A Dtest0089.h9 BPF_STMT(BPF_ALU+BPF_MOD+BPF_X, 0),
/freebsd/sys/amd64/amd64/
H A Dbpf_jit_machdep.c496 case BPF_ALU|BPF_MOD|BPF_X: in bpf_jit_compile()
510 if (BPF_OP(ins->code) == BPF_MOD) in bpf_jit_compile()
553 case BPF_ALU|BPF_MOD|BPF_K: in bpf_jit_compile()
558 if (BPF_OP(ins->code) == BPF_MOD) in bpf_jit_compile()
/freebsd/sys/net/
H A Dbpf_filter.c434 case BPF_ALU|BPF_MOD|BPF_X: in bpf_filter()
476 case BPF_ALU|BPF_MOD|BPF_K: in bpf_filter()
596 p->code == (BPF_ALU|BPF_MOD|BPF_K)) && p->k == 0) in bpf_validate()
H A Dbpf.h288 #define BPF_MOD 0x90 macro
/freebsd/contrib/libpcap/pcap/
H A Dbpf.h186 #define BPF_MOD 0x90
/freebsd/tools/regression/bpf/bpf_filter/
H A Dbpf_test.c178 p->code == (BPF_ALU|BPF_MOD|BPF_K)) && p->k == 0) in bpf_validate()
/freebsd/contrib/netbsd-tests/net/bpfjit/
H A Dt_bpfjit.c435 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 0), in ATF_TC_BODY()
460 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 1), in ATF_TC_BODY()
485 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 2), in ATF_TC_BODY()
510 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 4), in ATF_TC_BODY()
535 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 10), in ATF_TC_BODY()
560 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 10000), in ATF_TC_BODY()
585 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, UINT32_C(7609801)), in ATF_TC_BODY()
610 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, UINT32_C(0x80000000)), in ATF_TC_BODY()
1164 BPF_STMT(BPF_ALU+BPF_MOD+BPF_X, 0), in ATF_TC_BODY()
1190 BPF_STMT(BPF_ALU+BPF_MOD+BPF_X, 0), in ATF_TC_BODY()
[all …]
/freebsd/contrib/netbsd-tests/lib/libbpfjit/
H A Dt_bpfjit.c478 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 0), in ATF_TC_BODY()
508 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 1), in ATF_TC_BODY()
538 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 2), in ATF_TC_BODY()
568 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 4), in ATF_TC_BODY()
598 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 10), in ATF_TC_BODY()
628 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, 10000), in ATF_TC_BODY()
658 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, UINT32_C(7609801)), in ATF_TC_BODY()
688 BPF_STMT(BPF_ALU+BPF_MOD+BPF_K, UINT32_C(0x80000000)), in ATF_TC_BODY()
1332 BPF_STMT(BPF_ALU+BPF_MOD+BPF_X, 0), in ATF_TC_BODY()
1363 BPF_STMT(BPF_ALU+BPF_MOD+BPF_X, 0), in ATF_TC_BODY()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFInstrFormats.td42 def BPF_MOD : BPFArithOp<0x9>;
H A DBPFInstrInfo.td346 defm MOD : ALU<BPF_MOD, 0, "%=", urem>;
350 defm SMOD : ALU<BPF_MOD, 1, "s%=", srem>;