Home
last modified time | relevance | path

Searched refs:insn_len (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/arch/x86/kernel/
Dparavirt.c152 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/
Darchinsn.c25 sample->insn_len = insn.length; in arch_fetch_insn()
/Linux-v5.4/tools/perf/util/
Dthread-stack.h84 u64 to_ip, u16 insn_len, u64 trace_nr);
Dthread-stack.c357 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()
Devent.h134 u16 insn_len; member
Dintel-pt.c167 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()
Dcs-etm.c1093 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()
Dintel-bts.c294 sample.insn_len = btsq->intel_pt_insn.length; in intel_bts_synth_branch_sample()
/Linux-v5.4/arch/x86/kvm/
Dmmu.h65 u64 fault_address, char *insn, int insn_len);
Dx86.h290 int emulation_type, void *insn, int insn_len);
Dmmu.c4221 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()
Demulate.c5146 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()
Dx86.c6623 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()
Dsvm.c2709 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/
Dintel-pt-decoder.h219 int insn_len; member
Dintel-pt-decoder.c1075 decoder->state.insn_len = intel_pt_insn->length; in intel_pt_walk_insn()
/Linux-v5.4/arch/x86/include/asm/
Dsvm.h93 u8 insn_len; member
Dkvm_emulate.h444 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len);
Dkvm_host.h1356 void *insn, int insn_len);
1454 void *insn, int insn_len);
/Linux-v5.4/tools/perf/
Dbuiltin-script.c1268 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()