Home
last modified time | relevance | path

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

123

/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 …]
Dx86.c87 #define emul_to_vcpu(ctxt) \ argument
6114 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_fetch_guest_virt()
6158 static int emulator_read_std(struct x86_emulate_ctxt *ctxt, in emulator_read_std()
6171 static int kvm_read_guest_phys_system(struct x86_emulate_ctxt *ctxt, in kvm_read_guest_phys_system()
6211 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, in emulator_write_std()
6396 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in emulator_read_write_onepage() local
6437 static int emulator_read_write(struct x86_emulate_ctxt *ctxt, in emulator_read_write()
6491 static int emulator_read_emulated(struct x86_emulate_ctxt *ctxt, in emulator_read_emulated()
6501 static int emulator_write_emulated(struct x86_emulate_ctxt *ctxt, in emulator_write_emulated()
6521 static int emulator_cmpxchg_emulated(struct x86_emulate_ctxt *ctxt, in emulator_cmpxchg_emulated()
[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()
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()
Ddebug-sr.h92 struct kvm_cpu_context *ctxt) in __debug_save_state()
110 struct kvm_cpu_context *ctxt) in __debug_restore_state()
Dswitch.h366 #define __ptrauth_save_key(ctxt, key) \ argument
379 struct kvm_cpu_context *ctxt; in __hyp_handle_ptrauth() 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 …]
Dsvc_rdma_backchannel.c77 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_bc_sendto()
137 struct svc_rdma_send_ctxt *ctxt; in rpcrdma_bc_send_request() local
/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()
592 static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_msr()
754 static void __init vc_early_forward_exception(struct es_em_ctxt *ctxt) in vc_early_forward_exception()
765 static long *vc_insn_get_reg(struct es_em_ctxt *ctxt) in vc_insn_get_reg()
781 static long *vc_insn_get_rm(struct es_em_ctxt *ctxt) in vc_insn_get_rm()
796 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-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.c38 static void msr_save_context(struct saved_context *ctxt) in msr_save_context()
50 static void msr_restore_context(struct saved_context *ctxt) in msr_restore_context()
77 static void __save_processor_state(struct saved_context *ctxt) in __save_processor_state()
196 static void notrace __restore_processor_state(struct saved_context *ctxt) in __restore_processor_state()
/kernel/linux/linux-5.10/fs/nilfs2/
Dbtnode.c174 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_prepare_change_key()
237 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_commit_change_key()
277 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
/kernel/linux/linux-5.10/tools/perf/scripts/python/
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
/kernel/linux/linux-5.10/arch/arm64/kvm/
Darch_timer.c54 u32 timer_get_ctl(struct arch_timer_context *ctxt) in timer_get_ctl()
69 u64 timer_get_cval(struct arch_timer_context *ctxt) in timer_get_cval()
84 static u64 timer_get_offset(struct arch_timer_context *ctxt) in timer_get_offset()
96 static void timer_set_ctl(struct arch_timer_context *ctxt, u32 ctl) in timer_set_ctl()
112 static void timer_set_cval(struct arch_timer_context *ctxt, u64 cval) in timer_set_cval()
128 static void timer_set_offset(struct arch_timer_context *ctxt, u64 offset) in timer_set_offset()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dinit.c270 u16 ctxt; in allocate_rcd_index() local
305 u16 ctxt) in hfi1_rcd_get_by_index_safe()
325 struct hfi1_ctxtdata *hfi1_rcd_get_by_index(struct hfi1_devdata *dd, u16 ctxt) in hfi1_rcd_get_by_index()
360 u16 ctxt; in hfi1_create_ctxtdata() local
1524 int ctxt; in cleanup_device_data() local
Dnetdev_rx.c59 struct hfi1_ctxtdata **ctxt) in hfi1_netdev_allocate_ctxt()
122 struct hfi1_ctxtdata **ctxt) in hfi1_netdev_allot_ctxt()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_lib.c264 struct ice_vsi_ctx *ctxt; in ice_vsi_delete() local
698 static void ice_set_dflt_vsi_ctx(struct ice_vsi_ctx *ctxt) in ice_set_dflt_vsi_ctx()
737 static void ice_vsi_setup_q_map(struct ice_vsi *vsi, struct ice_vsi_ctx *ctxt) in ice_vsi_setup_q_map()
861 static void ice_set_fd_vsi_ctx(struct ice_vsi_ctx *ctxt, struct ice_vsi *vsi) in ice_set_fd_vsi_ctx()
906 static void ice_set_rss_vsi_ctx(struct ice_vsi_ctx *ctxt, struct ice_vsi *vsi) in ice_set_rss_vsi_ctx()
950 struct ice_vsi_ctx *ctxt; in ice_vsi_init() local
1849 struct ice_vsi_ctx *ctxt; in ice_vsi_manage_vlan_insertion() local
1892 struct ice_vsi_ctx *ctxt; in ice_vsi_manage_vlan_stripping() local
2040 struct ice_vsi_ctx *ctxt; in ice_cfg_vlan_pruning() local
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dsegv_errors.c27 ucontext_t *ctxt = (ucontext_t *)ctxt_v; in segv_handler() local
/kernel/linux/linux-5.10/fs/ocfs2/
Dxattr.c704 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xattr_extend_allocation()
769 struct ocfs2_xattr_set_ctxt *ctxt) in __ocfs2_remove_xattr_range()
814 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xattr_shrink_size()
860 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xattr_value_truncate()
1906 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xa_value_truncate()
2016 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xa_remove()
2064 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xa_reuse_entry()
2126 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xa_prepare_entry()
2201 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xa_store_value()
2224 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xa_set()
[all …]

123