Home
last modified time | relevance | path

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

12

/linux/arch/riscv/kvm/
A Dvcpu_exit.c196 int shift = 0, len = 0, insn_len = 0; in emulate_load() local
207 insn_len = (htinst & BIT(1)) ? INSN_LEN(insn) : 2; in emulate_load()
221 insn_len = INSN_LEN(insn); in emulate_load()
274 vcpu->arch.mmio_decode.insn_len = insn_len; in emulate_load()
309 int len = 0, insn_len = 0; in emulate_store() local
320 insn_len = (htinst & BIT(1)) ? INSN_LEN(insn) : 2; in emulate_store()
334 insn_len = INSN_LEN(insn); in emulate_store()
376 vcpu->arch.mmio_decode.insn_len = insn_len; in emulate_store()
649 vcpu->arch.guest_context.sepc += vcpu->arch.mmio_decode.insn_len; in kvm_riscv_vcpu_mmio_return()
/linux/arch/riscv/net/
A Dbpf_jit_comp64.c479 int dst_reg, int insn_len) in add_exception_handler() argument
491 if (WARN_ON_ONCE(insn_len > ctx->ninsns)) in add_exception_handler()
985 int insn_len, insns_start; in bpf_jit_emit_insn() local
992 insn_len = ctx->ninsns - insns_start; in bpf_jit_emit_insn()
1000 insn_len = ctx->ninsns - insns_start; in bpf_jit_emit_insn()
1008 insn_len = ctx->ninsns - insns_start; in bpf_jit_emit_insn()
1016 insn_len = ctx->ninsns - insns_start; in bpf_jit_emit_insn()
1024 insn_len = ctx->ninsns - insns_start; in bpf_jit_emit_insn()
1032 insn_len = ctx->ninsns - insns_start; in bpf_jit_emit_insn()
1040 insn_len = ctx->ninsns - insns_start; in bpf_jit_emit_insn()
[all …]
/linux/tools/perf/scripts/python/Perf-Trace-Util/
A DContext.c101 if (c->sample->ip && !c->sample->insn_len && in perf_sample_insn()
105 if (!c->sample->insn_len) in perf_sample_insn()
108 return _PyBytes_FromStringAndSize(c->sample->insn, c->sample->insn_len); in perf_sample_insn()
/linux/tools/perf/arch/x86/util/
A Darchinsn.c26 sample->insn_len = insn.length; in arch_fetch_insn()
/linux/tools/perf/util/
A Dthread-stack.h83 u64 to_ip, u16 insn_len, u64 trace_nr, bool callstack,
A Ddlfilter.c194 if (d->sample->ip && !d->sample->insn_len) { in dlfilter__insn()
204 if (!d->sample->insn_len) in dlfilter__insn()
207 *len = d->sample->insn_len; in dlfilter__insn()
A 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()
A Devent.h149 u16 insn_len; member
A Dintel-pt.c192 u16 insn_len; member
1319 ptq->insn_len = 0; in intel_pt_sample_flags()
1341 ptq->insn_len = ptq->state->insn_len; in intel_pt_sample_flags()
1490 sample->insn_len = ptq->insn_len; in intel_pt_prep_a_sample()
2327 state->from_ip, state->to_ip, ptq->insn_len, in intel_pt_sample()
A Dcs-etm.c1147 sample->insn_len = 0; in cs_etm__copy_insn()
1156 sample->insn_len = cs_etm__t32_instr_size(etmq, trace_chan_id, in cs_etm__copy_insn()
1160 sample->insn_len = 4; in cs_etm__copy_insn()
1163 sample->insn_len, (void *)sample->insn); in cs_etm__copy_insn()
A Dintel-bts.c294 sample.insn_len = btsq->intel_pt_insn.length; in intel_bts_synth_branch_sample()
/linux/arch/x86/kvm/
A Dx86.h331 void *insn, int insn_len);
333 int emulation_type, void *insn, int insn_len);
A Dmmu.h77 u64 fault_address, char *insn, int insn_len);
A Dkvm_emulate.h491 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type);
A Dx86.c8050 void *insn, int insn_len) in x86_decode_emulated_instruction() argument
8066 r = x86_decode_insn(ctxt, insn, insn_len, emulation_type); in x86_decode_emulated_instruction()
8076 int emulation_type, void *insn, int insn_len) in x86_emulate_instruction() argument
8083 if (unlikely(!static_call(kvm_x86_can_emulate_instruction)(vcpu, insn, insn_len))) in x86_emulate_instruction()
8099 insn, insn_len); in x86_emulate_instruction()
8240 void *insn, int insn_len) in kvm_emulate_instruction_from_buffer() argument
8242 return x86_emulate_instruction(vcpu, 0, 0, insn, insn_len); in kvm_emulate_instruction_from_buffer()
A Demulate.c5022 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type) in x86_decode_insn() argument
5037 ctxt->fetch.end = ctxt->fetch.data + insn_len; in x86_decode_insn()
5040 if (insn_len > 0) in x86_decode_insn()
5041 memcpy(ctxt->fetch.data, insn, insn_len); in x86_decode_insn()
/linux/arch/riscv/include/asm/
A Dkvm_host.h70 int insn_len; member
/linux/tools/perf/util/intel-pt-decoder/
A Dintel-pt-decoder.h234 int insn_len; member
A Dintel-pt-decoder.c1196 decoder->state.insn_len = intel_pt_insn->length; in intel_pt_walk_insn()
/linux/tools/testing/selftests/kvm/include/x86_64/
A Dsvm.h96 u8 insn_len; member
/linux/arch/x86/include/asm/
A Dsvm.h151 u8 insn_len; member
A Dkvm_host.h1487 bool (*can_emulate_instruction)(struct kvm_vcpu *vcpu, void *insn, int insn_len);
1674 void *insn, int insn_len);
1787 void *insn, int insn_len);
/linux/tools/perf/
A Dbuiltin-script.c1439 if (sample->insn_len == 0 && native_arch) in script_fetch_insn()
1453 printed += fprintf(fp, " ilen: %d", sample->insn_len); in perf_sample__fprintf_insn()
1454 if (PRINT_FIELD(INSN) && sample->insn_len) { in perf_sample__fprintf_insn()
1458 for (i = 0; i < sample->insn_len; i++) in perf_sample__fprintf_insn()
/linux/arch/x86/kvm/svm/
A Dsvm.c1975 svm->vmcb->control.insn_len); in pf_interception()
1989 svm->vmcb->control.insn_len); in npf_interception()
4462 static bool svm_can_emulate_instruction(struct kvm_vcpu *vcpu, void *insn, int insn_len) in svm_can_emulate_instruction() argument
4513 if (likely(!insn || insn_len)) in svm_can_emulate_instruction()
/linux/arch/x86/kvm/mmu/
A Dmmu.c4080 u64 fault_address, char *insn, int insn_len) in kvm_handle_page_fault() argument
4098 insn_len); in kvm_handle_page_fault()
5299 void *insn, int insn_len) in kvm_mmu_page_fault() argument
5354 insn_len); in kvm_mmu_page_fault()

Completed in 121 milliseconds

12