Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/
Dparavirt.c153 unsigned insn_len = end - start; in paravirt_patch_insns() local
156 BUG_ON(insn_len > len || start == NULL); in paravirt_patch_insns()
158 memcpy(insn_buff, start, insn_len); in paravirt_patch_insns()
160 return insn_len; in paravirt_patch_insns()
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Darchinsn.c25 sample->insn_len = insn.length; in arch_fetch_insn()
/kernel/linux/linux-5.10/tools/perf/util/
Dthread-stack.h84 u64 to_ip, u16 insn_len, u64 trace_nr, bool callstack,
Dthread-stack.c407 u64 to_ip, u16 insn_len, u64 trace_nr, bool callstack, in thread_stack__event() argument
451 ret_addr = from_ip + insn_len; in thread_stack__event()
1032 ret_addr = sample->ip + sample->insn_len; in thread_stack__trace_end()
1158 ret_addr = sample->ip + sample->insn_len; in thread_stack__process()
Devent.h140 u16 insn_len; member
Dintel-pt.c173 u16 insn_len; member
1136 ptq->insn_len = 0; in intel_pt_sample_flags()
1147 ptq->insn_len = 0; in intel_pt_sample_flags()
1156 ptq->insn_len = ptq->state->insn_len; in intel_pt_sample_flags()
1305 sample->insn_len = ptq->insn_len; in intel_pt_prep_a_sample()
2053 state->from_ip, state->to_ip, ptq->insn_len, in intel_pt_sample()
Dcs-etm.c1123 sample->insn_len = 0; in cs_etm__copy_insn()
1132 sample->insn_len = cs_etm__t32_instr_size(etmq, trace_chan_id, in cs_etm__copy_insn()
1136 sample->insn_len = 4; in cs_etm__copy_insn()
1139 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()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.h276 void *insn, int insn_len);
278 int emulation_type, void *insn, int insn_len);
Dmmu.h67 u64 fault_address, char *insn, int insn_len);
Dkvm_emulate.h495 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len);
Dx86.c7490 void *insn, int insn_len) in x86_decode_emulated_instruction() argument
7499 r = x86_decode_insn(ctxt, insn, insn_len); in x86_decode_emulated_instruction()
7509 int emulation_type, void *insn, int insn_len) in x86_emulate_instruction() argument
7516 if (unlikely(!kvm_x86_ops.can_emulate_instruction(vcpu, insn, insn_len))) in x86_emulate_instruction()
7541 insn, insn_len); in x86_emulate_instruction()
7688 void *insn, int insn_len) in kvm_emulate_instruction_from_buffer() argument
7690 return x86_emulate_instruction(vcpu, 0, 0, insn, insn_len); in kvm_emulate_instruction_from_buffer()
Demulate.c5178 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len) in x86_decode_insn() argument
5193 ctxt->fetch.end = ctxt->fetch.data + insn_len; in x86_decode_insn()
5196 if (insn_len > 0) in x86_decode_insn()
5197 memcpy(ctxt->fetch.data, insn, insn_len); in x86_decode_insn()
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.h220 int insn_len; member
Dintel-pt-decoder.c1105 decoder->state.insn_len = intel_pt_insn->length; in intel_pt_walk_insn()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/
Dsvm.h96 u8 insn_len; member
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsvm.h141 u8 insn_len; member
Dkvm_host.h1285 bool (*can_emulate_instruction)(struct kvm_vcpu *vcpu, void *insn, int insn_len);
1462 void *insn, int insn_len);
1568 void *insn, int insn_len);
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-script.c1398 if (sample->insn_len == 0 && native_arch) in perf_sample__fprintf_insn()
1402 printed += fprintf(fp, " ilen: %d", sample->insn_len); in perf_sample__fprintf_insn()
1403 if (PRINT_FIELD(INSN) && sample->insn_len) { in perf_sample__fprintf_insn()
1407 for (i = 0; i < sample->insn_len; i++) in perf_sample__fprintf_insn()
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dsvm.c1812 svm->vmcb->control.insn_len); in pf_interception()
1824 svm->vmcb->control.insn_len); in npf_interception()
4088 static bool svm_can_emulate_instruction(struct kvm_vcpu *vcpu, void *insn, int insn_len) in svm_can_emulate_instruction() argument
4137 if (likely(!insn || insn_len)) in svm_can_emulate_instruction()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dmmu.c3767 u64 fault_address, char *insn, int insn_len) in kvm_handle_page_fault() argument
3785 insn_len); in kvm_handle_page_fault()
5067 void *insn, int insn_len) in kvm_mmu_page_fault() argument
5122 insn_len); in kvm_mmu_page_fault()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.c1643 static bool vmx_can_emulate_instruction(struct kvm_vcpu *vcpu, void *insn, int insn_len) in vmx_can_emulate_instruction() argument