Home
last modified time | relevance | path

Searched refs:ctxt (Results 1 – 25 of 112) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/x86/kvm/
Demulate.c195 int (*execute)(struct x86_emulate_ctxt *ctxt);
204 int (*check_perm)(struct x86_emulate_ctxt *ctxt);
243 static ulong reg_read(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_read() argument
245 if (!(ctxt->regs_valid & (1 << nr))) { in reg_read()
246 ctxt->regs_valid |= 1 << nr; in reg_read()
247 ctxt->_regs[nr] = ctxt->ops->read_gpr(ctxt, nr); in reg_read()
249 return ctxt->_regs[nr]; in reg_read()
252 static ulong *reg_write(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_write() argument
254 ctxt->regs_valid |= 1 << nr; in reg_write()
255 ctxt->regs_dirty |= 1 << nr; in reg_write()
[all …]
Dkvm_emulate.h96 ulong (*read_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg);
103 void (*write_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val);
112 int (*read_std)(struct x86_emulate_ctxt *ctxt,
124 int (*read_phys)(struct x86_emulate_ctxt *ctxt, unsigned long addr,
135 int (*write_std)(struct x86_emulate_ctxt *ctxt,
145 int (*fetch)(struct x86_emulate_ctxt *ctxt,
155 int (*read_emulated)(struct x86_emulate_ctxt *ctxt,
166 int (*write_emulated)(struct x86_emulate_ctxt *ctxt,
179 int (*cmpxchg_emulated)(struct x86_emulate_ctxt *ctxt,
185 void (*invlpg)(struct x86_emulate_ctxt *ctxt, ulong addr);
[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() argument
20 ctxt_sys_reg(ctxt, MDSCR_EL1) = read_sysreg(mdscr_el1); in __sysreg_save_common_state()
23 static inline void __sysreg_save_user_state(struct kvm_cpu_context *ctxt) in __sysreg_save_user_state() argument
25 ctxt_sys_reg(ctxt, TPIDR_EL0) = read_sysreg(tpidr_el0); in __sysreg_save_user_state()
26 ctxt_sys_reg(ctxt, TPIDRRO_EL0) = read_sysreg(tpidrro_el0); in __sysreg_save_user_state()
29 static inline void __sysreg_save_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el1_state() argument
31 ctxt_sys_reg(ctxt, CSSELR_EL1) = read_sysreg(csselr_el1); in __sysreg_save_el1_state()
32 ctxt_sys_reg(ctxt, SCTLR_EL1) = read_sysreg_el1(SYS_SCTLR); in __sysreg_save_el1_state()
33 ctxt_sys_reg(ctxt, CPACR_EL1) = read_sysreg_el1(SYS_CPACR); in __sysreg_save_el1_state()
34 ctxt_sys_reg(ctxt, TTBR0_EL1) = read_sysreg_el1(SYS_TTBR0); in __sysreg_save_el1_state()
[all …]
Dswitch.h268 &vcpu->arch.ctxt.fp_regs.fpsr, in __hyp_handle_fpsimd()
272 __fpsimd_restore_state(&vcpu->arch.ctxt.fp_regs); in __hyp_handle_fpsimd()
366 #define __ptrauth_save_key(ctxt, key) \ argument
370 ctxt_sys_reg(ctxt, key ## KEYLO_EL1) = __val; \
372 ctxt_sys_reg(ctxt, key ## KEYHI_EL1) = __val; \
379 struct kvm_cpu_context *ctxt; in __hyp_handle_ptrauth() local
386 ctxt = this_cpu_ptr(&kvm_hyp_ctxt); in __hyp_handle_ptrauth()
387 __ptrauth_save_key(ctxt, APIA); in __hyp_handle_ptrauth()
388 __ptrauth_save_key(ctxt, APIB); in __hyp_handle_ptrauth()
389 __ptrauth_save_key(ctxt, APDA); in __hyp_handle_ptrauth()
[all …]
/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
134 ctxt = kmalloc(sizeof(*ctxt), GFP_KERNEL); in svc_rdma_recv_ctxt_alloc()
135 if (!ctxt) in svc_rdma_recv_ctxt_alloc()
145 svc_rdma_recv_cid_init(rdma, &ctxt->rc_cid); in svc_rdma_recv_ctxt_alloc()
147 ctxt->rc_recv_wr.next = NULL; in svc_rdma_recv_ctxt_alloc()
148 ctxt->rc_recv_wr.wr_cqe = &ctxt->rc_cqe; in svc_rdma_recv_ctxt_alloc()
149 ctxt->rc_recv_wr.sg_list = &ctxt->rc_recv_sge; in svc_rdma_recv_ctxt_alloc()
150 ctxt->rc_recv_wr.num_sge = 1; in svc_rdma_recv_ctxt_alloc()
151 ctxt->rc_cqe.done = svc_rdma_wc_receive; in svc_rdma_recv_ctxt_alloc()
152 ctxt->rc_recv_sge.addr = addr; in svc_rdma_recv_ctxt_alloc()
[all …]
Dsvc_rdma_sendto.c135 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_alloc() local
141 size = sizeof(*ctxt); in svc_rdma_send_ctxt_alloc()
143 ctxt = kmalloc(size, GFP_KERNEL); in svc_rdma_send_ctxt_alloc()
144 if (!ctxt) in svc_rdma_send_ctxt_alloc()
154 svc_rdma_send_cid_init(rdma, &ctxt->sc_cid); in svc_rdma_send_ctxt_alloc()
156 ctxt->sc_send_wr.next = NULL; in svc_rdma_send_ctxt_alloc()
157 ctxt->sc_send_wr.wr_cqe = &ctxt->sc_cqe; in svc_rdma_send_ctxt_alloc()
158 ctxt->sc_send_wr.sg_list = ctxt->sc_sges; in svc_rdma_send_ctxt_alloc()
159 ctxt->sc_send_wr.send_flags = IB_SEND_SIGNALED; in svc_rdma_send_ctxt_alloc()
160 ctxt->sc_cqe.done = svc_rdma_wc_send; in svc_rdma_send_ctxt_alloc()
[all …]
Dsvc_rdma_rw.c55 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_get_rw_ctxt() local
59 ctxt = svc_rdma_next_ctxt(&rdma->sc_rw_ctxts); in svc_rdma_get_rw_ctxt()
60 if (ctxt) { in svc_rdma_get_rw_ctxt()
61 list_del(&ctxt->rw_list); in svc_rdma_get_rw_ctxt()
65 ctxt = kmalloc(struct_size(ctxt, rw_first_sgl, SG_CHUNK_SIZE), in svc_rdma_get_rw_ctxt()
67 if (!ctxt) in svc_rdma_get_rw_ctxt()
69 INIT_LIST_HEAD(&ctxt->rw_list); in svc_rdma_get_rw_ctxt()
72 ctxt->rw_sg_table.sgl = ctxt->rw_first_sgl; in svc_rdma_get_rw_ctxt()
73 if (sg_alloc_table_chained(&ctxt->rw_sg_table, sges, in svc_rdma_get_rw_ctxt()
74 ctxt->rw_sg_table.sgl, in svc_rdma_get_rw_ctxt()
[all …]
Dsvc_rdma_backchannel.c77 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_bc_sendto() argument
81 ret = svc_rdma_map_reply_msg(rdma, ctxt, NULL, &rqst->rq_snd_buf); in svc_rdma_bc_sendto()
89 ctxt->sc_send_wr.opcode = IB_WR_SEND; in svc_rdma_bc_sendto()
90 return svc_rdma_send(rdma, ctxt); in svc_rdma_bc_sendto()
137 struct svc_rdma_send_ctxt *ctxt; in rpcrdma_bc_send_request() local
141 ctxt = svc_rdma_send_ctxt_get(rdma); in rpcrdma_bc_send_request()
142 if (!ctxt) in rpcrdma_bc_send_request()
145 p = xdr_reserve_space(&ctxt->sc_stream, RPCRDMA_HDRLEN_MIN); in rpcrdma_bc_send_request()
157 rc = svc_rdma_bc_sendto(rdma, rqst, ctxt); in rpcrdma_bc_send_request()
163 svc_rdma_send_ctxt_put(rdma, ctxt); in rpcrdma_bc_send_request()
/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() argument
221 return copy_from_kernel_nofault(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE); in vc_fetch_insn_kernel()
224 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn() argument
230 if (user_mode(ctxt->regs)) { in vc_decode_insn()
231 res = insn_fetch_from_user_inatomic(ctxt->regs, buffer); in vc_decode_insn()
233 ctxt->fi.vector = X86_TRAP_PF; in vc_decode_insn()
234 ctxt->fi.error_code = X86_PF_INSTR | X86_PF_USER; in vc_decode_insn()
235 ctxt->fi.cr2 = ctxt->regs->ip; in vc_decode_insn()
239 if (!insn_decode_from_regs(&ctxt->insn, ctxt->regs, buffer, res)) in vc_decode_insn()
242 res = vc_fetch_insn_kernel(ctxt, buffer); in vc_decode_insn()
[all …]
Dsev-es-shared.c77 static enum es_result vc_init_em_ctxt(struct es_em_ctxt *ctxt, in vc_init_em_ctxt() argument
83 memset(ctxt, 0, sizeof(*ctxt)); in vc_init_em_ctxt()
84 ctxt->regs = regs; in vc_init_em_ctxt()
87 ret = vc_decode_insn(ctxt); in vc_init_em_ctxt()
92 static void vc_finish_insn(struct es_em_ctxt *ctxt) in vc_finish_insn() argument
94 ctxt->regs->ip += ctxt->insn.length; in vc_finish_insn()
98 struct es_em_ctxt *ctxt, in sev_es_ghcb_hv_call() argument
126 ctxt->fi.vector = v; in sev_es_ghcb_hv_call()
128 ctxt->fi.error_code = info >> 32; 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() argument
[all …]
/kernel/linux/linux-5.10/arch/x86/power/
Dcpu.c38 static void msr_save_context(struct saved_context *ctxt) in msr_save_context() argument
40 struct saved_msr *msr = ctxt->saved_msrs.array; in msr_save_context()
41 struct saved_msr *end = msr + ctxt->saved_msrs.num; in msr_save_context()
50 static void msr_restore_context(struct saved_context *ctxt) in msr_restore_context() argument
52 struct saved_msr *msr = ctxt->saved_msrs.array; in msr_restore_context()
53 struct saved_msr *end = msr + ctxt->saved_msrs.num; in msr_restore_context()
77 static void __save_processor_state(struct saved_context *ctxt) in __save_processor_state() argument
87 store_idt(&ctxt->idt); in __save_processor_state()
95 ctxt->gdt_desc.size = GDT_SIZE - 1; in __save_processor_state()
96 ctxt->gdt_desc.address = (unsigned long)get_cpu_gdt_rw(smp_processor_id()); in __save_processor_state()
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_asm.h266 .macro get_vcpu_ptr vcpu, ctxt
267 get_host_ctxt \ctxt, \vcpu
268 ldr \vcpu, [\ctxt, #HOST_CONTEXT_VCPU]
271 .macro get_loaded_vcpu vcpu, ctxt
272 adr_this_cpu \ctxt, kvm_hyp_ctxt, \vcpu
273 ldr \vcpu, [\ctxt, #HOST_CONTEXT_VCPU]
276 .macro set_loaded_vcpu vcpu, ctxt, tmp
277 adr_this_cpu \ctxt, kvm_hyp_ctxt, \tmp
278 str \vcpu, [\ctxt, #HOST_CONTEXT_VCPU]
304 .macro save_callee_saved_regs ctxt
[all …]
Dkvm_hyp.h73 void __sysreg_save_state_nvhe(struct kvm_cpu_context *ctxt);
74 void __sysreg_restore_state_nvhe(struct kvm_cpu_context *ctxt);
76 void sysreg_save_host_state_vhe(struct kvm_cpu_context *ctxt);
77 void sysreg_restore_host_state_vhe(struct kvm_cpu_context *ctxt);
78 void sysreg_save_guest_state_vhe(struct kvm_cpu_context *ctxt);
79 void sysreg_restore_guest_state_vhe(struct kvm_cpu_context *ctxt);
/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() argument
23 __sysreg_save_el1_state(ctxt); in __sysreg_save_state_nvhe()
24 __sysreg_save_common_state(ctxt); in __sysreg_save_state_nvhe()
25 __sysreg_save_user_state(ctxt); in __sysreg_save_state_nvhe()
26 __sysreg_save_el2_return_state(ctxt); in __sysreg_save_state_nvhe()
29 void __sysreg_restore_state_nvhe(struct kvm_cpu_context *ctxt) in __sysreg_restore_state_nvhe() argument
31 __sysreg_restore_el1_state(ctxt); in __sysreg_restore_state_nvhe()
32 __sysreg_restore_common_state(ctxt); in __sysreg_restore_state_nvhe()
33 __sysreg_restore_user_state(ctxt); in __sysreg_restore_state_nvhe()
34 __sysreg_restore_el2_return_state(ctxt); in __sysreg_restore_state_nvhe()
/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() argument
29 __sysreg_save_common_state(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() argument
35 __sysreg_save_common_state(ctxt); in sysreg_save_guest_state_vhe()
36 __sysreg_save_el2_return_state(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() argument
42 __sysreg_restore_common_state(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() argument
48 __sysreg_restore_common_state(ctxt); in sysreg_restore_guest_state_vhe()
49 __sysreg_restore_el2_return_state(ctxt); in sysreg_restore_guest_state_vhe()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtrace_ctxts.h66 __field(unsigned int, ctxt)
78 __entry->ctxt = uctxt->ctxt;
91 __entry->ctxt,
107 TP_PROTO(struct hfi1_devdata *dd, unsigned int ctxt,
110 TP_ARGS(dd, ctxt, subctxt, cinfo),
112 __field(unsigned int, ctxt)
121 __entry->ctxt = ctxt;
131 __entry->ctxt,
141 const char *hfi1_trace_print_rsm_hist(struct trace_seq *p, unsigned int ctxt);
143 TP_PROTO(unsigned int ctxt),
[all …]
Dtrace_rx.h70 __field(u32, ctxt)
79 __entry->ctxt = packet->rcd->ctxt;
89 __entry->ctxt,
103 __field(u32, ctxt)
108 __entry->ctxt = rcd->ctxt;
114 __entry->ctxt,
121 TP_PROTO(unsigned int ctxt, u16 subctxt, const char *type,
123 TP_ARGS(ctxt, subctxt, type, start, end),
125 __field(unsigned int, ctxt)
132 __entry->ctxt = ctxt;
[all …]
Dtrace_tx.h210 TP_PROTO(struct hfi1_devdata *dd, u16 ctxt, u16 subctxt),
211 TP_ARGS(dd, ctxt, subctxt),
213 __field(u16, ctxt)
217 __entry->ctxt = ctxt;
222 __entry->ctxt,
228 TP_PROTO(struct hfi1_devdata *dd, u16 ctxt, u16 subctxt,
230 TP_ARGS(dd, ctxt, subctxt, comp_idx),
232 __field(u16, ctxt)
237 __entry->ctxt = ctxt;
243 __entry->ctxt,
[all …]
/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() argument
130 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(ctxt->id, in iwl_mvm_phy_ctxt_cmd_hdr()
131 ctxt->color)); in iwl_mvm_phy_ctxt_cmd_hdr()
214 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_apply() argument
227 iwl_mvm_phy_ctxt_cmd_hdr(ctxt, &cmd, action); in iwl_mvm_phy_ctxt_apply()
241 iwl_mvm_phy_ctxt_cmd_hdr(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() argument
270 ctxt->ref); in iwl_mvm_phy_ctxt_add()
273 ctxt->channel = chandef->chan; in iwl_mvm_phy_ctxt_add()
275 return iwl_mvm_phy_ctxt_apply(mvm, ctxt, chandef, in iwl_mvm_phy_ctxt_add()
[all …]
/kernel/linux/linux-5.10/arch/x86/xen/
Dsmp_pv.c262 struct vcpu_guest_context *ctxt; in cpu_initialize_context() local
271 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in cpu_initialize_context()
272 if (ctxt == NULL) in cpu_initialize_context()
277 memset(&ctxt->fpu_ctxt, 0, sizeof(ctxt->fpu_ctxt)); in cpu_initialize_context()
284 ctxt->user_regs.eip = (unsigned long)asm_cpu_bringup_and_idle; in cpu_initialize_context()
285 ctxt->flags = VGCF_IN_KERNEL; in cpu_initialize_context()
286 ctxt->user_regs.eflags = 0x1000; /* IOPL_RING1 */ in cpu_initialize_context()
287 ctxt->user_regs.ds = __USER_DS; in cpu_initialize_context()
288 ctxt->user_regs.es = __USER_DS; in cpu_initialize_context()
289 ctxt->user_regs.ss = __KERNEL_DS; in cpu_initialize_context()
[all …]
Dpmu.c30 #define field_offset(ctxt, field) ((void *)((uintptr_t)ctxt + \ argument
31 (uintptr_t)ctxt->field))
193 struct xen_pmu_intel_ctxt *ctxt; in xen_intel_pmu_emulate() local
203 ctxt = &xenpmu_data->pmu.c.intel; in xen_intel_pmu_emulate()
207 reg = &ctxt->global_ovf_ctrl; in xen_intel_pmu_emulate()
210 reg = &ctxt->global_status; in xen_intel_pmu_emulate()
213 reg = &ctxt->global_ctrl; in xen_intel_pmu_emulate()
216 reg = &ctxt->fixed_ctrl; in xen_intel_pmu_emulate()
221 fix_counters = field_offset(ctxt, fixed_counters); in xen_intel_pmu_emulate()
225 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_pmu_emulate()
[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() argument
83 memcpy(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE); in vc_decode_insn()
85 insn_init(&ctxt->insn, buffer, MAX_INSN_SIZE, 1); in vc_decode_insn()
86 insn_get_length(&ctxt->insn); in vc_decode_insn()
88 ret = ctxt->insn.immediate.got ? ES_OK : ES_DECODE_FAILED; in vc_decode_insn()
93 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem() argument
101 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem() argument
175 struct es_em_ctxt ctxt; in do_boot_stage2_vc() local
182 result = vc_init_em_ctxt(&ctxt, regs, exit_code); in do_boot_stage2_vc()
189 result = vc_handle_rdtsc(boot_ghcb, &ctxt, exit_code); in do_boot_stage2_vc()
[all …]
/kernel/linux/linux-5.10/fs/nilfs2/
Dbtnode.c174 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_prepare_change_key() argument
178 __u64 oldkey = ctxt->oldkey, newkey = ctxt->newkey; in nilfs_btnode_prepare_change_key()
184 obh = ctxt->bh; in nilfs_btnode_prepare_change_key()
185 ctxt->newbh = NULL; in nilfs_btnode_prepare_change_key()
224 ctxt->newbh = nbh; in nilfs_btnode_prepare_change_key()
237 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_commit_change_key() argument
239 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key()
240 __u64 oldkey = ctxt->oldkey, newkey = ctxt->newkey; in nilfs_btnode_commit_change_key()
267 ctxt->bh = nbh; in nilfs_btnode_commit_change_key()
277 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_abort_change_key() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_lib.c264 struct ice_vsi_ctx *ctxt; in ice_vsi_delete() local
267 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in ice_vsi_delete()
268 if (!ctxt) in ice_vsi_delete()
272 ctxt->vf_num = vsi->vf_id; in ice_vsi_delete()
273 ctxt->vsi_num = vsi->vsi_num; in ice_vsi_delete()
275 memcpy(&ctxt->info, &vsi->info, sizeof(ctxt->info)); in ice_vsi_delete()
277 status = ice_free_vsi(&pf->hw, vsi->idx, ctxt, false, NULL); in ice_vsi_delete()
282 kfree(ctxt); in ice_vsi_delete()
698 static void ice_set_dflt_vsi_ctx(struct ice_vsi_ctx *ctxt) in ice_set_dflt_vsi_ctx() argument
702 memset(&ctxt->info, 0, sizeof(ctxt->info)); in ice_set_dflt_vsi_ctx()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dregmap.c103 unsigned long *reg_array = (unsigned long *)&vcpu->arch.ctxt.regs; in vcpu_reg32()
155 return vcpu->arch.ctxt.spsr_abt; in vcpu_read_spsr32()
157 return vcpu->arch.ctxt.spsr_und; in vcpu_read_spsr32()
159 return vcpu->arch.ctxt.spsr_irq; in vcpu_read_spsr32()
161 return vcpu->arch.ctxt.spsr_fiq; in vcpu_read_spsr32()
191 vcpu->arch.ctxt.spsr_abt = v; in vcpu_write_spsr32()
194 vcpu->arch.ctxt.spsr_und = v; in vcpu_write_spsr32()
197 vcpu->arch.ctxt.spsr_irq = v; in vcpu_write_spsr32()
200 vcpu->arch.ctxt.spsr_fiq = v; in vcpu_write_spsr32()

12345