| /Linux-v5.4/arch/x86/kernel/ |
| D | paravirt.c | 152 unsigned insn_len = end - start; in paravirt_patch_insns() local 155 BUG_ON(insn_len > len || start == NULL); in paravirt_patch_insns() 157 memcpy(insn_buff, start, insn_len); in paravirt_patch_insns() 159 return insn_len; in paravirt_patch_insns()
|
| /Linux-v5.4/tools/perf/arch/x86/util/ |
| D | archinsn.c | 25 sample->insn_len = insn.length; in arch_fetch_insn()
|
| /Linux-v5.4/tools/perf/util/ |
| D | thread-stack.h | 84 u64 to_ip, u16 insn_len, u64 trace_nr);
|
| D | thread-stack.c | 357 u64 to_ip, u16 insn_len, u64 trace_nr) in thread_stack__event() argument 393 ret_addr = from_ip + insn_len; in thread_stack__event() 780 ret_addr = sample->ip + sample->insn_len; in thread_stack__trace_end() 906 ret_addr = sample->ip + sample->insn_len; in thread_stack__process()
|
| D | event.h | 134 u16 insn_len; member
|
| D | intel-pt.c | 167 u16 insn_len; member 1002 ptq->insn_len = 0; in intel_pt_sample_flags() 1011 ptq->insn_len = ptq->state->insn_len; in intel_pt_sample_flags() 1212 sample->insn_len = ptq->insn_len; in intel_pt_prep_a_sample() 1973 state->to_ip, ptq->insn_len, in intel_pt_sample()
|
| D | cs-etm.c | 1093 sample->insn_len = 0; in cs_etm__copy_insn() 1102 sample->insn_len = cs_etm__t32_instr_size(etmq, trace_chan_id, in cs_etm__copy_insn() 1106 sample->insn_len = 4; in cs_etm__copy_insn() 1109 sample->insn_len, (void *)sample->insn); in cs_etm__copy_insn()
|
| D | intel-bts.c | 294 sample.insn_len = btsq->intel_pt_insn.length; in intel_bts_synth_branch_sample()
|
| /Linux-v5.4/arch/x86/kvm/ |
| D | mmu.h | 65 u64 fault_address, char *insn, int insn_len);
|
| D | x86.h | 290 int emulation_type, void *insn, int insn_len);
|
| D | mmu.c | 4221 u64 fault_address, char *insn, int insn_len) in kvm_handle_page_fault() argument 4233 insn_len); in kvm_handle_page_fault() 5520 void *insn, int insn_len) in kvm_mmu_page_fault() argument 5584 if (unlikely(insn && !insn_len)) { in kvm_mmu_page_fault() 5590 insn_len); in kvm_mmu_page_fault()
|
| D | emulate.c | 5146 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len) in x86_decode_insn() argument 5161 ctxt->fetch.end = ctxt->fetch.data + insn_len; in x86_decode_insn() 5163 if (insn_len > 0) in x86_decode_insn() 5164 memcpy(ctxt->fetch.data, insn, insn_len); in x86_decode_insn()
|
| D | x86.c | 6623 int insn_len) in x86_emulate_instruction() argument 6659 r = x86_decode_insn(ctxt, insn, insn_len); in x86_emulate_instruction() 6789 void *insn, int insn_len) in kvm_emulate_instruction_from_buffer() argument 6791 return x86_emulate_instruction(vcpu, 0, 0, insn, insn_len); in kvm_emulate_instruction_from_buffer()
|
| D | svm.c | 2709 svm->vmcb->control.insn_len); in pf_interception() 2721 svm->vmcb->control.insn_len); in npf_interception()
|
| /Linux-v5.4/tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-decoder.h | 219 int insn_len; member
|
| D | intel-pt-decoder.c | 1075 decoder->state.insn_len = intel_pt_insn->length; in intel_pt_walk_insn()
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | svm.h | 93 u8 insn_len; member
|
| D | kvm_emulate.h | 444 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len);
|
| D | kvm_host.h | 1356 void *insn, int insn_len); 1454 void *insn, int insn_len);
|
| /Linux-v5.4/tools/perf/ |
| D | builtin-script.c | 1268 if (sample->insn_len == 0 && native_arch) in perf_sample__fprintf_insn() 1272 printed += fprintf(fp, " ilen: %d", sample->insn_len); in perf_sample__fprintf_insn() 1273 if (PRINT_FIELD(INSN) && sample->insn_len) { in perf_sample__fprintf_insn() 1277 for (i = 0; i < sample->insn_len; i++) in perf_sample__fprintf_insn()
|