Lines Matching refs:BPF_ALU64
419 case BPF_ALU64 | BPF_ADD | BPF_X: /* dst += src */ in bpf_jit_build_body()
423 case BPF_ALU64 | BPF_SUB | BPF_X: /* dst -= src */ in bpf_jit_build_body()
427 case BPF_ALU64 | BPF_ADD | BPF_K: /* dst += imm */ in bpf_jit_build_body()
438 case BPF_ALU64 | BPF_SUB | BPF_K: /* dst -= imm */ in bpf_jit_build_body()
449 case BPF_ALU64 | BPF_MUL | BPF_X: /* dst *= src */ in bpf_jit_build_body()
456 case BPF_ALU64 | BPF_MUL | BPF_K: /* dst *= imm */ in bpf_jit_build_body()
476 case BPF_ALU64 | BPF_DIV | BPF_X: /* dst /= src */ in bpf_jit_build_body()
477 case BPF_ALU64 | BPF_MOD | BPF_X: /* dst %= src */ in bpf_jit_build_body()
487 case BPF_ALU64 | BPF_MOD | BPF_K: /* dst %= imm */ in bpf_jit_build_body()
488 case BPF_ALU64 | BPF_DIV | BPF_K: /* dst /= imm */ in bpf_jit_build_body()
510 case BPF_ALU64: in bpf_jit_build_body()
521 case BPF_ALU64 | BPF_NEG: /* dst = -dst */ in bpf_jit_build_body()
529 case BPF_ALU64 | BPF_AND | BPF_X: /* dst = dst & src */ in bpf_jit_build_body()
533 case BPF_ALU64 | BPF_AND | BPF_K: /* dst = dst & imm */ in bpf_jit_build_body()
543 case BPF_ALU64 | BPF_OR | BPF_X: /* dst = dst | src */ in bpf_jit_build_body()
547 case BPF_ALU64 | BPF_OR | BPF_K:/* dst = dst | imm */ in bpf_jit_build_body()
548 if (imm < 0 && BPF_CLASS(code) == BPF_ALU64) { in bpf_jit_build_body()
560 case BPF_ALU64 | BPF_XOR | BPF_X: /* dst ^= src */ in bpf_jit_build_body()
564 case BPF_ALU64 | BPF_XOR | BPF_K: /* dst ^= imm */ in bpf_jit_build_body()
565 if (imm < 0 && BPF_CLASS(code) == BPF_ALU64) { in bpf_jit_build_body()
583 case BPF_ALU64 | BPF_LSH | BPF_X: /* dst <<= src; */ in bpf_jit_build_body()
592 case BPF_ALU64 | BPF_LSH | BPF_K: /* dst <<== imm */ in bpf_jit_build_body()
601 case BPF_ALU64 | BPF_RSH | BPF_X: /* dst >>= src */ in bpf_jit_build_body()
609 case BPF_ALU64 | BPF_RSH | BPF_K: /* dst >>= imm */ in bpf_jit_build_body()
616 case BPF_ALU64 | BPF_ARSH | BPF_X: /* (s64) dst >>= src */ in bpf_jit_build_body()
622 case BPF_ALU64 | BPF_ARSH | BPF_K: /* (s64) dst >>= imm */ in bpf_jit_build_body()
631 case BPF_ALU64 | BPF_MOV | BPF_X: /* dst = src */ in bpf_jit_build_body()
640 case BPF_ALU64 | BPF_MOV | BPF_K: /* dst = (s64) imm */ in bpf_jit_build_body()