Home
last modified time | relevance | path

Searched defs:ctxt (Results 1 – 25 of 89) sorted by relevance

1234

/openbmc/linux/arch/x86/kvm/
H A Demulate.c654 struct x86_emulate_ctxt *ctxt) in emul_is_noncanonical_address()
1856 static int em_pop(struct x86_emulate_ctxt *ctxt) in em_pop()
2228 static int em_ret(struct x86_emulate_ctxt *ctxt) in em_ret()
2317 static int em_rsm(struct x86_emulate_ctxt *ctxt) in em_rsm()
3049 static int em_das(struct x86_emulate_ctxt *ctxt) in em_das()
3087 static int em_aam(struct x86_emulate_ctxt *ctxt) in em_aam()
3109 static int em_aad(struct x86_emulate_ctxt *ctxt) in em_aad()
3216 static int em_cwd(struct x86_emulate_ctxt *ctxt) in em_cwd()
3259 static int em_mov(struct x86_emulate_ctxt *ctxt) in em_mov()
3424 static int em_str(struct x86_emulate_ctxt *ctxt) in em_str()
[all …]
H A Dx86.c102 #define emul_to_vcpu(ctxt) \ argument
7667 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in emulator_read_write_onepage() local
8117 struct x86_emulate_ctxt *ctxt, int seg) in emulator_get_cached_segment_base()
8254 static void emulator_halt(struct x86_emulate_ctxt *ctxt) in emulator_halt()
8407 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in inject_emulated_exception() local
8420 struct x86_emulate_ctxt *ctxt; in alloc_emulate_ctxt() local
8437 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in init_emulate_ctxt() local
8463 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in kvm_inject_realmode_interrupt() local
8536 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in prepare_emulation_ctxt_failure_exit() local
8882 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in x86_decode_emulated_instruction() local
[all …]
H A Dsmm.c467 static int rsm_load_state_32(struct x86_emulate_ctxt *ctxt, in rsm_load_state_32()
519 static int rsm_load_state_64(struct x86_emulate_ctxt *ctxt, in rsm_load_state_64()
572 int emulator_leave_smm(struct x86_emulate_ctxt *ctxt) in emulator_leave_smm()
/openbmc/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dsysreg-sr.h19 static inline void __sysreg_save_common_state(struct kvm_cpu_context *ctxt) in __sysreg_save_common_state()
24 static inline void __sysreg_save_user_state(struct kvm_cpu_context *ctxt) in __sysreg_save_user_state()
30 static inline bool ctxt_has_mte(struct kvm_cpu_context *ctxt) in ctxt_has_mte()
40 static inline void __sysreg_save_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el1_state()
75 static inline void __sysreg_save_el2_return_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el2_return_state()
89 static inline void __sysreg_restore_common_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_common_state()
94 static inline void __sysreg_restore_user_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_user_state()
100 static inline void __sysreg_restore_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_el1_state()
170 static inline u64 to_hw_pstate(const struct kvm_cpu_context *ctxt) in to_hw_pstate()
186 static inline void __sysreg_restore_el2_return_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_el2_return_state()
H A Ddebug-sr.h92 struct kvm_cpu_context *ctxt) in __debug_save_state()
110 struct kvm_cpu_context *ctxt) in __debug_restore_state()
/openbmc/qemu/qobject/
H A Djson-parser.c57 static void G_GNUC_PRINTF(3, 4) parse_error(JSONParserContext *ctxt, in parse_error()
242 static JSONToken *parser_context_pop_token(JSONParserContext *ctxt) in parser_context_pop_token()
249 static JSONToken *parser_context_peek_token(JSONParserContext *ctxt) in parser_context_peek_token()
257 static int parse_pair(JSONParserContext *ctxt, QDict *dict) in parse_pair()
309 static QObject *parse_object(JSONParserContext *ctxt) in parse_object()
363 static QObject *parse_array(JSONParserContext *ctxt) in parse_array()
427 static QObject *parse_keyword(JSONParserContext *ctxt) in parse_keyword()
445 static QObject *parse_interpolation(JSONParserContext *ctxt) in parse_interpolation()
481 static QObject *parse_literal(JSONParserContext *ctxt) in parse_literal()
533 static QObject *parse_value(JSONParserContext *ctxt) in parse_value()
[all …]
/openbmc/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_recvfrom.c129 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxt_alloc() local
185 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxts_destroy() local
202 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxt_get() local
228 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_recv_ctxt_put()
249 struct svc_rdma_recv_ctxt *ctxt = vctxt; in svc_rdma_release_ctxt() local
261 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_refresh_recvs() local
321 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_wc_receive() local
374 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_flush_recv_queues() local
383 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_build_arg_xdr()
584 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_get_inv_rkey()
[all …]
H A Dsvc_rdma_rw.c56 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_get_rw_ctxt() local
95 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_put_rw_ctxt()
107 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_destroy_rw_ctxts() local
128 struct svc_rdma_rw_ctxt *ctxt, in svc_rdma_rw_ctx_init()
190 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_cc_release() local
380 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_post_chunk_ctxt() local
422 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_vec_to_sg()
436 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_pagelist_to_sg()
472 struct svc_rdma_rw_ctxt *ctxt), in svc_rdma_build_writes()
478 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_build_writes() local
[all …]
H A Dsvc_rdma_sendto.c127 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_alloc() local
175 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxts_destroy() local
198 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_get() local
234 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_send_ctxt_put()
284 struct svc_rdma_send_ctxt *ctxt = in svc_rdma_wc_send() local
313 int svc_rdma_send(struct svcxprt_rdma *rdma, struct svc_rdma_send_ctxt *ctxt) in svc_rdma_send()
527 struct svc_rdma_send_ctxt *ctxt = args->md_ctxt; in svc_rdma_page_dma_map() local
812 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_save_io_pages()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dphy-ctxt.c69 static void iwl_mvm_phy_ctxt_cmd_hdr(struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_hdr()
79 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_set_rxchain()
117 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_data_v1()
138 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_data()
155 int iwl_mvm_phy_send_rlc(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_send_rlc()
196 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_apply()
253 int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_add()
274 void iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) in iwl_mvm_phy_ctxt_ref()
285 int iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_changed()
325 void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) in iwl_mvm_phy_ctxt_unref()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_vsi_vlan_lib.c94 struct ice_vsi_ctx *ctxt; in ice_vsi_manage_vlan_insertion() local
134 struct ice_vsi_ctx *ctxt; in ice_vsi_manage_vlan_stripping() local
239 struct ice_vsi_ctx *ctxt; in __ice_vsi_set_inner_port_vlan() local
292 struct ice_vsi_ctx *ctxt; in ice_vsi_clear_inner_port_vlan() local
324 struct ice_vsi_ctx *ctxt; in ice_cfg_vlan_pruning() local
468 struct ice_vsi_ctx *ctxt; in ice_vsi_ena_outer_stripping() local
525 struct ice_vsi_ctx *ctxt; in ice_vsi_dis_outer_stripping() local
576 struct ice_vsi_ctx *ctxt; in ice_vsi_ena_outer_insertion() local
634 struct ice_vsi_ctx *ctxt; in ice_vsi_dis_outer_insertion() local
692 struct ice_vsi_ctx *ctxt; in __ice_vsi_set_outer_port_vlan() local
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/vhe/
H A Dsysreg-sr.c28 void sysreg_save_host_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_host_state_vhe()
34 void sysreg_save_guest_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_guest_state_vhe()
41 void sysreg_restore_host_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_restore_host_state_vhe()
47 void sysreg_restore_guest_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_restore_guest_state_vhe()
/openbmc/linux/arch/x86/kernel/
H A Dsev.c1396 static long *vc_insn_get_rm(struct es_em_ctxt *ctxt) in vc_insn_get_rm()
1592 struct es_em_ctxt *ctxt) in vc_handle_dr7_write()
1633 struct es_em_ctxt *ctxt) in vc_handle_dr7_read()
1653 struct es_em_ctxt *ctxt) in vc_handle_wbinvd()
1678 struct es_em_ctxt *ctxt) in vc_handle_monitor()
1688 struct es_em_ctxt *ctxt) in vc_handle_mwait()
1695 struct es_em_ctxt *ctxt) in vc_handle_vmmcall()
1727 struct es_em_ctxt *ctxt) in vc_handle_trap_ac()
1850 struct es_em_ctxt ctxt; in vc_raw_handle_exception() local
1993 struct es_em_ctxt ctxt; in handle_vc_boot_ghcb() local
[all …]
H A Dsev-shared.c178 static enum es_result vc_init_em_ctxt(struct es_em_ctxt *ctxt, in vc_init_em_ctxt()
193 static void vc_finish_insn(struct es_em_ctxt *ctxt) in vc_finish_insn()
227 struct es_em_ctxt *ctxt, in sev_es_ghcb_hv_call()
431 static int snp_cpuid_postprocess(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in snp_cpuid_postprocess()
631 static enum es_result vc_insn_string_check(struct es_em_ctxt *ctxt, in vc_insn_string_check()
648 static enum es_result vc_insn_string_read(struct es_em_ctxt *ctxt, in vc_insn_string_read()
674 static enum es_result vc_insn_string_write(struct es_em_ctxt *ctxt, in vc_insn_string_write()
922 static int vc_handle_cpuid_snp(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_cpuid_snp()
942 struct es_em_ctxt *ctxt) in vc_handle_cpuid()
984 struct es_em_ctxt *ctxt, in vc_handle_rdtsc()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dffa.c94 static void ffa_set_retval(struct kvm_cpu_context *ctxt, in ffa_set_retval()
181 struct kvm_cpu_context *ctxt) in do_ffa_rxtx_map()
260 struct kvm_cpu_context *ctxt) in do_ffa_rxtx_unmap()
361 struct kvm_cpu_context *ctxt) in do_ffa_mem_frag_tx()
420 struct kvm_cpu_context *ctxt) in __do_ffa_mem_xfer()
503 #define do_ffa_mem_xfer(fid, res, ctxt) \ argument
511 struct kvm_cpu_context *ctxt) in do_ffa_mem_reclaim()
618 struct kvm_cpu_context *ctxt) in do_ffa_features()
H A Dsysreg-sr.c21 void __sysreg_save_state_nvhe(struct kvm_cpu_context *ctxt) in __sysreg_save_state_nvhe()
29 void __sysreg_restore_state_nvhe(struct kvm_cpu_context *ctxt) in __sysreg_restore_state_nvhe()
/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dtrap_handler.h14 #define cpu_reg(ctxt, r) (ctxt)->regs.regs[r] argument
15 #define DECLARE_REG(type, name, ctxt, reg) \ argument
/openbmc/linux/arch/x86/power/
H A Dcpu.c39 static void msr_save_context(struct saved_context *ctxt) in msr_save_context()
51 static void msr_restore_context(struct saved_context *ctxt) in msr_restore_context()
79 static void __save_processor_state(struct saved_context *ctxt) in __save_processor_state()
195 static void notrace __restore_processor_state(struct saved_context *ctxt) in __restore_processor_state()
/openbmc/linux/arch/x86/boot/compressed/
H A Dsev.c76 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn()
90 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem()
98 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem()
106 static enum es_result vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) in vc_ioio_check()
299 struct es_em_ctxt ctxt; in do_boot_stage2_vc() local
/openbmc/linux/fs/nilfs2/
H A Dbtnode.c189 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_prepare_change_key()
252 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_commit_change_key()
292 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_abort_change_key()
/openbmc/linux/arch/x86/xen/
H A Dpmu.c30 #define field_offset(ctxt, field) ((void *)((uintptr_t)ctxt + \ argument
202 struct xen_pmu_intel_ctxt *ctxt; in xen_intel_pmu_emulate() local
265 struct xen_pmu_amd_ctxt *ctxt; in xen_amd_pmu_emulate() local
352 struct xen_pmu_amd_ctxt *ctxt; in xen_amd_read_pmc() local
372 struct xen_pmu_intel_ctxt *ctxt; in xen_intel_read_pmc() local
/openbmc/linux/tools/perf/scripts/python/
H A Dfutex-contention.py29 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
40 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
/openbmc/linux/arch/arm64/kvm/
H A Darch_timer.c66 u32 timer_get_ctl(struct arch_timer_context *ctxt) in timer_get_ctl()
85 u64 timer_get_cval(struct arch_timer_context *ctxt) in timer_get_cval()
104 static u64 timer_get_offset(struct arch_timer_context *ctxt) in timer_get_offset()
119 static void timer_set_ctl(struct arch_timer_context *ctxt, u32 ctl) in timer_set_ctl()
141 static void timer_set_cval(struct arch_timer_context *ctxt, u64 cval) in timer_set_cval()
163 static void timer_set_offset(struct arch_timer_context *ctxt, u64 offset) in timer_set_offset()
989 struct arch_timer_context *ctxt = vcpu_get_timer(vcpu, timerid); in timer_context_init() local
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_emulate.h193 static inline bool vcpu_is_el2_ctxt(const struct kvm_cpu_context *ctxt) in vcpu_is_el2_ctxt()
209 static inline bool __vcpu_el2_e2h_is_set(const struct kvm_cpu_context *ctxt) in __vcpu_el2_e2h_is_set()
219 static inline bool __vcpu_el2_tge_is_set(const struct kvm_cpu_context *ctxt) in __vcpu_el2_tge_is_set()
229 static inline bool __is_hyp_ctxt(const struct kvm_cpu_context *ctxt) in __is_hyp_ctxt()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dinit.c229 u16 ctxt; in allocate_rcd_index() local
264 u16 ctxt) in hfi1_rcd_get_by_index_safe()
284 struct hfi1_ctxtdata *hfi1_rcd_get_by_index(struct hfi1_devdata *dd, u16 ctxt) in hfi1_rcd_get_by_index()
319 u16 ctxt; in hfi1_create_ctxtdata() local
1483 int ctxt; in cleanup_device_data() local

1234