/arch/um/sys-i386/shared/sysdep/ |
D | sigcontext.h | 13 #define GET_FAULTINFO_FROM_SC(fi, sc) \ argument 15 (fi).cr2 = SC_CR2(sc); \ 16 (fi).error_code = SC_ERR(sc); \ 17 (fi).trap_no = SC_TRAPNO(sc); \ 21 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14) argument 24 #define SEGV_MAYBE_FIXABLE(fi) ((fi)->trap_no == 0 && ptrace_faultinfo) argument
|
D | faultinfo.h | 24 #define FAULT_WRITE(fi) ((fi).error_code & 2) argument 25 #define FAULT_ADDRESS(fi) ((fi).cr2) argument
|
/arch/um/sys-x86_64/shared/sysdep/ |
D | sigcontext.h | 14 #define GET_FAULTINFO_FROM_SC(fi, sc) \ argument 16 (fi).cr2 = SC_CR2(sc); \ 17 (fi).error_code = SC_ERR(sc); \ 18 (fi).trap_no = SC_TRAPNO(sc); \ 22 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14) argument 25 #define SEGV_MAYBE_FIXABLE(fi) 0 argument
|
D | faultinfo.h | 24 #define FAULT_WRITE(fi) ((fi).error_code & 2) argument 25 #define FAULT_ADDRESS(fi) ((fi).cr2) argument
|
/arch/um/kernel/ |
D | trap.c | 116 static void bad_segv(struct faultinfo fi, unsigned long ip) in bad_segv() argument 122 si.si_addr = (void __user *) FAULT_ADDRESS(fi); in bad_segv() 123 current->thread.arch.faultinfo = fi; in bad_segv() 141 struct faultinfo * fi = UPT_FAULTINFO(regs); in segv_handler() local 143 if (UPT_IS_USER(regs) && !SEGV_IS_FIXABLE(fi)) { in segv_handler() 144 bad_segv(*fi, UPT_IP(regs)); in segv_handler() 147 segv(*fi, UPT_IP(regs), UPT_IS_USER(regs), regs); in segv_handler() 156 unsigned long segv(struct faultinfo fi, unsigned long ip, int is_user, in segv() argument 162 int is_write = FAULT_WRITE(fi); in segv() 163 unsigned long address = FAULT_ADDRESS(fi); in segv() [all …]
|
/arch/s390/kvm/ |
D | sigp.c | 49 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in __sigp_sense() local 55 spin_lock_bh(&fi->lock); in __sigp_sense() 56 if (fi->local_int[cpu_addr] == NULL) in __sigp_sense() 58 else if (atomic_read(fi->local_int[cpu_addr]->cpuflags) in __sigp_sense() 67 spin_unlock_bh(&fi->lock); in __sigp_sense() 75 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in __sigp_emergency() local 89 spin_lock_bh(&fi->lock); in __sigp_emergency() 90 li = fi->local_int[cpu_addr]; in __sigp_emergency() 105 spin_unlock_bh(&fi->lock); in __sigp_emergency() 112 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in __sigp_stop() local [all …]
|
D | interrupt.c | 287 struct kvm_s390_float_interrupt *fi = vcpu->arch.local_int.float_int; in kvm_cpu_has_interrupt() local 301 if ((!rc) && atomic_read(&fi->active)) { in kvm_cpu_has_interrupt() 302 spin_lock_bh(&fi->lock); in kvm_cpu_has_interrupt() 303 list_for_each_entry(inti, &fi->list, list) in kvm_cpu_has_interrupt() 308 spin_unlock_bh(&fi->lock); in kvm_cpu_has_interrupt() 405 struct kvm_s390_float_interrupt *fi = vcpu->arch.local_int.float_int; in kvm_s390_deliver_pending_interrupts() local 436 if (atomic_read(&fi->active)) { in kvm_s390_deliver_pending_interrupts() 439 spin_lock_bh(&fi->lock); in kvm_s390_deliver_pending_interrupts() 440 list_for_each_entry_safe(inti, n, &fi->list, list) { in kvm_s390_deliver_pending_interrupts() 448 if (list_empty(&fi->list)) in kvm_s390_deliver_pending_interrupts() [all …]
|
D | priv.c | 203 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in handle_stsi_3_2_2() local 207 spin_lock_bh(&fi->lock); in handle_stsi_3_2_2() 209 if (fi->local_int[n]) in handle_stsi_3_2_2() 211 spin_unlock_bh(&fi->lock); in handle_stsi_3_2_2()
|
/arch/um/sys-x86_64/ |
D | signal.c | 100 struct faultinfo * fi = ¤t->thread.arch.faultinfo; in copy_sc_to_user() local 134 err |= __put_user(fi->cr2, &to->cr2); in copy_sc_to_user() 135 err |= __put_user(fi->error_code, &to->err); in copy_sc_to_user() 136 err |= __put_user(fi->trap_no, &to->trapno); in copy_sc_to_user()
|
/arch/um/os-Linux/skas/ |
D | process.c | 99 static void get_skas_faultinfo(int pid, struct faultinfo *fi) in get_skas_faultinfo() argument 104 err = ptrace(PTRACE_FAULTINFO, pid, 0, fi); in get_skas_faultinfo() 113 memset((char *)fi + sizeof(struct ptrace_faultinfo), 0, in get_skas_faultinfo() 138 memcpy(fi, (void *)current_stub_stack(), sizeof(*fi)); in get_skas_faultinfo()
|
/arch/um/include/shared/ |
D | kern_util.h | 28 extern unsigned long segv(struct faultinfo fi, unsigned long ip,
|
/arch/arm/plat-omap/ |
D | dma.c | 1664 int omap_get_dma_chain_index(int chain_id, int *ei, int *fi) in omap_get_dma_chain_index() argument 1680 if ((!ei) || (!fi)) in omap_get_dma_chain_index() 1689 *fi = dma_read(CCFN(lch)); in omap_get_dma_chain_index() 2026 long ei, fi; in set_b1_regs() local 2065 fi = PIXSTEP(lcd_dma.xres - 1, 0, 0, 1); in set_b1_regs() 2070 fi = PIXSTEP(0, 0, lcd_dma.xres - 1, 1); in set_b1_regs() 2080 fi = PIXSTEP(0, 0, 1, lcd_dma.yres - 1); in set_b1_regs() 2085 fi = PIXSTEP(1, 0, 0, lcd_dma.yres - 1); in set_b1_regs() 2095 fi = PIXSTEP(0, 1, lcd_dma.xres - 1, 0); in set_b1_regs() 2100 fi = PIXSTEP(lcd_dma.xres - 1, 1, 0, 0); in set_b1_regs() [all …]
|
/arch/um/sys-i386/ |
D | signal.c | 225 struct faultinfo * fi = ¤t->thread.arch.faultinfo; in copy_sc_to_user() local 245 sc.cr2 = fi->cr2; in copy_sc_to_user() 246 sc.err = fi->error_code; in copy_sc_to_user() 247 sc.trapno = fi->trap_no; in copy_sc_to_user()
|
/arch/um/ |
D | Makefile-i386 | 40 else echo $(call cc-option,-funit-at-a-time); fi ;)
|
/arch/um/os-Linux/ |
D | start_up.c | 417 struct ptrace_faultinfo fi; in check_skas3_ptrace_faultinfo() local 423 n = ptrace(PTRACE_FAULTINFO, pid, 0, &fi); in check_skas3_ptrace_faultinfo()
|
/arch/arm/plat-omap/include/mach/ |
D | dma.h | 529 extern int omap_get_dma_index(int lch, int *ei, int *fi); 545 extern int omap_get_dma_chain_index(int chain_id, int *ei, int *fi);
|
/arch/arm/mach-at91/ |
D | Kconfig | 70 <http://www.ajeco.fi/products.htm>
|
/arch/x86/math-emu/ |
D | README | 421 Timo Korvola, Timo.Korvola@hut.fi
|