Lines Matching refs:BPF_ALU
418 case BPF_ALU | BPF_ADD | BPF_X: /* (u32) dst += (u32) src */ in bpf_jit_build_body()
422 case BPF_ALU | BPF_SUB | BPF_X: /* (u32) dst -= (u32) src */ in bpf_jit_build_body()
426 case BPF_ALU | BPF_ADD | BPF_K: /* (u32) dst += (u32) imm */ in bpf_jit_build_body()
437 case BPF_ALU | BPF_SUB | BPF_K: /* (u32) dst -= (u32) imm */ in bpf_jit_build_body()
448 case BPF_ALU | BPF_MUL | BPF_X: /* (u32) dst *= (u32) src */ in bpf_jit_build_body()
450 if (BPF_CLASS(code) == BPF_ALU) in bpf_jit_build_body()
455 case BPF_ALU | BPF_MUL | BPF_K: /* (u32) dst *= (u32) imm */ in bpf_jit_build_body()
461 if (BPF_CLASS(code) == BPF_ALU) in bpf_jit_build_body()
467 case BPF_ALU | BPF_DIV | BPF_X: /* (u32) dst /= (u32) src */ in bpf_jit_build_body()
468 case BPF_ALU | BPF_MOD | BPF_X: /* (u32) dst %= (u32) src */ in bpf_jit_build_body()
485 case BPF_ALU | BPF_MOD | BPF_K: /* (u32) dst %= (u32) imm */ in bpf_jit_build_body()
486 case BPF_ALU | BPF_DIV | BPF_K: /* (u32) dst /= (u32) imm */ in bpf_jit_build_body()
502 case BPF_ALU: in bpf_jit_build_body()
520 case BPF_ALU | BPF_NEG: /* (u32) dst = -dst */ in bpf_jit_build_body()
528 case BPF_ALU | BPF_AND | BPF_X: /* (u32) dst = dst & src */ in bpf_jit_build_body()
532 case BPF_ALU | BPF_AND | BPF_K: /* (u32) dst = dst & imm */ in bpf_jit_build_body()
542 case BPF_ALU | BPF_OR | BPF_X: /* dst = (u32) dst | (u32) src */ in bpf_jit_build_body()
546 case BPF_ALU | BPF_OR | BPF_K:/* dst = (u32) dst | (u32) imm */ in bpf_jit_build_body()
559 case BPF_ALU | BPF_XOR | BPF_X: /* (u32) dst ^= src */ in bpf_jit_build_body()
563 case BPF_ALU | BPF_XOR | BPF_K: /* (u32) dst ^= (u32) imm */ in bpf_jit_build_body()
576 case BPF_ALU | BPF_LSH | BPF_X: /* (u32) dst <<= (u32) src */ in bpf_jit_build_body()
586 case BPF_ALU | BPF_LSH | BPF_K: /* (u32) dst <<== (u32) imm */ in bpf_jit_build_body()
596 case BPF_ALU | BPF_RSH | BPF_X: /* (u32) dst >>= (u32) src */ in bpf_jit_build_body()
604 case BPF_ALU | BPF_RSH | BPF_K: /* (u32) dst >>= (u32) imm */ in bpf_jit_build_body()
613 case BPF_ALU | BPF_ARSH | BPF_X: /* (s32) dst >>= src */ in bpf_jit_build_body()
619 case BPF_ALU | BPF_ARSH | BPF_K: /* (s32) dst >>= imm */ in bpf_jit_build_body()
630 case BPF_ALU | BPF_MOV | BPF_X: /* (u32) dst = src */ in bpf_jit_build_body()
639 case BPF_ALU | BPF_MOV | BPF_K: /* (u32) dst = imm */ in bpf_jit_build_body()
650 if (BPF_CLASS(code) == BPF_ALU && !fp->aux->verifier_zext) in bpf_jit_build_body()
657 case BPF_ALU | BPF_END | BPF_FROM_LE: in bpf_jit_build_body()
658 case BPF_ALU | BPF_END | BPF_FROM_BE: in bpf_jit_build_body()