Home
last modified time | relevance | path

Searched refs:BPF_XOR (Results 1 – 8 of 8) sorted by relevance

/dpdk/lib/bpf/
H A Dbpf_convert.c273 *new_insn++ = EBPF_ALU64_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter()
274 *new_insn++ = EBPF_ALU64_REG(BPF_XOR, BPF_REG_X, BPF_REG_X); in bpf_convert_filter()
308 *insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter()
323 case BPF_ALU | BPF_XOR | BPF_X: in bpf_convert_filter()
324 case BPF_ALU | BPF_XOR | BPF_K: in bpf_convert_filter()
H A Dbpf_exec.c172 case (BPF_ALU | BPF_XOR | BPF_K): in bpf_exec()
206 case (BPF_ALU | BPF_XOR | BPF_X): in bpf_exec()
254 case (EBPF_ALU64 | BPF_XOR | BPF_K): in bpf_exec()
291 case (EBPF_ALU64 | BPF_XOR | BPF_X): in bpf_exec()
H A Dbpf_def.h75 #define BPF_XOR 0xa0 macro
H A Dbpf_jit_x86.c365 [GET_BPF_OP(BPF_XOR)] = 6, in emit_alu_imm()
399 [GET_BPF_OP(BPF_XOR)] = 0x31, in emit_alu_reg()
476 op = BPF_CLASS(op) | BPF_XOR | BPF_X; in emit_mov_imm()
1311 case (BPF_ALU | BPF_XOR | BPF_K): in emit()
1326 case (BPF_ALU | BPF_XOR | BPF_X): in emit()
1350 case (EBPF_ALU64 | BPF_XOR | BPF_K): in emit()
1366 case (EBPF_ALU64 | BPF_XOR | BPF_X): in emit()
H A Dbpf_dump.c27 [BPF_XOR >> 4] = "xor", [EBPF_MOV >> 4] = "mov",
H A Dbpf_jit_arm64.c1240 case (BPF_ALU | BPF_XOR | BPF_X): in emit()
1241 case (EBPF_ALU64 | BPF_XOR | BPF_X): in emit()
1245 case (BPF_ALU | BPF_XOR | BPF_K): in emit()
1246 case (EBPF_ALU64 | BPF_XOR | BPF_K): in emit()
H A Dbpf_validate.c662 if (op == BPF_XOR && BPF_SRC(ins->code) == BPF_X && in eval_alu()
687 else if (op == BPF_XOR) in eval_alu()
1171 [(BPF_ALU | BPF_XOR | BPF_K)] = {
1244 [(EBPF_ALU64 | BPF_XOR | BPF_K)] = {
1311 [(BPF_ALU | BPF_XOR | BPF_X)] = {
1404 [(EBPF_ALU64 | BPF_XOR | BPF_X)] = {
/dpdk/app/test/
H A Dtest_bpf.c1130 .code = (BPF_ALU | BPF_XOR | BPF_K),
1169 .code = (EBPF_ALU64 | BPF_XOR | BPF_X),
2176 .code = (EBPF_ALU64 | BPF_XOR | BPF_K),
2516 .code = (EBPF_ALU64 | BPF_XOR | BPF_X),
2774 .code = (EBPF_ALU64 | BPF_XOR | BPF_X),