Home
last modified time | relevance | path

Searched refs:fi (Results 1 – 23 of 23) sorted by relevance

/arch/x86/um/shared/sysdep/
Dmcontext.h13 #define GET_FAULTINFO_FROM_MC(fi, mc) \ argument
15 (fi).cr2 = (mc)->cr2; \
16 (fi).error_code = (mc)->gregs[REG_ERR]; \
17 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
22 #define GET_FAULTINFO_FROM_MC(fi, mc) \ argument
24 (fi).cr2 = (mc)->gregs[REG_CR2]; \
25 (fi).error_code = (mc)->gregs[REG_ERR]; \
26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
Dfaultinfo_64.h24 #define FAULT_WRITE(fi) ((fi).error_code & 2) argument
25 #define FAULT_ADDRESS(fi) ((fi).cr2) argument
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14) argument
Dfaultinfo_32.h24 #define FAULT_WRITE(fi) ((fi).error_code & 2) argument
25 #define FAULT_ADDRESS(fi) ((fi).cr2) argument
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14) argument
/arch/um/kernel/
Dtrap.c135 struct faultinfo *fi = UPT_FAULTINFO(regs); in show_segv_info() local
145 tsk->comm, task_pid_nr(tsk), FAULT_ADDRESS(*fi), in show_segv_info()
147 fi->error_code); in show_segv_info()
153 static void bad_segv(struct faultinfo fi, unsigned long ip) in bad_segv() argument
155 current->thread.arch.faultinfo = fi; in bad_segv()
156 force_sig_fault(SIGSEGV, SEGV_ACCERR, (void __user *) FAULT_ADDRESS(fi)); in bad_segv()
183 struct faultinfo * fi = UPT_FAULTINFO(regs); in segv_handler() local
185 if (UPT_IS_USER(regs) && !SEGV_IS_FIXABLE(fi)) { in segv_handler()
187 bad_segv(*fi, UPT_IP(regs)); in segv_handler()
190 segv(*fi, UPT_IP(regs), UPT_IS_USER(regs), regs); in segv_handler()
[all …]
/arch/s390/kvm/
Dinterrupt.c684 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in __deliver_machine_check() local
690 spin_lock(&fi->lock); in __deliver_machine_check()
712 if (test_and_clear_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs)) { in __deliver_machine_check()
713 mchk.mcic |= fi->mchk.mcic; in __deliver_machine_check()
714 mchk.cr14 |= fi->mchk.cr14; in __deliver_machine_check()
715 memset(&fi->mchk, 0, sizeof(mchk)); in __deliver_machine_check()
719 spin_unlock(&fi->lock); in __deliver_machine_check()
1005 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in __deliver_service() local
1008 spin_lock(&fi->lock); in __deliver_service()
1009 if (test_bit(IRQ_PEND_EXT_SERVICE, &fi->masked_irqs) || in __deliver_service()
[all …]
Dintercept.c495 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in handle_pv_sclp() local
497 spin_lock(&fi->lock); in handle_pv_sclp()
510 fi->srv_signal.ext_params |= 0x43000; in handle_pv_sclp()
511 set_bit(IRQ_PEND_EXT_SERVICE, &fi->pending_irqs); in handle_pv_sclp()
512 clear_bit(IRQ_PEND_EXT_SERVICE, &fi->masked_irqs); in handle_pv_sclp()
513 spin_unlock(&fi->lock); in handle_pv_sclp()
/arch/x86/kernel/
Dsev.c244 ctxt->fi.vector = X86_TRAP_PF; in __vc_decode_user_insn()
245 ctxt->fi.error_code = X86_PF_INSTR | X86_PF_USER; in __vc_decode_user_insn()
246 ctxt->fi.cr2 = ctxt->regs->ip; in __vc_decode_user_insn()
250 ctxt->fi.vector = X86_TRAP_GP; in __vc_decode_user_insn()
251 ctxt->fi.error_code = 0; in __vc_decode_user_insn()
252 ctxt->fi.cr2 = 0; in __vc_decode_user_insn()
272 ctxt->fi.vector = X86_TRAP_PF; in __vc_decode_kern_insn()
273 ctxt->fi.error_code = X86_PF_INSTR; in __vc_decode_kern_insn()
274 ctxt->fi.cr2 = ctxt->regs->ip; in __vc_decode_kern_insn()
365 ctxt->fi.vector = X86_TRAP_PF; in vc_write_mem()
[all …]
Dsev-shared.c126 ctxt->fi.vector = v; in sev_es_ghcb_hv_call()
128 ctxt->fi.error_code = info >> 32; in sev_es_ghcb_hv_call()
221 ctxt->fi.vector = X86_TRAP_PF; in vc_insn_string_check()
222 ctxt->fi.error_code = X86_PF_USER; in vc_insn_string_check()
223 ctxt->fi.cr2 = address; in vc_insn_string_check()
225 ctxt->fi.error_code |= X86_PF_WRITE; in vc_insn_string_check()
/arch/arm/mach-omap1/
Dlcd_dma.c136 long ei, fi; in set_b1_regs() local
175 fi = PIXSTEP(lcd_dma.xres - 1, 0, 0, 1); in set_b1_regs()
180 fi = PIXSTEP(0, 0, lcd_dma.xres - 1, 1); in set_b1_regs()
190 fi = PIXSTEP(0, 0, 1, lcd_dma.yres - 1); in set_b1_regs()
195 fi = PIXSTEP(1, 0, 0, lcd_dma.yres - 1); in set_b1_regs()
205 fi = PIXSTEP(0, 1, lcd_dma.xres - 1, 0); in set_b1_regs()
210 fi = PIXSTEP(lcd_dma.xres - 1, 1, 0, 0); in set_b1_regs()
220 fi = PIXSTEP(1, lcd_dma.yres - 1, 0, 0); in set_b1_regs()
225 fi = PIXSTEP(0, lcd_dma.yres - 1, 1, 0); in set_b1_regs()
277 omap_writew(fi >> 16, OMAP1610_DMA_LCD_SRC_FI_B1_U); in set_b1_regs()
[all …]
/arch/mips/boot/dts/cavium-octeon/
Ddlink_dsr-500n.dts5 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
Ddlink_dsr-1000n.dts5 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
Ddlink_dsr-500n-1000n.dtsi5 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
Dubnt_e100.dts5 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
/arch/x86/include/asm/
Dsev.h42 struct es_fault_info fi; member
/arch/um/include/shared/
Dkern_util.h30 extern unsigned long segv(struct faultinfo fi, unsigned long ip,
/arch/arm/boot/dts/
Domap3-n9.dts5 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
Domap3-n950.dts5 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
Domap3-n950-n9.dtsi5 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
Domap3-n900.dts4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
/arch/x86/um/
Dsignal.c241 struct faultinfo * fi = &current->thread.arch.faultinfo; in copy_sc_to_user() local
272 sc.cr2 = fi->cr2; in copy_sc_to_user()
273 sc.err = fi->error_code; in copy_sc_to_user()
274 sc.trapno = fi->trap_no; in copy_sc_to_user()
/arch/um/os-Linux/skas/
Dprocess.c143 static void get_skas_faultinfo(int pid, struct faultinfo *fi, unsigned long *aux_fp_regs) in get_skas_faultinfo() argument
165 memcpy(fi, (void *)current_stub_stack(), sizeof(*fi)); in get_skas_faultinfo()
/arch/x86/kernel/apic/
Dx2apic_uv_x.c1010 int i, fi, li, n, max_io; in calc_mmioh_map() local
1063 max_io = lnasid = fi = li = -1; in calc_mmioh_map()
1096 f = fi; in calc_mmioh_map()
1102 id, fi, li, lnasid, addr1, addr2); in calc_mmioh_map()
1106 fi = li = i; in calc_mmioh_map()
/arch/x86/math-emu/
DREADME421 Timo Korvola, Timo.Korvola@hut.fi