/linux/arch/riscv/kvm/ |
A D | vcpu_exit.c | 196 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 D | bpf_jit_comp64.c | 479 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 D | Context.c | 101 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 D | archinsn.c | 26 sample->insn_len = insn.length; in arch_fetch_insn()
|
/linux/tools/perf/util/ |
A D | thread-stack.h | 83 u64 to_ip, u16 insn_len, u64 trace_nr, bool callstack,
|
A D | dlfilter.c | 194 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 D | thread-stack.c | 407 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 D | event.h | 149 u16 insn_len; member
|
A D | intel-pt.c | 192 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 D | cs-etm.c | 1147 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 D | intel-bts.c | 294 sample.insn_len = btsq->intel_pt_insn.length; in intel_bts_synth_branch_sample()
|
/linux/arch/x86/kvm/ |
A D | x86.h | 331 void *insn, int insn_len); 333 int emulation_type, void *insn, int insn_len);
|
A D | mmu.h | 77 u64 fault_address, char *insn, int insn_len);
|
A D | kvm_emulate.h | 491 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type);
|
A D | x86.c | 8050 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 D | emulate.c | 5022 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 D | kvm_host.h | 70 int insn_len; member
|
/linux/tools/perf/util/intel-pt-decoder/ |
A D | intel-pt-decoder.h | 234 int insn_len; member
|
A D | intel-pt-decoder.c | 1196 decoder->state.insn_len = intel_pt_insn->length; in intel_pt_walk_insn()
|
/linux/tools/testing/selftests/kvm/include/x86_64/ |
A D | svm.h | 96 u8 insn_len; member
|
/linux/arch/x86/include/asm/ |
A D | svm.h | 151 u8 insn_len; member
|
A D | kvm_host.h | 1487 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 D | builtin-script.c | 1439 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 D | svm.c | 1975 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 D | mmu.c | 4080 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()
|