Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-4.19/arch/arm64/kvm/hyp/
Dsysreg-sr.c37 static void __hyp_text __sysreg_save_common_state(struct kvm_cpu_context *ctxt) in __sysreg_save_common_state()
48 static void __hyp_text __sysreg_save_user_state(struct kvm_cpu_context *ctxt) in __sysreg_save_user_state()
54 static void __hyp_text __sysreg_save_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el1_state()
81 static void __hyp_text __sysreg_save_el2_return_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el2_return_state()
90 void __hyp_text __sysreg_save_state_nvhe(struct kvm_cpu_context *ctxt) in __sysreg_save_state_nvhe()
98 void sysreg_save_host_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_host_state_vhe()
104 void sysreg_save_guest_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_guest_state_vhe()
111 static void __hyp_text __sysreg_restore_common_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_common_state()
122 static void __hyp_text __sysreg_restore_user_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_user_state()
128 static void __hyp_text __sysreg_restore_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_el1_state()
[all …]
Dentry.S35 .macro save_callee_saved_regs ctxt argument
44 .macro restore_callee_saved_regs ctxt argument
/kernel/linux/linux-4.19/arch/x86/kvm/
Demulate.c266 static ulong reg_read(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_read()
275 static ulong *reg_write(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_write()
282 static ulong *reg_rmw(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_rmw()
288 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers()
296 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers()
477 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept()
522 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask()
527 static ulong stack_mask(struct x86_emulate_ctxt *ctxt) in stack_mask()
538 static int stack_size(struct x86_emulate_ctxt *ctxt) in stack_size()
545 address_mask(struct x86_emulate_ctxt *ctxt, unsigned long reg) in address_mask()
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/
Demulate.c243 static ulong reg_read(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_read()
252 static ulong *reg_write(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_write()
259 static ulong *reg_rmw(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_rmw()
265 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers()
273 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers()
503 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept()
548 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask()
553 static ulong stack_mask(struct x86_emulate_ctxt *ctxt) in stack_mask()
564 static int stack_size(struct x86_emulate_ctxt *ctxt) in stack_size()
571 address_mask(struct x86_emulate_ctxt *ctxt, unsigned long reg) in address_mask()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h18 static inline void __sysreg_save_common_state(struct kvm_cpu_context *ctxt) in __sysreg_save_common_state()
23 static inline void __sysreg_save_user_state(struct kvm_cpu_context *ctxt) in __sysreg_save_user_state()
29 static inline void __sysreg_save_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el1_state()
54 static inline void __sysreg_save_el2_return_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el2_return_state()
63 static inline void __sysreg_restore_common_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_common_state()
68 static inline void __sysreg_restore_user_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_user_state()
74 static inline void __sysreg_restore_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_el1_state()
133 static inline void __sysreg_restore_el2_return_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_el2_return_state()
/kernel/linux/linux-4.19/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c123 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxt_alloc() local
159 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_recv_ctxt_destroy()
174 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxts_destroy() local
185 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxt_get() local
214 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_recv_ctxt_put()
239 struct svc_rdma_recv_ctxt *ctxt = rqstp->rq_xprt_ctxt; in svc_rdma_release_rqst() local
250 struct svc_rdma_recv_ctxt *ctxt) in __svc_rdma_post_recv()
269 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_post_recv() local
287 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_post_recvs() local
318 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_wc_receive() local
[all …]
Dsvc_rdma_sendto.c129 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
197 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_get() local
228 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_send_ctxt_put()
262 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_wc_send() local
516 struct svc_rdma_send_ctxt *ctxt, in svc_rdma_dma_map_page()
542 struct svc_rdma_send_ctxt *ctxt, in svc_rdma_dma_map_buf()
558 struct svc_rdma_send_ctxt *ctxt, in svc_rdma_sync_reply_hdr()
609 struct svc_rdma_send_ctxt *ctxt, in svc_rdma_pull_up_reply_msg()
674 struct svc_rdma_send_ctxt *ctxt, in svc_rdma_map_reply_msg()
[all …]
Dsvc_rdma_rw.c57 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_get_rw_ctxt() local
86 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_put_rw_ctxt()
102 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_destroy_rw_ctxts() local
139 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_cc_release() local
322 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_post_chunk_ctxt() local
362 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_vec_to_sg()
376 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_pagelist_to_sg()
412 struct svc_rdma_rw_ctxt *ctxt), in svc_rdma_build_writes()
417 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_build_writes() local
612 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_build_read_segment() local
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c130 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxt_alloc() local
168 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_recv_ctxt_destroy()
183 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxts_destroy() local
195 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxt_get() local
222 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_recv_ctxt_put()
245 struct svc_rdma_recv_ctxt *ctxt = rqstp->rq_xprt_ctxt; in svc_rdma_release_rqst() local
256 struct svc_rdma_recv_ctxt *ctxt) in __svc_rdma_post_recv()
274 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_post_recv() local
292 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_post_recvs() local
320 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_wc_receive() local
[all …]
Dsvc_rdma_sendto.c135 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_alloc() local
185 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxts_destroy() local
207 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_get() local
242 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_send_ctxt_put()
280 struct svc_rdma_send_ctxt *ctxt = in svc_rdma_wc_send() local
304 int svc_rdma_send(struct svcxprt_rdma *rdma, struct svc_rdma_send_ctxt *ctxt) in svc_rdma_send()
510 struct svc_rdma_send_ctxt *ctxt, in svc_rdma_dma_map_page()
536 struct svc_rdma_send_ctxt *ctxt, in svc_rdma_dma_map_buf()
755 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_save_io_pages()
Dsvc_rdma_rw.c55 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_get_rw_ctxt() local
87 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_put_rw_ctxt()
103 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_destroy_rw_ctxts() local
123 struct svc_rdma_rw_ctxt *ctxt, in svc_rdma_rw_ctx_init()
176 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_cc_release() local
350 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_post_chunk_ctxt() local
391 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_vec_to_sg()
405 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_pagelist_to_sg()
441 struct svc_rdma_rw_ctxt *ctxt), in svc_rdma_build_writes()
446 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_build_writes() local
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsev-es.c249 static int vc_fetch_insn_kernel(struct es_em_ctxt *ctxt, in vc_fetch_insn_kernel()
255 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn()
290 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem()
358 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem()
426 static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_slow_virt_to_phys()
602 static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_msr()
765 static void __init vc_early_forward_exception(struct es_em_ctxt *ctxt) in vc_early_forward_exception()
776 static long *vc_insn_get_reg(struct es_em_ctxt *ctxt) in vc_insn_get_reg()
792 static long *vc_insn_get_rm(struct es_em_ctxt *ctxt) in vc_insn_get_rm()
807 static enum es_result vc_do_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_do_mmio()
[all …]
Dsev-es-shared.c77 static enum es_result vc_init_em_ctxt(struct es_em_ctxt *ctxt, in vc_init_em_ctxt()
92 static void vc_finish_insn(struct es_em_ctxt *ctxt) in vc_finish_insn()
98 struct es_em_ctxt *ctxt, in sev_es_ghcb_hv_call()
220 static enum es_result vc_insn_string_read(struct es_em_ctxt *ctxt, in vc_insn_string_read()
241 static enum es_result vc_insn_string_write(struct es_em_ctxt *ctxt, in vc_insn_string_write()
281 static enum es_result vc_ioio_exitinfo(struct es_em_ctxt *ctxt, u64 *exitinfo) in vc_ioio_exitinfo()
368 static enum es_result vc_handle_ioio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_ioio()
477 struct es_em_ctxt *ctxt) in vc_handle_cpuid()
512 struct es_em_ctxt *ctxt, in vc_handle_rdtsc()
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/vhe/
Dsysreg-sr.c27 void sysreg_save_host_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_host_state_vhe()
33 void sysreg_save_guest_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_guest_state_vhe()
40 void sysreg_restore_host_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_restore_host_state_vhe()
46 void sysreg_restore_guest_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_restore_guest_state_vhe()
/kernel/linux/linux-4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dphy-ctxt.c125 static void iwl_mvm_phy_ctxt_cmd_hdr(struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_hdr()
191 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_apply()
217 int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_add()
236 void iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) in iwl_mvm_phy_ctxt_ref()
247 int iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_changed()
278 void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) in iwl_mvm_phy_ctxt_unref()
/kernel/linux/linux-4.19/arch/arm/kvm/hyp/
Dcp15-sr.c23 static u64 *cp15_64(struct kvm_cpu_context *ctxt, int idx) in cp15_64()
28 void __hyp_text __sysreg_save_state(struct kvm_cpu_context *ctxt) in __sysreg_save_state()
57 void __hyp_text __sysreg_restore_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_state()
Dbanked-sr.c29 void __hyp_text __banked_save_state(struct kvm_cpu_context *ctxt) in __banked_save_state()
56 void __hyp_text __banked_restore_state(struct kvm_cpu_context *ctxt) in __banked_restore_state()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dphy-ctxt.c126 static void iwl_mvm_phy_ctxt_cmd_hdr(struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_hdr()
214 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_apply()
265 int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_add()
284 void iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) in iwl_mvm_phy_ctxt_ref()
295 int iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_changed()
326 void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) in iwl_mvm_phy_ctxt_unref()
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Dsev-es.c78 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn()
93 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem()
101 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem()
175 struct es_em_ctxt ctxt; in do_boot_stage2_vc() local
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/nvhe/
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()
/kernel/linux/linux-5.10/arch/x86/power/
Dcpu.c37 static void msr_save_context(struct saved_context *ctxt) in msr_save_context()
48 static void msr_restore_context(struct saved_context *ctxt) in msr_restore_context()
75 static void __save_processor_state(struct saved_context *ctxt) in __save_processor_state()
194 static void notrace __restore_processor_state(struct saved_context *ctxt) in __restore_processor_state()
/kernel/linux/linux-4.19/arch/x86/power/
Dcpu.c38 static void msr_save_context(struct saved_context *ctxt) in msr_save_context()
49 static void msr_restore_context(struct saved_context *ctxt) in msr_restore_context()
76 static void __save_processor_state(struct saved_context *ctxt) in __save_processor_state()
198 static void notrace __restore_processor_state(struct saved_context *ctxt) in __restore_processor_state()
/kernel/linux/linux-4.19/fs/nilfs2/
Dbtnode.c157 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_prepare_change_key()
227 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_commit_change_key()
268 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_abort_change_key()
/kernel/linux/linux-5.10/fs/nilfs2/
Dbtnode.c157 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_prepare_change_key()
220 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_commit_change_key()
260 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_abort_change_key()
/kernel/linux/linux-5.10/arch/x86/xen/
Dpmu.c30 #define field_offset(ctxt, field) ((void *)((uintptr_t)ctxt + \ argument
193 struct xen_pmu_intel_ctxt *ctxt; in xen_intel_pmu_emulate() local
256 struct xen_pmu_amd_ctxt *ctxt; in xen_amd_pmu_emulate() local
339 struct xen_pmu_amd_ctxt *ctxt; in xen_amd_read_pmc() local
359 struct xen_pmu_intel_ctxt *ctxt; in xen_intel_read_pmc() local

123456