Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-6.6/arch/x86/kvm/
Demulate.c246 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers()
255 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers()
466 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept()
511 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask()
516 static ulong stack_mask(struct x86_emulate_ctxt *ctxt) in stack_mask()
527 static int stack_size(struct x86_emulate_ctxt *ctxt) in stack_size()
534 address_mask(struct x86_emulate_ctxt *ctxt, unsigned long reg) in address_mask()
543 register_address(struct x86_emulate_ctxt *ctxt, int reg) in register_address()
554 register_address_increment(struct x86_emulate_ctxt *ctxt, int reg, int inc) in register_address_increment()
561 static void rsp_increment(struct x86_emulate_ctxt *ctxt, int inc) in rsp_increment()
[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-6.6/arch/arm64/kvm/hyp/include/hyp/
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()
/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()
68 static inline void __sysreg_restore_common_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_common_state()
73 static inline void __sysreg_restore_user_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_user_state()
79 static inline void __sysreg_restore_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_el1_state()
138 static inline void __sysreg_restore_el2_return_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_el2_return_state()
/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.c218 static int vc_fetch_insn_kernel(struct es_em_ctxt *ctxt, in vc_fetch_insn_kernel()
224 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn()
259 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem()
338 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem()
416 static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_slow_virt_to_phys()
451 static enum es_result vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) in vc_ioio_check()
619 static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_msr()
781 static void __init vc_early_forward_exception(struct es_em_ctxt *ctxt) in vc_early_forward_exception()
792 static long *vc_insn_get_reg(struct es_em_ctxt *ctxt) in vc_insn_get_reg()
808 static long *vc_insn_get_rm(struct es_em_ctxt *ctxt) in vc_insn_get_rm()
[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_check(struct es_em_ctxt *ctxt, in vc_insn_string_check()
237 static enum es_result vc_insn_string_read(struct es_em_ctxt *ctxt, in vc_insn_string_read()
263 static enum es_result vc_insn_string_write(struct es_em_ctxt *ctxt, in vc_insn_string_write()
308 static enum es_result vc_ioio_exitinfo(struct es_em_ctxt *ctxt, u64 *exitinfo) in vc_ioio_exitinfo()
403 static enum es_result vc_handle_ioio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_ioio()
512 struct es_em_ctxt *ctxt) in vc_handle_cpuid()
547 struct es_em_ctxt *ctxt, in vc_handle_rdtsc()
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c129 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxt_alloc() local
170 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_recv_ctxt_destroy()
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()
[all …]
Dsvc_rdma_rw.c56 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_get_rw_ctxt() local
87 static void __svc_rdma_put_rw_ctxt(struct svc_rdma_rw_ctxt *ctxt, in __svc_rdma_put_rw_ctxt()
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()
[all …]
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()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
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 …]
/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-6.6/arch/arm64/kvm/hyp/vhe/
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()
/kernel/linux/linux-6.6/arch/x86/kernel/
Dsev.c274 static int vc_fetch_insn_kernel(struct es_em_ctxt *ctxt, in vc_fetch_insn_kernel()
280 static enum es_result __vc_decode_user_insn(struct es_em_ctxt *ctxt) in __vc_decode_user_insn()
309 static enum es_result __vc_decode_kern_insn(struct es_em_ctxt *ctxt) in __vc_decode_kern_insn()
329 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn()
337 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem()
416 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem()
494 static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_slow_virt_to_phys()
529 static enum es_result vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) in vc_ioio_check()
1184 static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_msr()
1385 static void __init vc_early_forward_exception(struct es_em_ctxt *ctxt) in vc_early_forward_exception()
[all …]
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()
198 static enum es_result verify_exception_info(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in verify_exception_info()
227 struct es_em_ctxt *ctxt, in sev_es_ghcb_hv_call()
283 static int __sev_cpuid_hv_ghcb(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in __sev_cpuid_hv_ghcb()
316 static int sev_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in sev_cpuid_hv()
425 static void snp_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid_hv()
431 static int snp_cpuid_postprocess(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in snp_cpuid_postprocess()
527 snp_cpuid(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid()
631 static enum es_result vc_insn_string_check(struct es_em_ctxt *ctxt, in vc_insn_string_check()
[all …]
/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()
109 static enum es_result vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) in vc_ioio_check()
185 struct es_em_ctxt ctxt; in do_boot_stage2_vc() local
/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-6.6/arch/arm64/kvm/hyp/nvhe/
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()
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/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-6.6/arch/arm64/kvm/hyp/include/nvhe/
Dtrap_handler.h14 #define cpu_reg(ctxt, r) (ctxt)->regs.regs[r] argument
15 #define DECLARE_REG(type, name, ctxt, reg) \ argument
/kernel/linux/linux-6.6/arch/x86/boot/compressed/
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()
262 struct es_em_ctxt ctxt; in do_boot_stage2_vc() local

1234567