/linux/arch/riscv/net/ |
H A D | bpf_jit.h | 241 static inline u32 rv_r_insn(u8 funct7, u8 rs2, u8 rs1, u8 funct3, u8 rd, in rv_r_insn() 248 static inline u32 rv_i_insn(u16 imm11_0, u8 rs1, u8 funct3, u8 rd, u8 opcode) in rv_i_insn() 271 static inline u32 rv_u_insn(u32 imm31_12, u8 rd, u8 opcode) in rv_u_insn() 276 static inline u32 rv_j_insn(u32 imm20_1, u8 rd, u8 opcode) in rv_j_insn() 287 u8 funct3, u8 rd, u8 opcode) in rv_amo_insn() 296 static inline u16 rv_cr_insn(u8 funct4, u8 rd, u8 rs2, u8 op) in rv_cr_insn() 301 static inline u16 rv_ci_insn(u8 funct3, u32 imm6, u8 rd, u8 op) in rv_ci_insn() 314 static inline u16 rv_ciw_insn(u8 funct3, u32 uimm, u8 rd, u8 op) in rv_ciw_insn() 319 static inline u16 rv_cl_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rd, in rv_cl_insn() 333 static inline u16 rv_ca_insn(u8 funct6, u8 rd, u8 funct2, u8 rs2, u8 op) in rv_ca_insn() [all …]
|
H A D | bpf_jit_comp32.c | 111 static void emit_imm(const s8 rd, s32 imm, struct rv_jit_context *ctx) in emit_imm() 124 static void emit_imm32(const s8 *rd, s32 imm, struct rv_jit_context *ctx) in emit_imm32() 136 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64() 227 static void emit_jump_and_link(u8 rd, s32 rvoff, bool force_jalr, in emit_jump_and_link() 247 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in emit_alu_i64() local 331 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx); in emit_alu_i32() local 411 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in emit_alu_r64() local 516 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx); in emit_alu_r32() local 652 static int emit_bcc(u8 op, u8 rd, u8 rs, int rvoff, struct rv_jit_context *ctx) in emit_bcc() 840 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in emit_load_r64() local [all …]
|
H A D | bpf_jit_comp64.c | 153 static void emit_sextw_alt(u8 *rd, u8 ra, struct rv_jit_context *ctx) in emit_sextw_alt() 159 static void emit_zextw_alt(u8 *rd, u8 ra, struct rv_jit_context *ctx) in emit_zextw_alt() 166 static int emit_addr(u8 rd, u64 addr, bool extra_pass, struct rv_jit_context *ctx) in emit_addr() 188 static void emit_imm(u8 rd, s64 val, struct rv_jit_context *ctx) in emit_imm() 280 static void emit_bcc(u8 cond, u8 rd, u8 rs, int rvoff, in emit_bcc() 316 static void emit_branch(u8 cond, u8 rd, u8 rs, int rvoff, in emit_branch() 406 static void init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn, in init_regs() 427 static int emit_jump_and_link(u8 rd, s64 rvoff, bool fixed_addr, in emit_jump_and_link() 476 static void emit_atomic(u8 rd, u8 rs, s16 off, s32 imm, bool is64, in emit_atomic() 1130 u8 rd = -1, rs = -1, code = insn->code; in bpf_jit_emit_insn() local
|
/linux/arch/arm/net/ |
H A D | bpf_jit_32.h | 165 #define _AL3_R(op, rd, rn, rm) ((op ## _R) | (rd) << 12 | (rn) << 16 | (rm)) argument 167 #define _AL3_I(op, rd, rn, imm) ((op ## _I) | (rd) << 12 | (rn) << 16 | (imm)) argument 171 #define ARM_ADD_R(rd, rn, rm) _AL3_R(ARM_INST_ADD, rd, rn, rm) argument 172 #define ARM_ADDS_R(rd, rn, rm) _AL3_R(ARM_INST_ADDS, rd, rn, rm) argument 173 #define ARM_ADD_I(rd, rn, imm) _AL3_I(ARM_INST_ADD, rd, rn, imm) argument 174 #define ARM_ADDS_I(rd, rn, imm) _AL3_I(ARM_INST_ADDS, rd, rn, imm) argument 175 #define ARM_ADC_R(rd, rn, rm) _AL3_R(ARM_INST_ADC, rd, rn, rm) argument 176 #define ARM_ADC_I(rd, rn, imm) _AL3_I(ARM_INST_ADC, rd, rn, imm) argument 178 #define ARM_AND_R(rd, rn, rm) _AL3_R(ARM_INST_AND, rd, rn, rm) argument 179 #define ARM_ANDS_R(rd, rn, rm) _AL3_R(ARM_INST_ANDS, rd, rn, rm) argument [all …]
|
H A D | bpf_jit_32.c | 469 static inline void emit_mov_i_no8m(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m() 480 static inline void emit_mov_i(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i() 520 static inline void emit_udivmod(u8 rd, u8 rm, u8 rn, struct jit_ctx *ctx, u8 op, u8 sign) in emit_udivmod() 588 static inline void emit_udivmod64(const s8 *rd, const s8 *rm, const s8 *rn, struct jit_ctx *ctx, in emit_udivmod64() 748 const s8 *rd = is_stacked(dst_lo) ? tmp : dst; in emit_a32_mov_i64() local 848 const s8 *rd; in emit_a32_alu_r64() local 916 s8 rd; in emit_a32_movsx_r64() local 968 s8 rd; in emit_a32_alu_i() local 995 const s8 *rd; in emit_a32_neg64() local 1012 const s8 *rd; in emit_a32_lsh_r64() local [all …]
|
/linux/arch/arc/net/ |
H A D | bpf_jit_arcv2.c | 669 static u8 arc_mov_r(u8 *buf, u8 rd, u8 rs) in arc_mov_r() 679 static u8 arc_mov_i(u8 *buf, u8 rd, s32 imm) in arc_mov_i() 694 static u8 arc_mov_i_fixed(u8 *buf, u8 rd, s32 imm) in arc_mov_i_fixed() 706 static u8 arc_mov_cc_r(u8 *buf, u8 cc, u8 rd, u8 rs) in arc_mov_cc_r() 716 static u8 arc_movu_cc_r(u8 *buf, u8 cc, u8 rd, u8 imm) in arc_movu_cc_r() 726 static u8 arc_sexb_r(u8 *buf, u8 rd, u8 rs) in arc_sexb_r() 736 static u8 arc_sexh_r(u8 *buf, u8 rd, u8 rs) in arc_sexh_r() 1004 static u8 arc_divu_r(u8 *buf, u8 rd, u8 rs) in arc_divu_r() 1014 static u8 arc_divu_i(u8 *buf, u8 rd, s32 imm) in arc_divu_i() 1026 static u8 arc_divs_r(u8 *buf, u8 rd, u8 rs) in arc_divs_r() [all …]
|
/linux/drivers/powercap/ |
H A D | intel_rapl_common.c | 125 static bool is_pl_valid(struct rapl_domain *rd, int pl) in is_pl_valid() 132 static int get_pl_lock_prim(struct rapl_domain *rd, int pl) in get_pl_lock_prim() 156 static int get_pl_prim(struct rapl_domain *rd, int pl, enum pl_prims prim) in get_pl_prim() 282 struct rapl_domain *rd; in get_energy_counter() local 304 struct rapl_domain *rd = power_zone_to_rapl_domain(pcd_dev); in get_max_energy_counter() local 312 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in release_zone() local 327 static int find_nr_power_limit(struct rapl_domain *rd) in find_nr_power_limit() 341 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in set_domain_enable() local 356 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in get_domain_enable() local 422 static int contraint_to_pl(struct rapl_domain *rd, int cid) in contraint_to_pl() [all …]
|
/linux/arch/loongarch/kernel/ |
H A D | inst.c | 16 unsigned int rd = insn.reg1i20_format.rd; in simu_pc() local 48 unsigned int imm, imm_l, imm_h, rd, rj; in simu_branch() local 270 u32 larch_insn_gen_or(enum loongarch_gpr rd, enum loongarch_gpr rj, enum loongarch_gpr rk) in larch_insn_gen_or() 279 u32 larch_insn_gen_move(enum loongarch_gpr rd, enum loongarch_gpr rj) in larch_insn_gen_move() 284 u32 larch_insn_gen_lu12iw(enum loongarch_gpr rd, int imm) in larch_insn_gen_lu12iw() 298 u32 larch_insn_gen_lu32id(enum loongarch_gpr rd, int imm) in larch_insn_gen_lu32id() 312 u32 larch_insn_gen_lu52id(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm) in larch_insn_gen_lu52id() 326 u32 larch_insn_gen_jirl(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm) in larch_insn_gen_jirl()
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_rd.c | 97 static void rd_write(struct msm_rd_state *rd, const void *buf, int sz) in rd_write() 125 static void rd_write_section(struct msm_rd_state *rd, in rd_write_section() 136 struct msm_rd_state *rd = file->private_data; in rd_read() local 172 struct msm_rd_state *rd = inode->i_private; in rd_open() local 217 struct msm_rd_state *rd = inode->i_private; in rd_release() local 234 static void rd_cleanup(struct msm_rd_state *rd) in rd_cleanup() 246 struct msm_rd_state *rd; in rd_init() local 269 struct msm_rd_state *rd; in msm_rd_debugfs_init() local 311 static void snapshot_buf(struct msm_rd_state *rd, in snapshot_buf() 352 void msm_rd_dump_submit(struct msm_rd_state *rd, struct msm_gem_submit *submit, in msm_rd_dump_submit()
|
/linux/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 120 static void emit_hppa_copy(const s8 rs, const s8 rd, struct hppa_jit_context *ctx) in emit_hppa_copy() 141 static void emit_imm(const s8 rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm() 156 static void emit_imm32(const s8 *rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm32() 170 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64() 425 const s8 *rd; in emit_alu_i64() local 513 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx); in emit_alu_i32() local 569 const s8 *rd; in emit_alu_r64() local 637 const s8 *rd; in emit_alu_r32() local 789 static int emit_bcc(u8 op, u8 rd, u8 rs, int paoff, struct hppa_jit_context *ctx) in emit_bcc() 1011 const s8 *rd = bpf_get_reg64_ref(dst, tmp1, ctx->prog->aux->verifier_zext, ctx); in emit_load_r64() local [all …]
|
H A D | bpf_jit_comp64.c | 70 static void emit_hppa_copy(const s8 rs, const s8 rd, struct hppa_jit_context *ctx) in emit_hppa_copy() 135 static void emit_imm32(u8 rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm32() 160 static void emit_imm(u8 rd, s64 imm, u8 tmpreg, struct hppa_jit_context *ctx) in emit_imm() 248 static int emit_branch(u8 op, u8 rd, u8 rs, signed long paoff, in emit_branch() 407 static void init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn, in init_regs() 428 static void emit_zext_32_rd_rs(u8 *rd, u8 *rs, struct hppa_jit_context *ctx) in emit_zext_32_rd_rs() 436 static void emit_sext_32_rd_rs(u8 *rd, u8 *rs, struct hppa_jit_context *ctx) in emit_sext_32_rd_rs() 444 static void emit_zext_32_rd_t1(u8 *rd, struct hppa_jit_context *ctx) in emit_zext_32_rd_t1() 451 static void emit_sext_32_rd(u8 *rd, struct hppa_jit_context *ctx) in emit_sext_32_rd() 554 static void emit_store(const s8 rd, const s8 rs, s16 off, in emit_store() [all …]
|
/linux/net/sunrpc/xprtrdma/ |
H A D | ib_client.c | 60 struct rpcrdma_device *rd = rpcrdma_get_client_data(device); in rpcrdma_rn_register() local 75 struct rpcrdma_device *rd = container_of(kref, struct rpcrdma_device, in rpcrdma_rn_release() local 90 struct rpcrdma_device *rd = rpcrdma_get_client_data(device); in rpcrdma_rn_unregister() local 109 struct rpcrdma_device *rd; in rpcrdma_add_one() local 136 struct rpcrdma_device *rd = client_data; in rpcrdma_remove_one() local
|
/linux/arch/arm64/kvm/ |
H A D | sys_regs.c | 598 static int set_oslsr_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_oslsr_el1() 675 const struct sys_reg_desc *rd, in reg_to_dbg() 692 const struct sys_reg_desc *rd, in dbg_to_reg() 703 const struct sys_reg_desc *rd) in trap_bvr() 717 static int set_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bvr() 724 static int get_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bvr() 732 const struct sys_reg_desc *rd) in reset_bvr() 740 const struct sys_reg_desc *rd) in trap_bcr() 754 static int set_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bcr() 761 static int get_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bcr() [all …]
|
H A D | va_layout.c | 112 static u32 compute_instruction(int n, u32 rd, u32 rn) in compute_instruction() 162 u32 rd, rn, insn, oinsn; in kvm_update_va_mask() local 246 u32 insn, oinsn, rd; in generate_mov_q() local
|
/linux/arch/loongarch/net/ |
H A D | bpf_jit.h | 85 static inline void move_addr(struct jit_ctx *ctx, enum loongarch_gpr rd, u64 addr) in move_addr() 106 static inline void move_imm(struct jit_ctx *ctx, enum loongarch_gpr rd, long imm, bool is32) in move_imm() 169 static inline void move_reg(struct jit_ctx *ctx, enum loongarch_gpr rd, in move_reg() 204 enum loongarch_gpr rd, int jmp_offset) in cond_jmp_offset() 252 enum loongarch_gpr rd, int jmp_offset) in cond_jmp_offs26() 265 enum loongarch_gpr rd, int jmp_offset) in emit_cond_jmp() 297 enum loongarch_gpr rd, int jmp_offset) in emit_tailcall_jmp()
|
/linux/arch/riscv/include/asm/ |
H A D | insn-def.h | 63 #define __INSN_R(opcode, func3, func7, rd, rs1, rs2) \ argument 66 #define __INSN_I(opcode, func3, rd, rs1, simm12) \ argument 101 #define __INSN_R(opcode, func3, func7, rd, rs1, rs2) \ argument 106 #define __INSN_I(opcode, func3, rd, rs1, simm12) \ argument 115 #define INSN_R(opcode, func3, func7, rd, rs1, rs2) \ argument 119 #define INSN_I(opcode, func3, rd, rs1, simm12) \ argument
|
/linux/arch/mips/include/asm/ |
H A D | uasm.h | 211 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument 214 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument 215 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument 216 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument 223 # define UASM_i_SUBU(buf, rs, rt, rd) uasm_i_dsubu(buf, rs, rt, rd) argument 227 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_addu(buf, rs, rt, rd) argument 230 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_lwx(buf, rs, rt, rd) argument 231 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_mfc0(buf, rt, rd) argument 232 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_mtc0(buf, rt, rd) argument 239 # define UASM_i_SUBU(buf, rs, rt, rd) uasm_i_subu(buf, rs, rt, rd) argument
|
/linux/drivers/reset/ |
H A D | reset-pistachio.c | 66 struct pistachio_reset_data *rd; in pistachio_reset_assert() local 83 struct pistachio_reset_data *rd; in pistachio_reset_deassert() local 104 struct pistachio_reset_data *rd; in pistachio_reset_probe() local
|
/linux/arch/arm/probes/kprobes/ |
H A D | actions-arm.c | 159 int rd = (insn >> 12) & 0xf; in emulate_rd12rn16rm0rs8_rwflags() local 193 int rd = (insn >> 12) & 0xf; in emulate_rd12rn16rm0_rwflags_nopc() local 221 int rd = (insn >> 16) & 0xf; in emulate_rd16rn12rm0rs8_rwflags_nopc() local 250 int rd = (insn >> 12) & 0xf; in emulate_rd12rm0_noflags_nopc() local
|
/linux/drivers/memory/samsung/ |
H A D | exynos-srom.c | 54 struct exynos_srom_reg_dump *rd; in exynos_srom_alloc_reg_dump() local 160 struct exynos_srom_reg_dump *rd, in exynos_srom_save() 168 const struct exynos_srom_reg_dump *rd, in exynos_srom_restore()
|
/linux/fs/jffs2/ |
H A D | write.c | 206 struct jffs2_raw_dirent *rd, const unsigned char *name, in jffs2_write_dirent() 445 struct jffs2_raw_dirent *rd; in jffs2_do_create() local 551 struct jffs2_raw_dirent *rd; in jffs2_do_unlink() local 671 struct jffs2_raw_dirent *rd; in jffs2_do_link() local
|
/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio.h | 67 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ argument 79 #define REGISTER_DESC_WITH_LENGTH(off, rd, wr, length, acc) \ argument 89 #define REGISTER_DESC_WITH_LENGTH_UACCESS(off, rd, wr, urd, uwr, length, acc) \ argument
|
/linux/arch/loongarch/kvm/ |
H A D | exit.c | 26 int rd, rj; in kvm_emu_cpucfg() local 115 unsigned int rd, rj, csrid; in kvm_handle_csr() local 161 u32 addr, rd, rj, opcode; in kvm_emu_iocsr() local 370 unsigned int op8, opcode, rd; in kvm_emu_mmio_read() local 544 unsigned int rd, op8, opcode; in kvm_emu_mmio_write() local
|
/linux/arch/arm/mm/ |
H A D | proc-xscale.S | 69 .macro cpwait, rd argument 75 .macro cpwait_ret, lr, rd
|
/linux/arch/sparc/kernel/ |
H A D | unaligned_32.c | 73 unsigned int rd) in maybe_flush_windows() 141 unsigned int rd = (insn >> 25) & 0x1f; in compute_effective_address() local 157 unsigned int rd = (insn >> 25) & 0x1f; in safe_compute_effective_address() local
|