/kernel/linux/linux-6.6/arch/riscv/kernel/probes/ |
H A D | simulate-insn.c | 36 bool __kprobes simulate_jal(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_jal() argument 40 * imm [20] | imm[10:1] | imm[11] | imm[19:12] | rd | opcode in simulate_jal() 45 u32 index = (opcode >> 7) & 0x1f; in simulate_jal() 51 imm = ((opcode >> 21) & 0x3ff) << 1; in simulate_jal() 52 imm |= ((opcode >> 20) & 0x1) << 11; in simulate_jal() 53 imm |= ((opcode >> 12) & 0xff) << 12; in simulate_jal() 54 imm |= ((opcode >> 31) & 0x1) << 20; in simulate_jal() 61 bool __kprobes simulate_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_jalr() argument 65 * offset[11:0] | rs1 | 010 | rd | opcode in simulate_jalr() 70 u32 imm = (opcode >> 2 in simulate_jalr() 101 simulate_auipc(u32 opcode, unsigned long addr, struct pt_regs *regs) simulate_auipc() argument 139 simulate_branch(u32 opcode, unsigned long addr, struct pt_regs *regs) simulate_branch() argument 192 simulate_c_j(u32 opcode, unsigned long addr, struct pt_regs *regs) simulate_c_j() argument 216 simulate_c_jr_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs, bool is_jalr) simulate_c_jr_jalr() argument 243 simulate_c_jr(u32 opcode, unsigned long addr, struct pt_regs *regs) simulate_c_jr() argument 248 simulate_c_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs) simulate_c_jalr() argument 253 simulate_c_bnez_beqz(u32 opcode, unsigned long addr, struct pt_regs *regs, bool is_bnez) simulate_c_bnez_beqz() argument 287 simulate_c_bnez(u32 opcode, unsigned long addr, struct pt_regs *regs) simulate_c_bnez() argument 292 simulate_c_beqz(u32 opcode, unsigned long addr, struct pt_regs *regs) simulate_c_beqz() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/nwfpe/ |
H A D | fpopcode.h | 57 abcd arithmetic opcode (TABLES 3 & 4) 179 #define MASK_CPDT 0x0c000000 /* data processing opcode */ 191 /* Get the coprocessor number from the opcode. */ 192 #define getCoprocessorNumber(opcode) ((opcode & MASK_COPROCESSOR) >> 8) 194 /* Get the offset from the opcode. */ 195 #define getOffset(opcode) (opcode & MASK_OFFSET) 198 #define TEST_OPCODE(opcode,mask) (((opcode) 379 getTransferLength(const unsigned int opcode) getTransferLength() argument 400 getRegisterCount(const unsigned int opcode) getRegisterCount() argument 424 getRoundingPrecision(const unsigned int opcode) getRoundingPrecision() argument 445 getDestinationSize(const unsigned int opcode) getDestinationSize() argument [all...] |
H A D | fpa11_cpdt.c | 212 unsigned int PerformLDF(const unsigned int opcode) in PerformLDF() argument 215 unsigned int nRc = 1, write_back = WRITE_BACK(opcode); in PerformLDF() 217 pBase = (unsigned int __user *) readRegister(getRn(opcode)); in PerformLDF() 218 if (REG_PC == getRn(opcode)) { in PerformLDF() 224 if (BIT_UP_SET(opcode)) in PerformLDF() 225 pFinal += getOffset(opcode); in PerformLDF() 227 pFinal -= getOffset(opcode); in PerformLDF() 229 if (PREINDEXED(opcode)) in PerformLDF() 234 switch (opcode & MASK_TRANSFER_LENGTH) { in PerformLDF() 236 loadSingle(getFd(opcode), pAddres in PerformLDF() 255 PerformSTF(const unsigned int opcode) PerformSTF() argument 306 PerformLFM(const unsigned int opcode) PerformLFM() argument 342 PerformSFM(const unsigned int opcode) PerformSFM() argument 378 EmulateCPDT(const unsigned int opcode) EmulateCPDT() argument [all...] |
H A D | fpa11_cprt.c | 18 unsigned int PerformFLT(const unsigned int opcode); 19 unsigned int PerformFIX(const unsigned int opcode); 21 static unsigned int PerformComparison(const unsigned int opcode); 23 unsigned int EmulateCPRT(const unsigned int opcode) in EmulateCPRT() argument 26 if (opcode & 0x800000) { in EmulateCPRT() 31 return PerformComparison(opcode); in EmulateCPRT() 35 switch ((opcode & 0x700000) >> 20) { in EmulateCPRT() 37 return PerformFLT(opcode); in EmulateCPRT() 40 return PerformFIX(opcode); in EmulateCPRT() 44 writeFPSR(readRegister(getRd(opcode))); in EmulateCPRT() 57 PerformFLT(const unsigned int opcode) PerformFLT() argument 100 PerformFIX(const unsigned int opcode) PerformFIX() argument 142 PerformComparison(const unsigned int opcode) PerformComparison() argument [all...] |
H A D | fpa11.c | 35 int8 SetRoundingMode(const unsigned int opcode) in SetRoundingMode() argument 37 switch (opcode & MASK_ROUNDING_MODE) { in SetRoundingMode() 53 int8 SetRoundingPrecision(const unsigned int opcode) in SetRoundingPrecision() argument 56 switch (opcode & MASK_ROUNDING_PRECISION) { in SetRoundingPrecision() 84 /* Emulate the instruction in the opcode. */ 85 unsigned int EmulateAll(unsigned int opcode) in EmulateAll() argument 90 printk("NWFPE: emulating opcode %08x\n", opcode); in EmulateAll() 92 code = opcode & 0x00000f00; in EmulateAll() 95 code = opcode in EmulateAll() [all...] |
H A D | fpa11_cpdo.c | 14 unsigned int SingleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 15 unsigned int DoubleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 16 unsigned int ExtendedCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 18 unsigned int EmulateCPDO(const unsigned int opcode) in EmulateCPDO() argument 27 nDest = getDestinationSize(opcode); in EmulateCPDO() 31 roundData.mode = SetRoundingMode(opcode); in EmulateCPDO() 32 roundData.precision = SetRoundingPrecision(opcode); in EmulateCPDO() 40 if (MONADIC_INSTRUCTION(opcode)) in EmulateCPDO() 43 nType = fpa11->fType[getFn(opcode)]; in EmulateCPDO() 45 if (!CONSTANT_FM(opcode)) { in EmulateCPDO() [all...] |
H A D | fpa11.h | 85 extern unsigned int EmulateAll(unsigned int opcode); 87 extern unsigned int EmulateCPDT(const unsigned int opcode); 88 extern unsigned int EmulateCPDO(const unsigned int opcode); 89 extern unsigned int EmulateCPRT(const unsigned int opcode); 92 extern unsigned int PerformLDF(const unsigned int opcode); 93 extern unsigned int PerformSTF(const unsigned int opcode); 94 extern unsigned int PerformLFM(const unsigned int opcode); 95 extern unsigned int PerformSFM(const unsigned int opcode); 100 const unsigned int opcode, FPREG * rFd); 103 const unsigned int opcode, FPRE [all...] |
/kernel/linux/linux-6.6/arch/arm/nwfpe/ |
H A D | fpopcode.h | 57 abcd arithmetic opcode (TABLES 3 & 4) 179 #define MASK_CPDT 0x0c000000 /* data processing opcode */ 191 /* Get the coprocessor number from the opcode. */ 192 #define getCoprocessorNumber(opcode) ((opcode & MASK_COPROCESSOR) >> 8) 194 /* Get the offset from the opcode. */ 195 #define getOffset(opcode) (opcode & MASK_OFFSET) 198 #define TEST_OPCODE(opcode,mask) (((opcode) 379 getTransferLength(const unsigned int opcode) getTransferLength() argument 400 getRegisterCount(const unsigned int opcode) getRegisterCount() argument 424 getRoundingPrecision(const unsigned int opcode) getRoundingPrecision() argument 445 getDestinationSize(const unsigned int opcode) getDestinationSize() argument [all...] |
H A D | fpa11_cpdt.c | 212 unsigned int PerformLDF(const unsigned int opcode) in PerformLDF() argument 215 unsigned int nRc = 1, write_back = WRITE_BACK(opcode); in PerformLDF() 217 pBase = (unsigned int __user *) readRegister(getRn(opcode)); in PerformLDF() 218 if (REG_PC == getRn(opcode)) { in PerformLDF() 224 if (BIT_UP_SET(opcode)) in PerformLDF() 225 pFinal += getOffset(opcode); in PerformLDF() 227 pFinal -= getOffset(opcode); in PerformLDF() 229 if (PREINDEXED(opcode)) in PerformLDF() 234 switch (opcode & MASK_TRANSFER_LENGTH) { in PerformLDF() 236 loadSingle(getFd(opcode), pAddres in PerformLDF() 255 PerformSTF(const unsigned int opcode) PerformSTF() argument 306 PerformLFM(const unsigned int opcode) PerformLFM() argument 342 PerformSFM(const unsigned int opcode) PerformSFM() argument 378 EmulateCPDT(const unsigned int opcode) EmulateCPDT() argument [all...] |
H A D | fpa11_cprt.c | 18 unsigned int PerformFLT(const unsigned int opcode); 19 unsigned int PerformFIX(const unsigned int opcode); 21 static unsigned int PerformComparison(const unsigned int opcode); 23 unsigned int EmulateCPRT(const unsigned int opcode) in EmulateCPRT() argument 26 if (opcode & 0x800000) { in EmulateCPRT() 31 return PerformComparison(opcode); in EmulateCPRT() 35 switch ((opcode & 0x700000) >> 20) { in EmulateCPRT() 37 return PerformFLT(opcode); in EmulateCPRT() 40 return PerformFIX(opcode); in EmulateCPRT() 44 writeFPSR(readRegister(getRd(opcode))); in EmulateCPRT() 57 PerformFLT(const unsigned int opcode) PerformFLT() argument 100 PerformFIX(const unsigned int opcode) PerformFIX() argument 142 PerformComparison(const unsigned int opcode) PerformComparison() argument [all...] |
H A D | fpa11.c | 35 int8 SetRoundingMode(const unsigned int opcode) in SetRoundingMode() argument 37 switch (opcode & MASK_ROUNDING_MODE) { in SetRoundingMode() 53 int8 SetRoundingPrecision(const unsigned int opcode) in SetRoundingPrecision() argument 56 switch (opcode & MASK_ROUNDING_PRECISION) { in SetRoundingPrecision() 84 /* Emulate the instruction in the opcode. */ 85 unsigned int EmulateAll(unsigned int opcode) in EmulateAll() argument 90 printk("NWFPE: emulating opcode %08x\n", opcode); in EmulateAll() 92 code = opcode & 0x00000f00; in EmulateAll() 95 code = opcode in EmulateAll() [all...] |
H A D | fpa11_cpdo.c | 14 unsigned int SingleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 15 unsigned int DoubleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 16 unsigned int ExtendedCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 18 unsigned int EmulateCPDO(const unsigned int opcode) in EmulateCPDO() argument 27 nDest = getDestinationSize(opcode); in EmulateCPDO() 31 roundData.mode = SetRoundingMode(opcode); in EmulateCPDO() 32 roundData.precision = SetRoundingPrecision(opcode); in EmulateCPDO() 40 if (MONADIC_INSTRUCTION(opcode)) in EmulateCPDO() 43 nType = fpa11->fType[getFn(opcode)]; in EmulateCPDO() 45 if (!CONSTANT_FM(opcode)) { in EmulateCPDO() [all...] |
H A D | fpa11.h | 85 extern unsigned int EmulateAll(unsigned int opcode); 87 extern unsigned int EmulateCPDT(const unsigned int opcode); 88 extern unsigned int EmulateCPDO(const unsigned int opcode); 89 extern unsigned int EmulateCPRT(const unsigned int opcode); 92 extern unsigned int PerformLDF(const unsigned int opcode); 93 extern unsigned int PerformSTF(const unsigned int opcode); 94 extern unsigned int PerformLFM(const unsigned int opcode); 95 extern unsigned int PerformSFM(const unsigned int opcode); 100 const unsigned int opcode, FPREG * rFd); 103 const unsigned int opcode, FPRE [all...] |
/kernel/linux/linux-5.10/arch/csky/kernel/probes/ |
H A D | simulate-insn.c | 69 simulate_br16(u32 opcode, long addr, struct pt_regs *regs) in simulate_br16() argument 72 addr + sign_extend32((opcode & 0x3ff) << 1, 9)); in simulate_br16() 76 simulate_br32(u32 opcode, long addr, struct pt_regs *regs) in simulate_br32() argument 79 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_br32() 83 simulate_bt16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt16() argument 87 addr + sign_extend32((opcode & 0x3ff) << 1, 9)); in simulate_bt16() 93 simulate_bt32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt32() argument 97 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_bt32() 103 simulate_bf16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf16() argument 107 addr + sign_extend32((opcode in simulate_bf16() 113 simulate_bf32(u32 opcode, long addr, struct pt_regs *regs) simulate_bf32() argument 123 simulate_jmp16(u32 opcode, long addr, struct pt_regs *regs) simulate_jmp16() argument 133 simulate_jmp32(u32 opcode, long addr, struct pt_regs *regs) simulate_jmp32() argument 143 simulate_jsr16(u32 opcode, long addr, struct pt_regs *regs) simulate_jsr16() argument 155 simulate_jsr32(u32 opcode, long addr, struct pt_regs *regs) simulate_jsr32() argument 167 simulate_lrw16(u32 opcode, long addr, struct pt_regs *regs) simulate_lrw16() argument 181 simulate_lrw32(u32 opcode, long addr, struct pt_regs *regs) simulate_lrw32() argument 194 simulate_pop16(u32 opcode, long addr, struct pt_regs *regs) simulate_pop16() argument 215 simulate_pop32(u32 opcode, long addr, struct pt_regs *regs) simulate_pop32() argument 246 simulate_bez32(u32 opcode, long addr, struct pt_regs *regs) simulate_bez32() argument 260 simulate_bnez32(u32 opcode, long addr, struct pt_regs *regs) simulate_bnez32() argument 274 simulate_bnezad32(u32 opcode, long addr, struct pt_regs *regs) simulate_bnezad32() argument 293 simulate_bhsz32(u32 opcode, long addr, struct pt_regs *regs) simulate_bhsz32() argument 310 simulate_bhz32(u32 opcode, long addr, struct pt_regs *regs) simulate_bhz32() argument 327 simulate_blsz32(u32 opcode, long addr, struct pt_regs *regs) simulate_blsz32() argument 344 simulate_blz32(u32 opcode, long addr, struct pt_regs *regs) simulate_blz32() argument 361 simulate_bsr32(u32 opcode, long addr, struct pt_regs *regs) simulate_bsr32() argument 375 simulate_jmpi32(u32 opcode, long addr, struct pt_regs *regs) simulate_jmpi32() argument 387 simulate_jsri32(u32 opcode, long addr, struct pt_regs *regs) simulate_jsri32() argument [all...] |
/kernel/linux/linux-6.6/arch/csky/kernel/probes/ |
H A D | simulate-insn.c | 69 simulate_br16(u32 opcode, long addr, struct pt_regs *regs) in simulate_br16() argument 72 addr + sign_extend32((opcode & 0x3ff) << 1, 9)); in simulate_br16() 76 simulate_br32(u32 opcode, long addr, struct pt_regs *regs) in simulate_br32() argument 79 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_br32() 83 simulate_bt16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt16() argument 87 addr + sign_extend32((opcode & 0x3ff) << 1, 9)); in simulate_bt16() 93 simulate_bt32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt32() argument 97 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_bt32() 103 simulate_bf16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf16() argument 107 addr + sign_extend32((opcode in simulate_bf16() 113 simulate_bf32(u32 opcode, long addr, struct pt_regs *regs) simulate_bf32() argument 123 simulate_jmp16(u32 opcode, long addr, struct pt_regs *regs) simulate_jmp16() argument 133 simulate_jmp32(u32 opcode, long addr, struct pt_regs *regs) simulate_jmp32() argument 143 simulate_jsr16(u32 opcode, long addr, struct pt_regs *regs) simulate_jsr16() argument 155 simulate_jsr32(u32 opcode, long addr, struct pt_regs *regs) simulate_jsr32() argument 167 simulate_lrw16(u32 opcode, long addr, struct pt_regs *regs) simulate_lrw16() argument 181 simulate_lrw32(u32 opcode, long addr, struct pt_regs *regs) simulate_lrw32() argument 194 simulate_pop16(u32 opcode, long addr, struct pt_regs *regs) simulate_pop16() argument 215 simulate_pop32(u32 opcode, long addr, struct pt_regs *regs) simulate_pop32() argument 246 simulate_bez32(u32 opcode, long addr, struct pt_regs *regs) simulate_bez32() argument 260 simulate_bnez32(u32 opcode, long addr, struct pt_regs *regs) simulate_bnez32() argument 274 simulate_bnezad32(u32 opcode, long addr, struct pt_regs *regs) simulate_bnezad32() argument 293 simulate_bhsz32(u32 opcode, long addr, struct pt_regs *regs) simulate_bhsz32() argument 308 simulate_bhz32(u32 opcode, long addr, struct pt_regs *regs) simulate_bhz32() argument 323 simulate_blsz32(u32 opcode, long addr, struct pt_regs *regs) simulate_blsz32() argument 338 simulate_blz32(u32 opcode, long addr, struct pt_regs *regs) simulate_blz32() argument 353 simulate_bsr32(u32 opcode, long addr, struct pt_regs *regs) simulate_bsr32() argument 367 simulate_jmpi32(u32 opcode, long addr, struct pt_regs *regs) simulate_jmpi32() argument 379 simulate_jsri32(u32 opcode, long addr, struct pt_regs *regs) simulate_jsri32() argument [all...] |
/kernel/linux/linux-5.10/arch/arm64/kernel/probes/ |
H A D | simulate-insn.c | 51 static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs) in check_cbz() argument 53 int xn = opcode & 0x1f; in check_cbz() 55 return (opcode & (1 << 31)) ? in check_cbz() 59 static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs) in check_cbnz() argument 61 int xn = opcode & 0x1f; in check_cbnz() 63 return (opcode & (1 << 31)) ? in check_cbnz() 67 static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs) in check_tbz() argument 69 int xn = opcode & 0x1f; in check_tbz() 70 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 1 in check_tbz() 75 check_tbnz(u32 opcode, struct pt_regs *regs) check_tbnz() argument 87 simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs) simulate_adr_adrp() argument 105 simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs) simulate_b_bl() argument 117 simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs) simulate_b_cond() argument 128 simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs) simulate_br_blr_ret() argument 141 simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs) simulate_cbz_cbnz() argument 156 simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs) simulate_tbz_tbnz() argument 171 simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs) simulate_ldr_literal() argument 189 simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs) simulate_ldrsw_literal() argument [all...] |
/kernel/linux/linux-6.6/arch/arm64/kernel/probes/ |
H A D | simulate-insn.c | 52 static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs) in check_cbz() argument 54 int xn = opcode & 0x1f; in check_cbz() 56 return (opcode & (1 << 31)) ? in check_cbz() 60 static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs) in check_cbnz() argument 62 int xn = opcode & 0x1f; in check_cbnz() 64 return (opcode & (1 << 31)) ? in check_cbnz() 68 static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs) in check_tbz() argument 70 int xn = opcode & 0x1f; in check_tbz() 71 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 1 in check_tbz() 76 check_tbnz(u32 opcode, struct pt_regs *regs) check_tbnz() argument 88 simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs) simulate_adr_adrp() argument 106 simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs) simulate_b_bl() argument 118 simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs) simulate_b_cond() argument 129 simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs) simulate_br_blr_ret() argument 142 simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs) simulate_cbz_cbnz() argument 157 simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs) simulate_tbz_tbnz() argument 172 simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs) simulate_ldr_literal() argument 190 simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs) simulate_ldrsw_literal() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | powerpc-hcalls.py | 20 # opcode: { 31 # opcode: nsec 153 def hcall_table_lookup(opcode): 154 if (opcode in hcall_table): 155 return hcall_table[opcode] 157 return opcode 164 for opcode in output: 165 h_name = hcall_table_lookup(opcode) 166 time = output[opcode]['time'] 167 cnt = output[opcode]['cn [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | powerpc-hcalls.py | 20 # opcode: { 31 # opcode: nsec 153 def hcall_table_lookup(opcode): 154 if (opcode in hcall_table): 155 return hcall_table[opcode] 157 return opcode 164 for opcode in output: 165 h_name = hcall_table_lookup(opcode) 166 time = output[opcode]['time'] 167 cnt = output[opcode]['cn [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | spmi.h | 16 TP_PROTO(u8 opcode, u8 sid, u16 addr, u8 len, const u8 *buf), 17 TP_ARGS(opcode, sid, addr, len, buf), 20 __field ( u8, opcode ) 28 __entry->opcode = opcode; 36 (int)__entry->opcode, (int)__entry->sid, 42 TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret), 43 TP_ARGS(opcode, sid, addr, ret), 46 __field ( u8, opcode ) 53 __entry->opcode [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | spmi.h | 16 TP_PROTO(u8 opcode, u8 sid, u16 addr, u8 len, const u8 *buf), 17 TP_ARGS(opcode, sid, addr, len, buf), 20 __field ( u8, opcode ) 28 __entry->opcode = opcode; 36 (int)__entry->opcode, (int)__entry->sid, 42 TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret), 43 TP_ARGS(opcode, sid, addr, ret), 46 __field ( u8, opcode ) 53 __entry->opcode [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | trace.h | 79 TP_PROTO(unsigned long opcode, unsigned long *args), 81 TP_ARGS(opcode, args), 86 __field(unsigned long, opcode) 90 __entry->opcode = opcode; 93 TP_printk("opcode=%lu", __entry->opcode), 100 TP_PROTO(unsigned long opcode, long retval, unsigned long *retbuf), 102 TP_ARGS(opcode, retval, retbuf), 107 __field(unsigned long, opcode) [all...] |
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
H A D | module.c | 15 u32 opcode; in fixup_pcr() local 22 opcode = *ip; in fixup_pcr() 23 opcode &= ~(mask << shift); in fixup_pcr() 24 opcode |= ((delta & mask) << shift); in fixup_pcr() 25 *ip = opcode; in fixup_pcr() 27 pr_debug("REL PCR_S%d[%p] dest[%p] opcode[%08x]\n", in fixup_pcr() 28 maskbits, ip, (void *)dest, opcode); in fixup_pcr() 49 u32 *location, opcode; in apply_relocate_add() local 84 opcode = *location; in apply_relocate_add() 85 opcode in apply_relocate_add() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
H A D | ppc-dis.c | 77 /* Find a match for INSN in the opcode table, given machine DIALECT. 78 A DIALECT of -1 is special, matching all machine opcode variations. */ 83 const struct powerpc_opcode *opcode; in lookup_powerpc() local 87 /* Find the first match in the opcode table for this major opcode. */ in lookup_powerpc() 88 for (opcode = powerpc_opcodes; opcode < opcode_end; ++opcode) in lookup_powerpc() 94 if ((insn & opcode->mask) != opcode in lookup_powerpc() 121 const struct powerpc_opcode *opcode; print_insn_powerpc() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/xmon/ |
H A D | ppc-dis.c | 77 /* Find a match for INSN in the opcode table, given machine DIALECT. 78 A DIALECT of -1 is special, matching all machine opcode variations. */ 83 const struct powerpc_opcode *opcode; in lookup_powerpc() local 87 /* Find the first match in the opcode table for this major opcode. */ in lookup_powerpc() 88 for (opcode = powerpc_opcodes; opcode < opcode_end; ++opcode) in lookup_powerpc() 94 if ((insn & opcode->mask) != opcode in lookup_powerpc() 121 const struct powerpc_opcode *opcode; print_insn_powerpc() local [all...] |