src_reg 1349 arch/arm/net/bpf_jit_32.c const s8 *src = bpf2a32[insn->src_reg]; src_reg 347 arch/arm64/net/bpf_jit_comp.c const u8 src = bpf2a64[insn->src_reg]; src_reg 1973 arch/mips/cavium-octeon/octeon-irq.c u64 src_reg, src, sum; src_reg 1982 arch/mips/cavium-octeon/octeon-irq.c src_reg = CVMX_CIU2_SRC_PPX_IP2_WRKQ(core_id) + (0x1000 * line); src_reg 1983 arch/mips/cavium-octeon/octeon-irq.c src = cvmx_read_csr(src_reg); src_reg 197 arch/mips/net/ebpf_jit.c int ebpf_reg = (w == src_reg || w == src_reg_no_fp) ? src_reg 198 arch/mips/net/ebpf_jit.c insn->src_reg : insn->dst_reg; src_reg 822 arch/mips/net/ebpf_jit.c src = ebpf_to_mips_reg(ctx, insn, src_reg); src_reg 829 arch/mips/net/ebpf_jit.c if (insn->src_reg == BPF_REG_10) { src_reg 837 arch/mips/net/ebpf_jit.c } else if (get_reg_val_type(ctx, this_idx, insn->src_reg) == REG_32BIT) { src_reg 928 arch/mips/net/ebpf_jit.c ts = get_reg_val_type(ctx, this_idx, insn->src_reg); src_reg 1030 arch/mips/net/ebpf_jit.c ts = get_reg_val_type(ctx, this_idx, insn->src_reg); src_reg 1299 arch/mips/net/ebpf_jit.c if (insn->src_reg != 0) src_reg 1393 arch/mips/net/ebpf_jit.c if (insn->src_reg == BPF_REG_10) { src_reg 1455 arch/mips/net/ebpf_jit.c if (get_reg_val_type(ctx, this_idx, insn->src_reg) == REG_32BIT) { src_reg 1470 arch/mips/net/ebpf_jit.c if (get_reg_val_type(ctx, this_idx, insn->src_reg) == REG_32BIT) { src_reg 1494 arch/mips/net/ebpf_jit.c if (get_reg_val_type(ctx, this_idx, insn->src_reg) == REG_32BIT) { src_reg 306 arch/powerpc/net/bpf_jit_comp64.c u32 src_reg = b2p[insn[i].src_reg]; src_reg 334 arch/powerpc/net/bpf_jit_comp64.c if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) src_reg 335 arch/powerpc/net/bpf_jit_comp64.c bpf_set_seen_register(ctx, insn[i].src_reg); src_reg 343 arch/powerpc/net/bpf_jit_comp64.c PPC_ADD(dst_reg, dst_reg, src_reg); src_reg 347 arch/powerpc/net/bpf_jit_comp64.c PPC_SUB(dst_reg, dst_reg, src_reg); src_reg 367 arch/powerpc/net/bpf_jit_comp64.c PPC_MULW(dst_reg, dst_reg, src_reg); src_reg 369 arch/powerpc/net/bpf_jit_comp64.c PPC_MULD(dst_reg, dst_reg, src_reg); src_reg 388 arch/powerpc/net/bpf_jit_comp64.c PPC_DIVWU(b2p[TMP_REG_1], dst_reg, src_reg); src_reg 389 arch/powerpc/net/bpf_jit_comp64.c PPC_MULW(b2p[TMP_REG_1], src_reg, src_reg 393 arch/powerpc/net/bpf_jit_comp64.c PPC_DIVWU(dst_reg, dst_reg, src_reg); src_reg 398 arch/powerpc/net/bpf_jit_comp64.c PPC_DIVDU(b2p[TMP_REG_1], dst_reg, src_reg); src_reg 399 arch/powerpc/net/bpf_jit_comp64.c PPC_MULD(b2p[TMP_REG_1], src_reg, src_reg 403 arch/powerpc/net/bpf_jit_comp64.c PPC_DIVDU(dst_reg, dst_reg, src_reg); src_reg 454 arch/powerpc/net/bpf_jit_comp64.c PPC_AND(dst_reg, dst_reg, src_reg); src_reg 468 arch/powerpc/net/bpf_jit_comp64.c PPC_OR(dst_reg, dst_reg, src_reg); src_reg 485 arch/powerpc/net/bpf_jit_comp64.c PPC_XOR(dst_reg, dst_reg, src_reg); src_reg 502 arch/powerpc/net/bpf_jit_comp64.c PPC_SLW(dst_reg, dst_reg, src_reg); src_reg 508 arch/powerpc/net/bpf_jit_comp64.c PPC_SLD(dst_reg, dst_reg, src_reg); src_reg 521 arch/powerpc/net/bpf_jit_comp64.c PPC_SRW(dst_reg, dst_reg, src_reg); src_reg 526 arch/powerpc/net/bpf_jit_comp64.c PPC_SRD(dst_reg, dst_reg, src_reg); src_reg 538 arch/powerpc/net/bpf_jit_comp64.c PPC_SRAW(dst_reg, dst_reg, src_reg); src_reg 541 arch/powerpc/net/bpf_jit_comp64.c PPC_SRAD(dst_reg, dst_reg, src_reg); src_reg 561 arch/powerpc/net/bpf_jit_comp64.c PPC_MR(dst_reg, src_reg); src_reg 654 arch/powerpc/net/bpf_jit_comp64.c src_reg = b2p[TMP_REG_1]; src_reg 656 arch/powerpc/net/bpf_jit_comp64.c PPC_STB(src_reg, dst_reg, off); src_reg 662 arch/powerpc/net/bpf_jit_comp64.c src_reg = b2p[TMP_REG_1]; src_reg 664 arch/powerpc/net/bpf_jit_comp64.c PPC_STH(src_reg, dst_reg, off); src_reg 670 arch/powerpc/net/bpf_jit_comp64.c src_reg = b2p[TMP_REG_1]; src_reg 672 arch/powerpc/net/bpf_jit_comp64.c PPC_STW(src_reg, dst_reg, off); src_reg 678 arch/powerpc/net/bpf_jit_comp64.c src_reg = b2p[TMP_REG_1]; src_reg 680 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_STL(src_reg, dst_reg, off); src_reg 694 arch/powerpc/net/bpf_jit_comp64.c PPC_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg); src_reg 705 arch/powerpc/net/bpf_jit_comp64.c PPC_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg); src_reg 715 arch/powerpc/net/bpf_jit_comp64.c PPC_LBZ(dst_reg, src_reg, off); src_reg 721 arch/powerpc/net/bpf_jit_comp64.c PPC_LHZ(dst_reg, src_reg, off); src_reg 727 arch/powerpc/net/bpf_jit_comp64.c PPC_LWZ(dst_reg, src_reg, off); src_reg 733 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_LL(dst_reg, src_reg, off); src_reg 863 arch/powerpc/net/bpf_jit_comp64.c PPC_CMPLW(dst_reg, src_reg); src_reg 865 arch/powerpc/net/bpf_jit_comp64.c PPC_CMPLD(dst_reg, src_reg); src_reg 877 arch/powerpc/net/bpf_jit_comp64.c PPC_CMPW(dst_reg, src_reg); src_reg 879 arch/powerpc/net/bpf_jit_comp64.c PPC_CMPD(dst_reg, src_reg); src_reg 885 arch/powerpc/net/bpf_jit_comp64.c src_reg); src_reg 889 arch/powerpc/net/bpf_jit_comp64.c PPC_AND(tmp_reg, dst_reg, src_reg); src_reg 1034 arch/powerpc/net/bpf_jit_comp64.c insn[i].src_reg == BPF_PSEUDO_CALL) { src_reg 693 arch/riscv/net/bpf_jit_comp.c *rs = bpf_to_rv_reg(insn->src_reg, ctx); src_reg 103 arch/s390/net/bpf_jit_comp.c static inline u32 reg(u32 dst_reg, u32 src_reg) src_reg 105 arch/s390/net/bpf_jit_comp.c return reg2hex[dst_reg] << 4 | reg2hex[src_reg]; src_reg 512 arch/s390/net/bpf_jit_comp.c u32 src_reg = insn->src_reg; src_reg 518 arch/s390/net/bpf_jit_comp.c if (dst_reg == BPF_REG_AX || src_reg == BPF_REG_AX) src_reg 526 arch/s390/net/bpf_jit_comp.c EMIT4(0xb9160000, dst_reg, src_reg); src_reg 532 arch/s390/net/bpf_jit_comp.c EMIT4(0xb9040000, dst_reg, src_reg); src_reg 564 arch/s390/net/bpf_jit_comp.c EMIT2(0x1a00, dst_reg, src_reg); src_reg 569 arch/s390/net/bpf_jit_comp.c EMIT4(0xb9080000, dst_reg, src_reg); src_reg 589 arch/s390/net/bpf_jit_comp.c EMIT2(0x1b00, dst_reg, src_reg); src_reg 594 arch/s390/net/bpf_jit_comp.c EMIT4(0xb9090000, dst_reg, src_reg); src_reg 614 arch/s390/net/bpf_jit_comp.c EMIT4(0xb2520000, dst_reg, src_reg); src_reg 619 arch/s390/net/bpf_jit_comp.c EMIT4(0xb90c0000, dst_reg, src_reg); src_reg 647 arch/s390/net/bpf_jit_comp.c EMIT4(0xb9970000, REG_W0, src_reg); src_reg 664 arch/s390/net/bpf_jit_comp.c EMIT4(0xb9870000, REG_W0, src_reg); src_reg 720 arch/s390/net/bpf_jit_comp.c EMIT2(0x1400, dst_reg, src_reg); src_reg 725 arch/s390/net/bpf_jit_comp.c EMIT4(0xb9800000, dst_reg, src_reg); src_reg 742 arch/s390/net/bpf_jit_comp.c EMIT2(0x1600, dst_reg, src_reg); src_reg 747 arch/s390/net/bpf_jit_comp.c EMIT4(0xb9810000, dst_reg, src_reg); src_reg 764 arch/s390/net/bpf_jit_comp.c EMIT2(0x1700, dst_reg, src_reg); src_reg 769 arch/s390/net/bpf_jit_comp.c EMIT4(0xb9820000, dst_reg, src_reg); src_reg 788 arch/s390/net/bpf_jit_comp.c EMIT4_DISP(0x89000000, dst_reg, src_reg, 0); src_reg 793 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xeb000000, 0x000d, dst_reg, dst_reg, src_reg, 0); src_reg 813 arch/s390/net/bpf_jit_comp.c EMIT4_DISP(0x88000000, dst_reg, src_reg, 0); src_reg 818 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xeb000000, 0x000c, dst_reg, dst_reg, src_reg, 0); src_reg 838 arch/s390/net/bpf_jit_comp.c EMIT4_DISP(0x8a000000, dst_reg, src_reg, 0); src_reg 843 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xeb000000, 0x000a, dst_reg, dst_reg, src_reg, 0); src_reg 921 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xe3000000, 0x0072, src_reg, dst_reg, REG_0, off); src_reg 926 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xe3000000, 0x0070, src_reg, dst_reg, REG_0, off); src_reg 931 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xe3000000, 0x0050, src_reg, dst_reg, REG_0, off); src_reg 936 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xe3000000, 0x0024, src_reg, dst_reg, REG_0, off); src_reg 972 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xeb000000, 0x00fa, REG_W0, src_reg, src_reg 978 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xeb000000, 0x00ea, REG_W0, src_reg, src_reg 987 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xe3000000, 0x0090, dst_reg, src_reg, REG_0, off); src_reg 994 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xe3000000, 0x0091, dst_reg, src_reg, REG_0, off); src_reg 1002 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xe3000000, 0x0016, dst_reg, src_reg, REG_0, off); src_reg 1009 arch/s390/net/bpf_jit_comp.c EMIT6_DISP_LH(0xe3000000, 0x0004, dst_reg, src_reg, REG_0, off); src_reg 1246 arch/s390/net/bpf_jit_comp.c REG_W1, dst_reg, src_reg); src_reg 1268 arch/s390/net/bpf_jit_comp.c dst_reg, src_reg, i, off, mask); src_reg 1274 arch/s390/net/bpf_jit_comp.c dst_reg, src_reg, i, off, mask); src_reg 899 arch/sparc/net/bpf_jit_comp_64.c const u8 src = bpf2sparc[insn->src_reg]; src_reg 904 arch/sparc/net/bpf_jit_comp_64.c if (insn->src_reg == BPF_REG_FP) src_reg 183 arch/x86/net/bpf_jit_comp.c static u8 add_2reg(u8 byte, u32 dst_reg, u32 src_reg) src_reg 185 arch/x86/net/bpf_jit_comp.c return byte + reg2hex[dst_reg] + (reg2hex[src_reg] << 3); src_reg 375 arch/x86/net/bpf_jit_comp.c static void emit_mov_reg(u8 **pprog, bool is64, u32 dst_reg, u32 src_reg) src_reg 382 arch/x86/net/bpf_jit_comp.c EMIT_mov(dst_reg, src_reg); src_reg 385 arch/x86/net/bpf_jit_comp.c if (is_ereg(dst_reg) || is_ereg(src_reg)) src_reg 386 arch/x86/net/bpf_jit_comp.c EMIT1(add_2mod(0x40, dst_reg, src_reg)); src_reg 387 arch/x86/net/bpf_jit_comp.c EMIT2(0x89, add_2reg(0xC0, dst_reg, src_reg)); src_reg 411 arch/x86/net/bpf_jit_comp.c u32 src_reg = insn->src_reg; src_reg 438 arch/x86/net/bpf_jit_comp.c EMIT1(add_2mod(0x48, dst_reg, src_reg)); src_reg 439 arch/x86/net/bpf_jit_comp.c else if (is_ereg(dst_reg) || is_ereg(src_reg)) src_reg 440 arch/x86/net/bpf_jit_comp.c EMIT1(add_2mod(0x40, dst_reg, src_reg)); src_reg 441 arch/x86/net/bpf_jit_comp.c EMIT2(b2, add_2reg(0xC0, dst_reg, src_reg)); src_reg 448 arch/x86/net/bpf_jit_comp.c dst_reg, src_reg); src_reg 537 arch/x86/net/bpf_jit_comp.c EMIT_mov(AUX_REG, src_reg); src_reg 588 arch/x86/net/bpf_jit_comp.c emit_mov_reg(&prog, is64, BPF_REG_0, src_reg); src_reg 646 arch/x86/net/bpf_jit_comp.c if (src_reg != BPF_REG_4) { /* common case */ src_reg 650 arch/x86/net/bpf_jit_comp.c EMIT_mov(BPF_REG_4, src_reg); src_reg 666 arch/x86/net/bpf_jit_comp.c if (src_reg != BPF_REG_4) src_reg 764 arch/x86/net/bpf_jit_comp.c if (is_ereg(dst_reg) || is_ereg_8l(src_reg)) src_reg 766 arch/x86/net/bpf_jit_comp.c EMIT2(add_2mod(0x40, dst_reg, src_reg), 0x88); src_reg 771 arch/x86/net/bpf_jit_comp.c if (is_ereg(dst_reg) || is_ereg(src_reg)) src_reg 772 arch/x86/net/bpf_jit_comp.c EMIT3(0x66, add_2mod(0x40, dst_reg, src_reg), 0x89); src_reg 777 arch/x86/net/bpf_jit_comp.c if (is_ereg(dst_reg) || is_ereg(src_reg)) src_reg 778 arch/x86/net/bpf_jit_comp.c EMIT2(add_2mod(0x40, dst_reg, src_reg), 0x89); src_reg 783 arch/x86/net/bpf_jit_comp.c EMIT2(add_2mod(0x48, dst_reg, src_reg), 0x89); src_reg 785 arch/x86/net/bpf_jit_comp.c EMIT2(add_2reg(0x40, dst_reg, src_reg), insn->off); src_reg 787 arch/x86/net/bpf_jit_comp.c EMIT1_off32(add_2reg(0x80, dst_reg, src_reg), src_reg 794 arch/x86/net/bpf_jit_comp.c EMIT3(add_2mod(0x48, src_reg, dst_reg), 0x0F, 0xB6); src_reg 798 arch/x86/net/bpf_jit_comp.c EMIT3(add_2mod(0x48, src_reg, dst_reg), 0x0F, 0xB7); src_reg 802 arch/x86/net/bpf_jit_comp.c if (is_ereg(dst_reg) || is_ereg(src_reg)) src_reg 803 arch/x86/net/bpf_jit_comp.c EMIT2(add_2mod(0x40, src_reg, dst_reg), 0x8B); src_reg 809 arch/x86/net/bpf_jit_comp.c EMIT2(add_2mod(0x48, src_reg, dst_reg), 0x8B); src_reg 816 arch/x86/net/bpf_jit_comp.c EMIT2(add_2reg(0x40, src_reg, dst_reg), insn->off); src_reg 818 arch/x86/net/bpf_jit_comp.c EMIT1_off32(add_2reg(0x80, src_reg, dst_reg), src_reg 825 arch/x86/net/bpf_jit_comp.c if (is_ereg(dst_reg) || is_ereg(src_reg)) src_reg 826 arch/x86/net/bpf_jit_comp.c EMIT3(0xF0, add_2mod(0x40, dst_reg, src_reg), 0x01); src_reg 831 arch/x86/net/bpf_jit_comp.c EMIT3(0xF0, add_2mod(0x48, dst_reg, src_reg), 0x01); src_reg 833 arch/x86/net/bpf_jit_comp.c EMIT2(add_2reg(0x40, dst_reg, src_reg), insn->off); src_reg 835 arch/x86/net/bpf_jit_comp.c EMIT1_off32(add_2reg(0x80, dst_reg, src_reg), src_reg 878 arch/x86/net/bpf_jit_comp.c EMIT1(add_2mod(0x48, dst_reg, src_reg)); src_reg 879 arch/x86/net/bpf_jit_comp.c else if (is_ereg(dst_reg) || is_ereg(src_reg)) src_reg 880 arch/x86/net/bpf_jit_comp.c EMIT1(add_2mod(0x40, dst_reg, src_reg)); src_reg 881 arch/x86/net/bpf_jit_comp.c EMIT2(0x39, add_2reg(0xC0, dst_reg, src_reg)); src_reg 888 arch/x86/net/bpf_jit_comp.c EMIT1(add_2mod(0x48, dst_reg, src_reg)); src_reg 889 arch/x86/net/bpf_jit_comp.c else if (is_ereg(dst_reg) || is_ereg(src_reg)) src_reg 890 arch/x86/net/bpf_jit_comp.c EMIT1(add_2mod(0x40, dst_reg, src_reg)); src_reg 891 arch/x86/net/bpf_jit_comp.c EMIT2(0x85, add_2reg(0xC0, dst_reg, src_reg)); src_reg 194 arch/x86/net/bpf_jit_comp32.c static u8 add_2reg(u8 byte, u32 dst_reg, u32 src_reg) src_reg 196 arch/x86/net/bpf_jit_comp32.c return byte + dst_reg + (src_reg << 3); src_reg 1479 arch/x86/net/bpf_jit_comp32.c const bool sstk = insn->src_reg == BPF_REG_AX ? false : true; src_reg 1482 arch/x86/net/bpf_jit_comp32.c const u8 *src = bpf2ia32[insn->src_reg]; src_reg 1888 arch/x86/net/bpf_jit_comp32.c if (insn->src_reg == BPF_PSEUDO_CALL) src_reg 35 drivers/clk/clk-lochnagar.c u16 src_reg; src_reg 89 drivers/clk/clk-lochnagar.c .src_reg = LOCHNAGAR1_##ID##_SEL, \ src_reg 97 drivers/clk/clk-lochnagar.c .src_reg = LOCHNAGAR2_##ID##_CTRL, \ src_reg 181 drivers/clk/clk-lochnagar.c ret = regmap_update_bits(regmap, lclk->src_reg, lclk->src_mask, index); src_reg 197 drivers/clk/clk-lochnagar.c ret = regmap_read(regmap, lclk->src_reg, &val); src_reg 58 drivers/clk/socfpga/clk-gate.c u32 src_reg; src_reg 62 drivers/clk/socfpga/clk-gate.c src_reg = readl(clk_mgr_base_addr + CLKMGR_L4SRC); src_reg 63 drivers/clk/socfpga/clk-gate.c src_reg &= ~0x1; src_reg 64 drivers/clk/socfpga/clk-gate.c src_reg |= parent; src_reg 65 drivers/clk/socfpga/clk-gate.c writel(src_reg, clk_mgr_base_addr + CLKMGR_L4SRC); src_reg 67 drivers/clk/socfpga/clk-gate.c src_reg = readl(clk_mgr_base_addr + CLKMGR_L4SRC); src_reg 68 drivers/clk/socfpga/clk-gate.c src_reg &= ~0x2; src_reg 69 drivers/clk/socfpga/clk-gate.c src_reg |= (parent << 1); src_reg 70 drivers/clk/socfpga/clk-gate.c writel(src_reg, clk_mgr_base_addr + CLKMGR_L4SRC); src_reg 72 drivers/clk/socfpga/clk-gate.c src_reg = readl(clk_mgr_base_addr + CLKMGR_PERPLL_SRC); src_reg 74 drivers/clk/socfpga/clk-gate.c src_reg &= ~0x3; src_reg 75 drivers/clk/socfpga/clk-gate.c src_reg |= parent; src_reg 78 drivers/clk/socfpga/clk-gate.c src_reg &= ~0xC; src_reg 79 drivers/clk/socfpga/clk-gate.c src_reg |= (parent << 2); src_reg 81 drivers/clk/socfpga/clk-gate.c src_reg &= ~0x30; src_reg 82 drivers/clk/socfpga/clk-gate.c src_reg |= (parent << 4); src_reg 84 drivers/clk/socfpga/clk-gate.c writel(src_reg, clk_mgr_base_addr + CLKMGR_PERPLL_SRC); src_reg 294 drivers/crypto/ux500/cryp/cryp.c struct cryp_register __iomem *src_reg = device_data->base; src_reg 308 drivers/crypto/ux500/cryp/cryp.c if (CRYP_TEST_BITS(&src_reg->sr, CRYP_SR_IFEM_MASK) == 0) src_reg 309 drivers/crypto/ux500/cryp/cryp.c ctx->din = readl_relaxed(&src_reg->din); src_reg 311 drivers/crypto/ux500/cryp/cryp.c ctx->cr = readl_relaxed(&src_reg->cr) & CRYP_CR_CONTEXT_SAVE_MASK; src_reg 315 drivers/crypto/ux500/cryp/cryp.c ctx->key_4_l = readl_relaxed(&src_reg->key_4_l); src_reg 316 drivers/crypto/ux500/cryp/cryp.c ctx->key_4_r = readl_relaxed(&src_reg->key_4_r); src_reg 320 drivers/crypto/ux500/cryp/cryp.c ctx->key_3_l = readl_relaxed(&src_reg->key_3_l); src_reg 321 drivers/crypto/ux500/cryp/cryp.c ctx->key_3_r = readl_relaxed(&src_reg->key_3_r); src_reg 325 drivers/crypto/ux500/cryp/cryp.c ctx->key_2_l = readl_relaxed(&src_reg->key_2_l); src_reg 326 drivers/crypto/ux500/cryp/cryp.c ctx->key_2_r = readl_relaxed(&src_reg->key_2_r); src_reg 330 drivers/crypto/ux500/cryp/cryp.c ctx->key_1_l = readl_relaxed(&src_reg->key_1_l); src_reg 331 drivers/crypto/ux500/cryp/cryp.c ctx->key_1_r = readl_relaxed(&src_reg->key_1_r); src_reg 339 drivers/crypto/ux500/cryp/cryp.c ctx->init_vect_0_l = readl_relaxed(&src_reg->init_vect_0_l); src_reg 340 drivers/crypto/ux500/cryp/cryp.c ctx->init_vect_0_r = readl_relaxed(&src_reg->init_vect_0_r); src_reg 341 drivers/crypto/ux500/cryp/cryp.c ctx->init_vect_1_l = readl_relaxed(&src_reg->init_vect_1_l); src_reg 342 drivers/crypto/ux500/cryp/cryp.c ctx->init_vect_1_r = readl_relaxed(&src_reg->init_vect_1_r); src_reg 800 drivers/gpu/ipu-v3/ipu-common.c u32 src_reg, sink_reg; src_reg 810 drivers/gpu/ipu-v3/ipu-common.c src_reg = ipu_cm_read(ipu, link->src.reg); src_reg 811 drivers/gpu/ipu-v3/ipu-common.c src_reg &= ~link->src.mask; src_reg 812 drivers/gpu/ipu-v3/ipu-common.c src_reg |= link->src.val; src_reg 813 drivers/gpu/ipu-v3/ipu-common.c ipu_cm_write(ipu, src_reg, link->src.reg); src_reg 834 drivers/gpu/ipu-v3/ipu-common.c u32 src_reg, sink_reg; src_reg 844 drivers/gpu/ipu-v3/ipu-common.c src_reg = ipu_cm_read(ipu, link->src.reg); src_reg 845 drivers/gpu/ipu-v3/ipu-common.c src_reg &= ~link->src.mask; src_reg 846 drivers/gpu/ipu-v3/ipu-common.c ipu_cm_write(ipu, src_reg, link->src.reg); src_reg 744 drivers/net/ethernet/netronome/nfp/bpf/jit.c src_base = reg_a(meta->insn.src_reg * 2); src_reg 748 drivers/net/ethernet/netronome/nfp/bpf/jit.c addr40_offset(nfp_prog, meta->insn.src_reg * 2, off, &src_base, src_reg 1315 drivers/net/ethernet/netronome/nfp/bpf/jit.c u8 dst = meta->insn.dst_reg * 2, src = meta->insn.src_reg * 2; src_reg 1341 drivers/net/ethernet/netronome/nfp/bpf/jit.c u8 dst = meta->insn.dst_reg * 2, src = meta->insn.src_reg * 2; src_reg 1364 drivers/net/ethernet/netronome/nfp/bpf/jit.c insn->src_reg * 2, br_mask, insn->off); src_reg 1367 drivers/net/ethernet/netronome/nfp/bpf/jit.c insn->src_reg * 2 + 1, br_mask, insn->off); src_reg 1448 drivers/net/ethernet/netronome/nfp/bpf/jit.c breg = insn->src_reg * 2; src_reg 1515 drivers/net/ethernet/netronome/nfp/bpf/jit.c multiplier = reg_b(insn->src_reg * 2); src_reg 1811 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_alu(nfp_prog, reg_none(), reg_a(meta->insn.src_reg * 2), src_reg 1820 drivers/net/ethernet/netronome/nfp/bpf/jit.c pv_qsel_val(nfp_prog), 0x1, reg_b(meta->insn.src_reg * 2), src_reg 1840 drivers/net/ethernet/netronome/nfp/bpf/jit.c u8 src = insn->src_reg * 2; src_reg 1842 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (insn->src_reg == BPF_REG_10) { src_reg 1905 drivers/net/ethernet/netronome/nfp/bpf/jit.c reg_b(insn->src_reg * 2)); src_reg 1908 drivers/net/ethernet/netronome/nfp/bpf/jit.c reg_b(insn->src_reg * 2 + 1)); src_reg 1930 drivers/net/ethernet/netronome/nfp/bpf/jit.c reg_b(insn->src_reg * 2)); src_reg 1933 drivers/net/ethernet/netronome/nfp/bpf/jit.c reg_b(insn->src_reg * 2 + 1)); src_reg 2070 drivers/net/ethernet/netronome/nfp/bpf/jit.c src = insn->src_reg * 2; src_reg 2182 drivers/net/ethernet/netronome/nfp/bpf/jit.c src = insn->src_reg * 2; src_reg 2299 drivers/net/ethernet/netronome/nfp/bpf/jit.c src = insn->src_reg * 2; src_reg 2330 drivers/net/ethernet/netronome/nfp/bpf/jit.c wrp_reg_mov(nfp_prog, insn->dst_reg * 2, insn->src_reg * 2); src_reg 2454 drivers/net/ethernet/netronome/nfp/bpf/jit.c src = insn->src_reg * 2; src_reg 2505 drivers/net/ethernet/netronome/nfp/bpf/jit.c src = insn->src_reg * 2; src_reg 2544 drivers/net/ethernet/netronome/nfp/bpf/jit.c src = insn->src_reg * 2; src_reg 2624 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta->insn.src_reg * 2, 1); src_reg 2630 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta->insn.src_reg * 2, 2); src_reg 2636 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta->insn.src_reg * 2, 4); src_reg 2644 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta->insn.dst_reg * 2, meta->insn.src_reg * 2, src_reg 2713 drivers/net/ethernet/netronome/nfp/bpf/jit.c return data_ld_host_order_addr32(nfp_prog, meta, meta->insn.src_reg * 2, src_reg 2725 drivers/net/ethernet/netronome/nfp/bpf/jit.c return data_ld_host_order_addr40(nfp_prog, meta, meta->insn.src_reg * 2, src_reg 2740 drivers/net/ethernet/netronome/nfp/bpf/jit.c src_base = reg_a(meta->insn.src_reg * 2); src_reg 2957 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta->insn.src_reg * 2, size); src_reg 2965 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta->insn.src_reg * 2, meta->insn.dst_reg * 2, src_reg 3021 drivers/net/ethernet/netronome/nfp/bpf/jit.c u8 src_gpr = meta->insn.src_reg * 2; src_reg 3232 drivers/net/ethernet/netronome/nfp/bpf/jit.c ALU_OP_XOR, reg_b(insn->src_reg * 2)); src_reg 3236 drivers/net/ethernet/netronome/nfp/bpf/jit.c reg_b(insn->src_reg * 2 + 1)); src_reg 3891 drivers/net/ethernet/netronome/nfp/bpf/jit.c insn.src_reg == insn.dst_reg) src_reg 3896 drivers/net/ethernet/netronome/nfp/bpf/jit.c insn.src_reg == 1 && insn.dst_reg == 6) src_reg 3981 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (next.src_reg || next.dst_reg) src_reg 4016 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (next1.src_reg || next1.dst_reg || src_reg 4017 drivers/net/ethernet/netronome/nfp/bpf/jit.c next2.src_reg || next2.dst_reg) src_reg 4062 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (ld->dst_reg != st->src_reg) src_reg 4096 drivers/net/ethernet/netronome/nfp/bpf/jit.c prev_ld_base = prev_ld->src_reg; src_reg 4105 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (ld->src_reg != prev_ld_base || st->dst_reg != prev_st_base) src_reg 4410 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta1->insn.src_reg != BPF_PSEUDO_MAP_FD) src_reg 465 drivers/net/ethernet/netronome/nfp/bpf/main.h insn.src_reg != BPF_PSEUDO_CALL; src_reg 473 drivers/net/ethernet/netronome/nfp/bpf/main.h insn.src_reg == BPF_PSEUDO_CALL; src_reg 529 drivers/net/ethernet/netronome/nfp/bpf/verifier.c const struct bpf_reg_state *sreg = cur_regs(env) + meta->insn.src_reg; src_reg 555 drivers/net/ethernet/netronome/nfp/bpf/verifier.c cur_regs(env) + meta->insn.src_reg; src_reg 641 drivers/net/ethernet/netronome/nfp/bpf/verifier.c if (meta->insn.src_reg >= MAX_BPF_REG || src_reg 654 drivers/net/ethernet/netronome/nfp/bpf/verifier.c meta->insn.src_reg); src_reg 371 drivers/pinctrl/cirrus/pinctrl-lochnagar.c .src_reg = LOCHNAGAR1_##ID##_SEL, \ src_reg 383 drivers/pinctrl/cirrus/pinctrl-lochnagar.c .src_reg = LOCHNAGAR2_##ID##_CTRL, \ src_reg 396 drivers/pinctrl/cirrus/pinctrl-lochnagar.c u16 src_reg; src_reg 871 drivers/pinctrl/cirrus/pinctrl-lochnagar.c ret = regmap_update_bits(regmap, aif->src_reg, aif->src_mask, op); src_reg 73 drivers/remoteproc/imx_rproc.c u32 src_reg; src_reg 141 drivers/remoteproc/imx_rproc.c .src_reg = IMX7D_SRC_SCR, src_reg 150 drivers/remoteproc/imx_rproc.c .src_reg = IMX6SX_SRC_SCR, src_reg 165 drivers/remoteproc/imx_rproc.c ret = regmap_update_bits(priv->regmap, dcfg->src_reg, src_reg 180 drivers/remoteproc/imx_rproc.c ret = regmap_update_bits(priv->regmap, dcfg->src_reg, src_reg 88 include/linux/filter.h .src_reg = SRC, \ src_reg 96 include/linux/filter.h .src_reg = SRC, \ src_reg 106 include/linux/filter.h .src_reg = 0, \ src_reg 114 include/linux/filter.h .src_reg = 0, \ src_reg 124 include/linux/filter.h .src_reg = 0, \ src_reg 134 include/linux/filter.h .src_reg = SRC, \ src_reg 142 include/linux/filter.h .src_reg = SRC, \ src_reg 152 include/linux/filter.h .src_reg = 0, \ src_reg 160 include/linux/filter.h .src_reg = 0, \ src_reg 169 include/linux/filter.h .src_reg = DST, \ src_reg 186 include/linux/filter.h .src_reg = SRC, \ src_reg 192 include/linux/filter.h .src_reg = 0, \ src_reg 206 include/linux/filter.h .src_reg = SRC, \ src_reg 214 include/linux/filter.h .src_reg = SRC, \ src_reg 224 include/linux/filter.h .src_reg = 0, \ src_reg 234 include/linux/filter.h .src_reg = SRC, \ src_reg 244 include/linux/filter.h .src_reg = SRC, \ src_reg 254 include/linux/filter.h .src_reg = SRC, \ src_reg 264 include/linux/filter.h .src_reg = SRC, \ src_reg 274 include/linux/filter.h .src_reg = 0, \ src_reg 284 include/linux/filter.h .src_reg = SRC, \ src_reg 294 include/linux/filter.h .src_reg = 0, \ src_reg 304 include/linux/filter.h .src_reg = SRC, \ src_reg 314 include/linux/filter.h .src_reg = 0, \ src_reg 324 include/linux/filter.h .src_reg = 0, \ src_reg 334 include/linux/filter.h .src_reg = BPF_PSEUDO_CALL, \ src_reg 347 include/linux/filter.h .src_reg = 0, \ src_reg 357 include/linux/filter.h .src_reg = SRC, \ src_reg 367 include/linux/filter.h .src_reg = 0, \ src_reg 68 include/uapi/linux/bpf.h __u8 src_reg:4; /* source register */ src_reg 1352 kernel/bpf/cgroup.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, src_reg 1367 kernel/bpf/cgroup.c if (si->src_reg == treg || si->dst_reg == treg) src_reg 1369 kernel/bpf/cgroup.c if (si->src_reg == treg || si->dst_reg == treg) src_reg 1379 kernel/bpf/cgroup.c BPF_SIZEOF(u32), treg, si->src_reg, src_reg 1388 kernel/bpf/cgroup.c si->dst_reg, si->src_reg, src_reg 1495 kernel/bpf/cgroup.c si->dst_reg, si->src_reg, \ src_reg 51 kernel/bpf/core.c #define SRC regs[insn->src_reg] src_reg 291 kernel/bpf/core.c (dst[i].src_reg == BPF_PSEUDO_MAP_FD || src_reg 292 kernel/bpf/core.c dst[i].src_reg == BPF_PSEUDO_MAP_VALUE)) { src_reg 298 kernel/bpf/core.c dst[i].src_reg == 0 && src_reg 397 kernel/bpf/core.c if (insn->src_reg != BPF_PSEUDO_CALL) src_reg 865 kernel/bpf/core.c *func_addr_fixed = insn->src_reg != BPF_PSEUDO_CALL; src_reg 920 kernel/bpf/core.c if (from->dst_reg == BPF_REG_AX || from->src_reg == BPF_REG_AX) src_reg 22 kernel/bpf/disasm.c if (insn->src_reg != BPF_PSEUDO_CALL && src_reg 30 kernel/bpf/disasm.c if (insn->src_reg == BPF_PSEUDO_CALL) src_reg 141 kernel/bpf/disasm.c insn->src_reg); src_reg 155 kernel/bpf/disasm.c insn->off, insn->src_reg); src_reg 161 kernel/bpf/disasm.c insn->src_reg); src_reg 182 kernel/bpf/disasm.c insn->src_reg, insn->off); src_reg 193 kernel/bpf/disasm.c insn->src_reg, insn->imm); src_reg 200 kernel/bpf/disasm.c bool is_ptr = insn->src_reg == BPF_PSEUDO_MAP_FD || src_reg 201 kernel/bpf/disasm.c insn->src_reg == BPF_PSEUDO_MAP_VALUE; src_reg 221 kernel/bpf/disasm.c if (insn->src_reg == BPF_PSEUDO_CALL) { src_reg 245 kernel/bpf/disasm.c insn->src_reg, insn->off); src_reg 2284 kernel/bpf/syscall.c insns[i].src_reg = type; src_reg 1137 kernel/bpf/verifier.c if (insn[i].src_reg != BPF_PSEUDO_CALL) src_reg 1267 kernel/bpf/verifier.c if (insn->src_reg == BPF_PSEUDO_CALL) src_reg 1454 kernel/bpf/verifier.c u32 sreg = 1u << insn->src_reg; src_reg 1507 kernel/bpf/verifier.c if (insn->src_reg != BPF_REG_FP) src_reg 1548 kernel/bpf/verifier.c if (insn->src_reg == BPF_PSEUDO_CALL) src_reg 2629 kernel/bpf/verifier.c if (insn[i].src_reg != BPF_PSEUDO_CALL) src_reg 2908 kernel/bpf/verifier.c err = check_reg_arg(env, insn->src_reg, SRC_OP); src_reg 2917 kernel/bpf/verifier.c if (is_pointer_value(env, insn->src_reg)) { src_reg 2918 kernel/bpf/verifier.c verbose(env, "R%d leaks addr into mem\n", insn->src_reg); src_reg 4372 kernel/bpf/verifier.c u32 dst = insn->dst_reg, src = insn->src_reg; src_reg 4603 kernel/bpf/verifier.c struct bpf_reg_state src_reg) src_reg 4620 kernel/bpf/verifier.c coerce_reg_to_size(&src_reg, 4); src_reg 4623 kernel/bpf/verifier.c smin_val = src_reg.smin_value; src_reg 4624 kernel/bpf/verifier.c smax_val = src_reg.smax_value; src_reg 4625 kernel/bpf/verifier.c umin_val = src_reg.umin_value; src_reg 4626 kernel/bpf/verifier.c umax_val = src_reg.umax_value; src_reg 4627 kernel/bpf/verifier.c src_known = tnum_is_const(src_reg.var_off); src_reg 4668 kernel/bpf/verifier.c dst_reg->var_off = tnum_add(dst_reg->var_off, src_reg.var_off); src_reg 4694 kernel/bpf/verifier.c dst_reg->var_off = tnum_sub(dst_reg->var_off, src_reg.var_off); src_reg 4697 kernel/bpf/verifier.c dst_reg->var_off = tnum_mul(dst_reg->var_off, src_reg.var_off); src_reg 4728 kernel/bpf/verifier.c src_reg.var_off.value); src_reg 4734 kernel/bpf/verifier.c dst_reg->var_off = tnum_and(dst_reg->var_off, src_reg.var_off); src_reg 4756 kernel/bpf/verifier.c src_reg.var_off.value); src_reg 4762 kernel/bpf/verifier.c dst_reg->var_off = tnum_or(dst_reg->var_off, src_reg.var_off); src_reg 4890 kernel/bpf/verifier.c struct bpf_reg_state *regs = state->regs, *dst_reg, *src_reg; src_reg 4896 kernel/bpf/verifier.c src_reg = NULL; src_reg 4900 kernel/bpf/verifier.c src_reg = ®s[insn->src_reg]; src_reg 4901 kernel/bpf/verifier.c if (src_reg->type != SCALAR_VALUE) { src_reg 4924 kernel/bpf/verifier.c src_reg, dst_reg); src_reg 4928 kernel/bpf/verifier.c err = mark_chain_precision(env, insn->src_reg); src_reg 4932 kernel/bpf/verifier.c dst_reg, src_reg); src_reg 4940 kernel/bpf/verifier.c src_reg = &off_reg; src_reg 4943 kernel/bpf/verifier.c ptr_reg, src_reg); src_reg 4952 kernel/bpf/verifier.c if (WARN_ON(!src_reg)) { src_reg 4957 kernel/bpf/verifier.c return adjust_scalar_min_max_vals(env, insn, dst_reg, *src_reg); src_reg 4970 kernel/bpf/verifier.c insn->src_reg != BPF_REG_0 || src_reg 4976 kernel/bpf/verifier.c if (insn->src_reg != BPF_REG_0 || insn->off != 0 || src_reg 5009 kernel/bpf/verifier.c err = check_reg_arg(env, insn->src_reg, SRC_OP); src_reg 5013 kernel/bpf/verifier.c if (insn->src_reg != BPF_REG_0 || insn->off != 0) { src_reg 5025 kernel/bpf/verifier.c struct bpf_reg_state *src_reg = regs + insn->src_reg; src_reg 5032 kernel/bpf/verifier.c *dst_reg = *src_reg; src_reg 5037 kernel/bpf/verifier.c if (is_pointer_value(env, insn->src_reg)) { src_reg 5040 kernel/bpf/verifier.c insn->src_reg); src_reg 5042 kernel/bpf/verifier.c } else if (src_reg->type == SCALAR_VALUE) { src_reg 5043 kernel/bpf/verifier.c *dst_reg = *src_reg; src_reg 5080 kernel/bpf/verifier.c err = check_reg_arg(env, insn->src_reg, SRC_OP); src_reg 5084 kernel/bpf/verifier.c if (insn->src_reg != BPF_REG_0 || insn->off != 0) { src_reg 5631 kernel/bpf/verifier.c static void __reg_combine_min_max(struct bpf_reg_state *src_reg, src_reg 5634 kernel/bpf/verifier.c src_reg->umin_value = dst_reg->umin_value = max(src_reg->umin_value, src_reg 5636 kernel/bpf/verifier.c src_reg->umax_value = dst_reg->umax_value = min(src_reg->umax_value, src_reg 5638 kernel/bpf/verifier.c src_reg->smin_value = dst_reg->smin_value = max(src_reg->smin_value, src_reg 5640 kernel/bpf/verifier.c src_reg->smax_value = dst_reg->smax_value = min(src_reg->smax_value, src_reg 5642 kernel/bpf/verifier.c src_reg->var_off = dst_reg->var_off = tnum_intersect(src_reg->var_off, src_reg 5645 kernel/bpf/verifier.c __update_reg_bounds(src_reg); src_reg 5648 kernel/bpf/verifier.c __reg_deduce_bounds(src_reg); src_reg 5651 kernel/bpf/verifier.c __reg_bound_offset(src_reg); src_reg 5657 kernel/bpf/verifier.c __update_reg_bounds(src_reg); src_reg 5771 kernel/bpf/verifier.c struct bpf_reg_state *src_reg, src_reg 5785 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET_END) || src_reg 5787 kernel/bpf/verifier.c reg_is_init_pkt_pointer(src_reg, PTR_TO_PACKET))) { src_reg 5792 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET) || src_reg 5794 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET_META)) { src_reg 5796 kernel/bpf/verifier.c find_good_pkt_pointers(other_branch, src_reg, src_reg 5797 kernel/bpf/verifier.c src_reg->type, true); src_reg 5804 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET_END) || src_reg 5806 kernel/bpf/verifier.c reg_is_init_pkt_pointer(src_reg, PTR_TO_PACKET))) { src_reg 5811 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET) || src_reg 5813 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET_META)) { src_reg 5815 kernel/bpf/verifier.c find_good_pkt_pointers(this_branch, src_reg, src_reg 5816 kernel/bpf/verifier.c src_reg->type, false); src_reg 5823 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET_END) || src_reg 5825 kernel/bpf/verifier.c reg_is_init_pkt_pointer(src_reg, PTR_TO_PACKET))) { src_reg 5830 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET) || src_reg 5832 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET_META)) { src_reg 5834 kernel/bpf/verifier.c find_good_pkt_pointers(other_branch, src_reg, src_reg 5835 kernel/bpf/verifier.c src_reg->type, false); src_reg 5842 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET_END) || src_reg 5844 kernel/bpf/verifier.c reg_is_init_pkt_pointer(src_reg, PTR_TO_PACKET))) { src_reg 5849 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET) || src_reg 5851 kernel/bpf/verifier.c src_reg->type == PTR_TO_PACKET_META)) { src_reg 5853 kernel/bpf/verifier.c find_good_pkt_pointers(this_branch, src_reg, src_reg 5854 kernel/bpf/verifier.c src_reg->type, true); src_reg 5872 kernel/bpf/verifier.c struct bpf_reg_state *dst_reg, *other_branch_regs, *src_reg = NULL; src_reg 5891 kernel/bpf/verifier.c err = check_reg_arg(env, insn->src_reg, SRC_OP); src_reg 5895 kernel/bpf/verifier.c if (is_pointer_value(env, insn->src_reg)) { src_reg 5897 kernel/bpf/verifier.c insn->src_reg); src_reg 5900 kernel/bpf/verifier.c src_reg = ®s[insn->src_reg]; src_reg 5902 kernel/bpf/verifier.c if (insn->src_reg != BPF_REG_0) { src_reg 5919 kernel/bpf/verifier.c else if (src_reg->type == SCALAR_VALUE && src_reg 5920 kernel/bpf/verifier.c tnum_is_const(src_reg->var_off)) src_reg 5921 kernel/bpf/verifier.c pred = is_branch_taken(dst_reg, src_reg->var_off.value, src_reg 5926 kernel/bpf/verifier.c err = mark_chain_precision(env, insn->src_reg); src_reg 5955 kernel/bpf/verifier.c struct bpf_reg_state *src_reg = ®s[insn->src_reg]; src_reg 5957 kernel/bpf/verifier.c struct bpf_reg_state lo_reg1 = *src_reg; src_reg 5966 kernel/bpf/verifier.c src_reg->type == SCALAR_VALUE) { src_reg 5967 kernel/bpf/verifier.c if (tnum_is_const(src_reg->var_off) || src_reg 5973 kernel/bpf/verifier.c : src_reg->var_off.value, src_reg 5977 kernel/bpf/verifier.c reg_set_min_max_inv(&other_branch_regs[insn->src_reg], src_reg 5978 kernel/bpf/verifier.c src_reg, src_reg 5986 kernel/bpf/verifier.c reg_combine_min_max(&other_branch_regs[insn->src_reg], src_reg 5988 kernel/bpf/verifier.c src_reg, dst_reg, opcode); src_reg 6009 kernel/bpf/verifier.c } else if (!try_match_pkt_pointers(insn, dst_reg, ®s[insn->src_reg], src_reg 6042 kernel/bpf/verifier.c if (insn->src_reg == 0) { src_reg 6054 kernel/bpf/verifier.c if (insn->src_reg == BPF_PSEUDO_MAP_VALUE) { src_reg 6059 kernel/bpf/verifier.c } else if (insn->src_reg == BPF_PSEUDO_MAP_FD) { src_reg 6127 kernel/bpf/verifier.c (mode == BPF_ABS && insn->src_reg != BPF_REG_0)) { src_reg 6160 kernel/bpf/verifier.c err = check_reg_arg(env, insn->src_reg, SRC_OP); src_reg 6397 kernel/bpf/verifier.c if (insns[t].src_reg == BPF_PSEUDO_CALL) { src_reg 7668 kernel/bpf/verifier.c err = check_reg_arg(env, insn->src_reg, SRC_OP); src_reg 7676 kernel/bpf/verifier.c src_reg_type = regs[insn->src_reg].type; src_reg 7681 kernel/bpf/verifier.c err = check_mem_access(env, env->insn_idx, insn->src_reg, src_reg 7720 kernel/bpf/verifier.c err = check_reg_arg(env, insn->src_reg, SRC_OP); src_reg 7733 kernel/bpf/verifier.c BPF_WRITE, insn->src_reg, false); src_reg 7748 kernel/bpf/verifier.c insn->src_reg != BPF_REG_0) { src_reg 7778 kernel/bpf/verifier.c (insn->src_reg != BPF_REG_0 && src_reg 7779 kernel/bpf/verifier.c insn->src_reg != BPF_PSEUDO_CALL) || src_reg 7787 kernel/bpf/verifier.c (insn->src_reg == BPF_PSEUDO_CALL || src_reg 7792 kernel/bpf/verifier.c if (insn->src_reg == BPF_PSEUDO_CALL) src_reg 7802 kernel/bpf/verifier.c insn->src_reg != BPF_REG_0 || src_reg 7815 kernel/bpf/verifier.c insn->src_reg != BPF_REG_0 || src_reg 8005 kernel/bpf/verifier.c insn[1].dst_reg != 0 || insn[1].src_reg != 0 || src_reg 8011 kernel/bpf/verifier.c if (insn[0].src_reg == 0) src_reg 8018 kernel/bpf/verifier.c if ((insn[0].src_reg != BPF_PSEUDO_MAP_FD && src_reg 8019 kernel/bpf/verifier.c insn[0].src_reg != BPF_PSEUDO_MAP_VALUE) || src_reg 8020 kernel/bpf/verifier.c (insn[0].src_reg == BPF_PSEUDO_MAP_FD && src_reg 8042 kernel/bpf/verifier.c if (insn->src_reg == BPF_PSEUDO_MAP_FD) { src_reg 8156 kernel/bpf/verifier.c insn->src_reg = 0; src_reg 8549 kernel/bpf/verifier.c zext_patch[1].src_reg = insn.dst_reg; src_reg 8755 kernel/bpf/verifier.c insn->src_reg != BPF_PSEUDO_CALL) src_reg 8838 kernel/bpf/verifier.c insn->src_reg != BPF_PSEUDO_CALL) src_reg 8884 kernel/bpf/verifier.c insn->src_reg != BPF_PSEUDO_CALL) src_reg 8907 kernel/bpf/verifier.c insn->src_reg != BPF_PSEUDO_CALL) src_reg 8936 kernel/bpf/verifier.c insn->src_reg != BPF_PSEUDO_CALL) src_reg 8973 kernel/bpf/verifier.c BPF_MOV32_REG(insn->src_reg, insn->src_reg), src_reg 8975 kernel/bpf/verifier.c BPF_JMP_IMM(BPF_JNE, insn->src_reg, 0, 2), src_reg 8981 kernel/bpf/verifier.c BPF_MOV32_REG(insn->src_reg, insn->src_reg), src_reg 8983 kernel/bpf/verifier.c BPF_JMP_IMM(BPF_JEQ, insn->src_reg, 0, 1), src_reg 9044 kernel/bpf/verifier.c off_reg = issrc ? insn->src_reg : insn->dst_reg; src_reg 9055 kernel/bpf/verifier.c insn->src_reg = BPF_REG_AX; src_reg 9080 kernel/bpf/verifier.c if (insn->src_reg == BPF_PSEUDO_CALL) src_reg 1155 kernel/trace/bpf_trace.c data), si->dst_reg, si->src_reg, src_reg 1163 kernel/trace/bpf_trace.c data), si->dst_reg, si->src_reg, src_reg 1171 kernel/trace/bpf_trace.c regs), si->dst_reg, si->src_reg, src_reg 270 net/core/filter.c static u32 convert_skb_access(int skb_field, int dst_reg, int src_reg, src_reg 279 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, dst_reg, src_reg, src_reg 284 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_B, dst_reg, src_reg, PKT_TYPE_OFFSET()); src_reg 294 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, dst_reg, src_reg, src_reg 302 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, dst_reg, src_reg, src_reg 306 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_B, dst_reg, src_reg, PKT_VLAN_PRESENT_OFFSET()); src_reg 704 net/core/filter.c insn->src_reg = BPF_REG_TMP; src_reg 710 net/core/filter.c insn->src_reg = bpf_src == BPF_X ? BPF_REG_X : 0; src_reg 5583 net/core/filter.c si->dst_reg, si->src_reg, \ src_reg 5595 net/core/filter.c si->dst_reg, si->src_reg, \ src_reg 5611 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 5774 net/core/filter.c si->dst_reg, si->src_reg, \ src_reg 6792 net/core/filter.c *insn++ = BPF_MOV64_REG(BPF_REG_2, orig->src_reg); src_reg 7201 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7207 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7213 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7231 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7237 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, src_reg 7243 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, src_reg 7250 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7254 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7260 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7267 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7276 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7283 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7287 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7294 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_B, si->dst_reg, si->src_reg, src_reg 7304 net/core/filter.c *insn++ = BPF_JMP_IMM(BPF_JGE, si->src_reg, NO_QUEUE_MAPPING, 1); src_reg 7305 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_H, si->dst_reg, si->src_reg, src_reg 7310 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, src_reg 7319 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_B, si->dst_reg, si->src_reg, src_reg 7328 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, src_reg 7347 net/core/filter.c si->src_reg, off); src_reg 7350 net/core/filter.c si->src_reg, off); src_reg 7363 net/core/filter.c si->src_reg, off); src_reg 7366 net/core/filter.c si->src_reg, off); src_reg 7371 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7381 net/core/filter.c si->src_reg, off); src_reg 7390 net/core/filter.c si->src_reg, off); src_reg 7396 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_H, si->dst_reg, si->src_reg, src_reg 7400 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, src_reg 7414 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7428 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7439 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7451 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7468 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7488 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7503 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7518 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7530 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7536 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7546 net/core/filter.c BPF_REG_AX, si->src_reg, src_reg 7549 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7554 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7571 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, off); src_reg 7576 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7597 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7600 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7608 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7611 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7619 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7622 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7629 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7639 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7648 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 7657 net/core/filter.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, src_reg 7666 net/core/filter.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, src_reg 7678 net/core/filter.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, src_reg 7696 net/core/filter.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, src_reg 7711 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7721 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7731 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7752 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7776 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7781 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7786 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7791 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7801 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7825 net/core/filter.c si->src_reg, offsetof(S, F)); \ src_reg 7850 net/core/filter.c if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \ src_reg 7852 net/core/filter.c if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \ src_reg 7858 net/core/filter.c *insn++ = BPF_STX_MEM(SIZE, tmp_reg, si->src_reg, \ src_reg 7968 net/core/filter.c si->dst_reg, si->src_reg, src_reg 7993 net/core/filter.c si->dst_reg, si->src_reg, \ src_reg 7999 net/core/filter.c si->dst_reg, si->src_reg, \ src_reg 8024 net/core/filter.c if (si->dst_reg == reg || si->src_reg == reg) \ src_reg 8026 net/core/filter.c if (si->dst_reg == reg || si->src_reg == reg) \ src_reg 8043 net/core/filter.c reg, si->src_reg, \ src_reg 8074 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 8077 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, src_reg 8086 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8097 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8109 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8126 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8147 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8163 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8177 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8187 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8197 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8211 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8294 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8300 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8322 net/core/filter.c si->src_reg, off); src_reg 8348 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8353 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8361 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8372 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8384 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8401 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8422 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8438 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8452 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8460 net/core/filter.c si->dst_reg, si->src_reg, src_reg 8864 net/core/filter.c si->dst_reg, si->src_reg, \ src_reg 14 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 22 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 32 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 40 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 50 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 58 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 68 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 76 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 88 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 94 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 113 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 123 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 133 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 143 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 153 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 163 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 173 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 183 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 193 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 203 samples/bpf/bpf_insn.h .src_reg = SRC, \ src_reg 213 samples/bpf/bpf_insn.h .src_reg = 0, \ src_reg 365 samples/bpf/bpf_load.c insn[insn_idx].src_reg = BPF_PSEUDO_MAP_FD; src_reg 534 sound/soc/sh/rcar/dma.c phys_addr_t src_reg = rsnd_gen_get_phy_addr(priv, RSND_GEN2_SCU); src_reg 143 tools/bpf/bpftool/cfg.c if (cur->src_reg != BPF_PSEUDO_CALL) src_reg 176 tools/bpf/bpftool/xlated_dumper.c if (insn->src_reg == BPF_PSEUDO_CALL && src_reg 181 tools/bpf/bpftool/xlated_dumper.c if (insn->src_reg == BPF_PSEUDO_CALL) src_reg 193 tools/bpf/bpftool/xlated_dumper.c if (insn->src_reg == BPF_PSEUDO_MAP_FD) src_reg 196 tools/bpf/bpftool/xlated_dumper.c else if (insn->src_reg == BPF_PSEUDO_MAP_VALUE) src_reg 268 tools/bpf/bpftool/xlated_dumper.c jsonw_printf(json_wtr, "\"0x%hhx\"", insn[i].src_reg); src_reg 38 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 46 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 56 tools/include/linux/filter.h .src_reg = 0, \ src_reg 64 tools/include/linux/filter.h .src_reg = 0, \ src_reg 74 tools/include/linux/filter.h .src_reg = 0, \ src_reg 84 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 92 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 102 tools/include/linux/filter.h .src_reg = 0, \ src_reg 110 tools/include/linux/filter.h .src_reg = 0, \ src_reg 120 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 128 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 138 tools/include/linux/filter.h .src_reg = 0, \ src_reg 148 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 158 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 168 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 178 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 188 tools/include/linux/filter.h .src_reg = 0, \ src_reg 198 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 208 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 218 tools/include/linux/filter.h .src_reg = 0, \ src_reg 228 tools/include/linux/filter.h .src_reg = 0, \ src_reg 238 tools/include/linux/filter.h .src_reg = 0, \ src_reg 248 tools/include/linux/filter.h .src_reg = 0, \ src_reg 258 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 271 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 277 tools/include/linux/filter.h .src_reg = 0, \ src_reg 285 tools/include/linux/filter.h .src_reg = SRC, \ src_reg 291 tools/include/linux/filter.h .src_reg = 0, \ src_reg 311 tools/include/linux/filter.h .src_reg = BPF_PSEUDO_CALL, \ src_reg 321 tools/include/linux/filter.h .src_reg = 0, \ src_reg 68 tools/include/uapi/linux/bpf.h __u8 src_reg:4; /* source register */ src_reg 1790 tools/lib/bpf/libbpf.c if (insns[insn_idx].src_reg != BPF_PSEUDO_CALL) { src_reg 2817 tools/lib/bpf/libbpf.c insn_idx, insn->code, insn->src_reg, insn->dst_reg, src_reg 3283 tools/lib/bpf/libbpf.c insns[insn_idx].src_reg = BPF_PSEUDO_MAP_FD; src_reg 3285 tools/lib/bpf/libbpf.c insns[insn_idx].src_reg = BPF_PSEUDO_MAP_VALUE; src_reg 185 tools/testing/selftests/bpf/verifier/basic_instr.c .src_reg = 0,