taglinefilesource code
regs426arch/alpha/kernel/alcor.cstruct pt_regs * regs)
regs441arch/alpha/kernel/alcor.cregs->pc, mchk_header->size, mchk_header->proc_offset, mchk_header->sys_offset));
regs450arch/alpha/kernel/apecs.cstruct pt_regs * regs)
regs462arch/alpha/kernel/apecs.cregs->pc, mchk_header->size, mchk_header->proc_offset, mchk_header->sys_offset));
regs29arch/alpha/kernel/irq.cextern void timer_interrupt(struct pt_regs * regs);
regs253arch/alpha/kernel/irq.cstatic inline void handle_nmi(struct pt_regs * regs)
regs259arch/alpha/kernel/irq.cstatic void unexpected_irq(int irq, struct pt_regs * regs)
regs265arch/alpha/kernel/irq.cprintk("PC = %016lx PS=%04lx\n", regs->pc, regs->ps);
regs284arch/alpha/kernel/irq.cstatic inline void handle_irq(int irq, void *dev_id, struct pt_regs * regs)
regs290arch/alpha/kernel/irq.cunexpected_irq(irq, regs);
regs294arch/alpha/kernel/irq.caction->handler(irq, action->dev_id, regs);
regs299arch/alpha/kernel/irq.cstatic inline void device_interrupt(int irq, int ack, struct pt_regs * regs)
regs314arch/alpha/kernel/irq.caction->handler(irq, action->dev_id, regs);
regs337arch/alpha/kernel/irq.caction->handler(irq, action->dev_id, regs);
regs347arch/alpha/kernel/irq.cstruct pt_regs * regs)
regs382arch/alpha/kernel/irq.cdevice_interrupt(j, j, regs);
regs406arch/alpha/kernel/irq.cdevice_interrupt(j, j, regs);
regs412arch/alpha/kernel/irq.cstruct pt_regs * regs)
regs436arch/alpha/kernel/irq.cisa_device_interrupt(vector, regs);
regs438arch/alpha/kernel/irq.cdevice_interrupt(16 + i, 16 + i, regs);
regs445arch/alpha/kernel/irq.cstruct pt_regs * regs)
regs465arch/alpha/kernel/irq.cisa_device_interrupt(vector, regs);
regs467arch/alpha/kernel/irq.cdevice_interrupt(16 + i, 16 + i, regs);
regs496arch/alpha/kernel/irq.cstatic inline void srm_device_interrupt(unsigned long vector, struct pt_regs * regs)
regs509arch/alpha/kernel/irq.ccase 0x660: handle_nmi(regs); return;
regs511arch/alpha/kernel/irq.ccase 0x900: handle_irq(4, regs); return;  /* com1 -> irq 4 */
regs512arch/alpha/kernel/irq.ccase 0x920: handle_irq(3, regs); return;  /* com2 -> irq 3 */
regs513arch/alpha/kernel/irq.ccase 0x980: handle_irq(1, regs); return;  /* kbd -> irq 1 */
regs514arch/alpha/kernel/irq.ccase 0x990: handle_irq(9, regs); return;  /* mouse -> irq 9 */
regs525arch/alpha/kernel/irq.cdevice_interrupt(irq, ack, regs);
regs597arch/alpha/kernel/irq.cstatic void machine_check(unsigned long vector, unsigned long la, struct pt_regs * regs)
regs601arch/alpha/kernel/irq.cstruct pt_regs *regs);
regs602arch/alpha/kernel/irq.clca_machine_check(vector, la, regs);
regs605arch/alpha/kernel/irq.cstruct pt_regs * regs);
regs606arch/alpha/kernel/irq.capecs_machine_check(vector, la, regs);
regs609arch/alpha/kernel/irq.cstruct pt_regs * regs);
regs610arch/alpha/kernel/irq.calcor_machine_check(vector, la, regs);
regs618arch/alpha/kernel/irq.cstruct pt_regs regs)
regs625arch/alpha/kernel/irq.ctimer_interrupt(&regs);
regs628arch/alpha/kernel/irq.cmachine_check(vector, la_ptr, &regs);
regs633arch/alpha/kernel/irq.csrm_device_interrupt(vector, &regs);
regs635arch/alpha/kernel/irq.ccabriolet_and_eb66p_device_interrupt(vector, &regs);
regs637arch/alpha/kernel/irq.ceb66_and_eb64p_device_interrupt(vector, &regs);
regs639arch/alpha/kernel/irq.cisa_device_interrupt(vector, &regs);
regs648arch/alpha/kernel/irq.cprintk("PC = %016lx PS=%04lx\n", regs.pc, regs.ps);
regs387arch/alpha/kernel/lca.cvoid lca_machine_check (unsigned long vector, unsigned long la, struct pt_regs *regs)
regs393arch/alpha/kernel/lca.cprintk("lca: machine check (la=0x%lx,pc=0x%lx)\n", la, regs->pc);
regs148arch/alpha/kernel/osf_sys.cstruct pt_regs regs)
regs150arch/alpha/kernel/osf_sys.c(&regs)->r20 = current->euid;
regs155arch/alpha/kernel/osf_sys.cstruct pt_regs regs)
regs157arch/alpha/kernel/osf_sys.c(&regs)->r20 = current->egid;
regs162arch/alpha/kernel/osf_sys.cstruct pt_regs regs)
regs164arch/alpha/kernel/osf_sys.c(&regs)->r20 = current->p_opptr->pid;
regs462arch/alpha/kernel/osf_sys.cstruct pt_regs regs)
regs470arch/alpha/kernel/osf_sys.c(&regs)->r20 = fd[1];
regs645arch/alpha/kernel/osf_sys.cstruct pt_regs regs)
regs661arch/alpha/kernel/osf_sys.cregs.r0 = 0;
regs35arch/alpha/kernel/process.cstruct pt_regs regs)
regs37arch/alpha/kernel/process.c(&regs)->hae = hae;
regs58arch/alpha/kernel/process.cvoid show_regs(struct pt_regs * regs)
regs60arch/alpha/kernel/process.cprintk("\nps: %04lx pc: [<%016lx>]\n", regs->ps, regs->pc);
regs61arch/alpha/kernel/process.cprintk("rp: [<%016lx>] sp: %p\n", regs->r26, regs+1);
regs63arch/alpha/kernel/process.cregs->r0, regs->r1, regs->r2, regs->r3);
regs65arch/alpha/kernel/process.cregs->r4, regs->r5, regs->r6, regs->r7);
regs67arch/alpha/kernel/process.cregs->r8, regs->r16, regs->r17, regs->r18);
regs69arch/alpha/kernel/process.cregs->r19, regs->r20, regs->r21, regs->r22);
regs71arch/alpha/kernel/process.cregs->r23, regs->r24, regs->r25, regs->r26);
regs73arch/alpha/kernel/process.cregs->r27, regs->r28, regs->gp, regs->hae);
regs120arch/alpha/kernel/process.cstruct task_struct * p, struct pt_regs * regs)
regs127arch/alpha/kernel/process.cif (!(regs->ps & 8))
regs128arch/alpha/kernel/process.cstack_offset = (PAGE_SIZE-1) & (unsigned long) regs;
regs131arch/alpha/kernel/process.c*childregs = *regs;
regs135arch/alpha/kernel/process.cregs->r20 = 0;
regs136arch/alpha/kernel/process.cstack = ((struct switch_stack *) regs) - 1;
regs168arch/alpha/kernel/process.cdump->regs[EF_V0]  = pt->r0;
regs169arch/alpha/kernel/process.cdump->regs[EF_T0]  = pt->r1;
regs170arch/alpha/kernel/process.cdump->regs[EF_T1]  = pt->r2;
regs171arch/alpha/kernel/process.cdump->regs[EF_T2]  = pt->r3;
regs172arch/alpha/kernel/process.cdump->regs[EF_T3]  = pt->r4;
regs173arch/alpha/kernel/process.cdump->regs[EF_T4]  = pt->r5;
regs174arch/alpha/kernel/process.cdump->regs[EF_T5]  = pt->r6;
regs175arch/alpha/kernel/process.cdump->regs[EF_T6]  = pt->r7;
regs176arch/alpha/kernel/process.cdump->regs[EF_T7]  = pt->r8;
regs177arch/alpha/kernel/process.cdump->regs[EF_S0]  = sw->r9;
regs178arch/alpha/kernel/process.cdump->regs[EF_S1]  = sw->r10;
regs179arch/alpha/kernel/process.cdump->regs[EF_S2]  = sw->r11;
regs180arch/alpha/kernel/process.cdump->regs[EF_S3]  = sw->r12;
regs181arch/alpha/kernel/process.cdump->regs[EF_S4]  = sw->r13;
regs182arch/alpha/kernel/process.cdump->regs[EF_S5]  = sw->r14;
regs183arch/alpha/kernel/process.cdump->regs[EF_S6]  = sw->r15;
regs184arch/alpha/kernel/process.cdump->regs[EF_A3]  = pt->r19;
regs185arch/alpha/kernel/process.cdump->regs[EF_A4]  = pt->r20;
regs186arch/alpha/kernel/process.cdump->regs[EF_A5]  = pt->r21;
regs187arch/alpha/kernel/process.cdump->regs[EF_T8]  = pt->r22;
regs188arch/alpha/kernel/process.cdump->regs[EF_T9]  = pt->r23;
regs189arch/alpha/kernel/process.cdump->regs[EF_T10] = pt->r24;
regs190arch/alpha/kernel/process.cdump->regs[EF_T11] = pt->r25;
regs191arch/alpha/kernel/process.cdump->regs[EF_RA]  = pt->r26;
regs192arch/alpha/kernel/process.cdump->regs[EF_T12] = pt->r27;
regs193arch/alpha/kernel/process.cdump->regs[EF_AT]  = pt->r28;
regs194arch/alpha/kernel/process.cdump->regs[EF_SP]  = rdusp();
regs195arch/alpha/kernel/process.cdump->regs[EF_PS]  = pt->ps;
regs196arch/alpha/kernel/process.cdump->regs[EF_PC]  = pt->pc;
regs197arch/alpha/kernel/process.cdump->regs[EF_GP]  = pt->gp;
regs198arch/alpha/kernel/process.cdump->regs[EF_A0]  = pt->r16;
regs199arch/alpha/kernel/process.cdump->regs[EF_A1]  = pt->r17;
regs200arch/alpha/kernel/process.cdump->regs[EF_A2]  = pt->r18;
regs201arch/alpha/kernel/process.cmemcpy((char *)dump->regs + EF_SIZE, sw->fp, 32 * 8);
regs216arch/alpha/kernel/process.cstruct pt_regs regs)
regs224arch/alpha/kernel/process.cerror = do_execve(filename, (char **) a1, (char **) a2, &regs);
regs487arch/alpha/kernel/ptrace.cint a4, int a5, struct pt_regs regs)
regs554arch/alpha/kernel/ptrace.cregs.r0 = 0;  /* special return: no errors */
regs560arch/alpha/kernel/ptrace.cregs.r0 = 0;  /* special return: no errors */
regs561arch/alpha/kernel/ptrace.cDBG(DBG_MEM, ("peek $%ld=%#lx\n", addr, regs.r0));
regs56arch/alpha/kernel/signal.casmlinkage int do_sigsuspend(unsigned long mask, struct pt_regs * regs, struct switch_stack * sw)
regs63arch/alpha/kernel/signal.cif (do_signal(oldmask,regs, sw, 0, 0))
regs72arch/alpha/kernel/signal.cstruct pt_regs * regs, struct switch_stack * sw)
regs88arch/alpha/kernel/signal.cregs->pc = get_fs_quad(&sc->sc_pc);
regs92arch/alpha/kernel/signal.cregs->r0  = get_fs_quad(sc->sc_regs+0);
regs93arch/alpha/kernel/signal.cregs->r1  = get_fs_quad(sc->sc_regs+1);
regs94arch/alpha/kernel/signal.cregs->r2  = get_fs_quad(sc->sc_regs+2);
regs95arch/alpha/kernel/signal.cregs->r3  = get_fs_quad(sc->sc_regs+3);
regs96arch/alpha/kernel/signal.cregs->r4  = get_fs_quad(sc->sc_regs+4);
regs97arch/alpha/kernel/signal.cregs->r5  = get_fs_quad(sc->sc_regs+5);
regs98arch/alpha/kernel/signal.cregs->r6  = get_fs_quad(sc->sc_regs+6);
regs99arch/alpha/kernel/signal.cregs->r7  = get_fs_quad(sc->sc_regs+7);
regs100arch/alpha/kernel/signal.cregs->r8  = get_fs_quad(sc->sc_regs+8);
regs108arch/alpha/kernel/signal.cregs->r16 = get_fs_quad(sc->sc_regs+16);
regs109arch/alpha/kernel/signal.cregs->r17 = get_fs_quad(sc->sc_regs+17);
regs110arch/alpha/kernel/signal.cregs->r18 = get_fs_quad(sc->sc_regs+18);
regs111arch/alpha/kernel/signal.cregs->r19 = get_fs_quad(sc->sc_regs+19);
regs112arch/alpha/kernel/signal.cregs->r20 = get_fs_quad(sc->sc_regs+20);
regs113arch/alpha/kernel/signal.cregs->r21 = get_fs_quad(sc->sc_regs+21);
regs114arch/alpha/kernel/signal.cregs->r22 = get_fs_quad(sc->sc_regs+22);
regs115arch/alpha/kernel/signal.cregs->r23 = get_fs_quad(sc->sc_regs+23);
regs116arch/alpha/kernel/signal.cregs->r24 = get_fs_quad(sc->sc_regs+24);
regs117arch/alpha/kernel/signal.cregs->r25 = get_fs_quad(sc->sc_regs+25);
regs118arch/alpha/kernel/signal.cregs->r26 = get_fs_quad(sc->sc_regs+26);
regs119arch/alpha/kernel/signal.cregs->r27 = get_fs_quad(sc->sc_regs+27);
regs120arch/alpha/kernel/signal.cregs->r28 = get_fs_quad(sc->sc_regs+28);
regs121arch/alpha/kernel/signal.cregs->gp  = get_fs_quad(sc->sc_regs+29);
regs134arch/alpha/kernel/signal.cunsigned long pc, struct pt_regs * regs,
regs152arch/alpha/kernel/signal.cput_fs_quad(regs->r0 , sc->sc_regs+0);
regs153arch/alpha/kernel/signal.cput_fs_quad(regs->r1 , sc->sc_regs+1);
regs154arch/alpha/kernel/signal.cput_fs_quad(regs->r2 , sc->sc_regs+2);
regs155arch/alpha/kernel/signal.cput_fs_quad(regs->r3 , sc->sc_regs+3);
regs156arch/alpha/kernel/signal.cput_fs_quad(regs->r4 , sc->sc_regs+4);
regs157arch/alpha/kernel/signal.cput_fs_quad(regs->r5 , sc->sc_regs+5);
regs158arch/alpha/kernel/signal.cput_fs_quad(regs->r6 , sc->sc_regs+6);
regs159arch/alpha/kernel/signal.cput_fs_quad(regs->r7 , sc->sc_regs+7);
regs160arch/alpha/kernel/signal.cput_fs_quad(regs->r8 , sc->sc_regs+8);
regs168arch/alpha/kernel/signal.cput_fs_quad(regs->r16, sc->sc_regs+16);
regs169arch/alpha/kernel/signal.cput_fs_quad(regs->r17, sc->sc_regs+17);
regs170arch/alpha/kernel/signal.cput_fs_quad(regs->r18, sc->sc_regs+18);
regs171arch/alpha/kernel/signal.cput_fs_quad(regs->r19, sc->sc_regs+19);
regs172arch/alpha/kernel/signal.cput_fs_quad(regs->r20, sc->sc_regs+20);
regs173arch/alpha/kernel/signal.cput_fs_quad(regs->r21, sc->sc_regs+21);
regs174arch/alpha/kernel/signal.cput_fs_quad(regs->r22, sc->sc_regs+22);
regs175arch/alpha/kernel/signal.cput_fs_quad(regs->r23, sc->sc_regs+23);
regs176arch/alpha/kernel/signal.cput_fs_quad(regs->r24, sc->sc_regs+24);
regs177arch/alpha/kernel/signal.cput_fs_quad(regs->r25, sc->sc_regs+25);
regs178arch/alpha/kernel/signal.cput_fs_quad(regs->r26, sc->sc_regs+26);
regs179arch/alpha/kernel/signal.cput_fs_quad(regs->r27, sc->sc_regs+27);
regs180arch/alpha/kernel/signal.cput_fs_quad(regs->r28, sc->sc_regs+28);
regs181arch/alpha/kernel/signal.cput_fs_quad(regs->gp , sc->sc_regs+29);
regs196arch/alpha/kernel/signal.cregs->r26 = (unsigned long) sc->sc_retcode;
regs197arch/alpha/kernel/signal.cregs->r16 = signr;
regs215arch/alpha/kernel/signal.cstruct pt_regs * regs,
regs280arch/alpha/kernel/signal.cif (current->binfmt->core_dump(signr, regs))
regs294arch/alpha/kernel/signal.cif (regs->r0 == ERESTARTNOHAND ||
regs295arch/alpha/kernel/signal.c(regs->r0 == ERESTARTSYS && !(sa->sa_flags & SA_RESTART)))
regs296arch/alpha/kernel/signal.cregs->r0 = EINTR;
regs302arch/alpha/kernel/signal.c(regs->r0 == ERESTARTNOHAND ||
regs303arch/alpha/kernel/signal.cregs->r0 == ERESTARTSYS ||
regs304arch/alpha/kernel/signal.cregs->r0 == ERESTARTNOINTR)) {
regs305arch/alpha/kernel/signal.cregs->r0 = r0;  /* reset v0 and a3 and replay syscall */
regs306arch/alpha/kernel/signal.cregs->r19 = r19;
regs307arch/alpha/kernel/signal.cregs->pc -= 4;
regs315arch/alpha/kernel/signal.cpc = regs->pc;
regs324arch/alpha/kernel/signal.csetup_frame(sa,&frame,pc,regs,sw,signr,oldmask);
regs326arch/alpha/kernel/signal.cregs->r27 = pc;
regs334arch/alpha/kernel/signal.cregs->pc = pc;      /* "return" to the first handler */
regs35arch/alpha/kernel/time.cvoid timer_interrupt(struct pt_regs * regs)
regs40arch/alpha/kernel/time.cdo_timer(regs);
regs20arch/alpha/kernel/traps.cvoid die_if_kernel(char * str, struct pt_regs * regs, long err)
regs26arch/alpha/kernel/traps.cif (regs->ps & 8)
regs29arch/alpha/kernel/traps.csp = (unsigned long) (regs+1);
regs30arch/alpha/kernel/traps.cprintk("pc = [<%lx>] ps = %04lx\n", regs->pc, regs->ps);
regs31arch/alpha/kernel/traps.cprintk("rp = [<%lx>] sp = %lx\n", regs->r26, sp);
regs33arch/alpha/kernel/traps.cregs->r0, regs->r1, regs->r2, regs->r3);
regs34arch/alpha/kernel/traps.cprintk("r8=%lx\n", regs->r8);
regs36arch/alpha/kernel/traps.cregs->r16, regs->r17, regs->r18, regs->r19);
regs38arch/alpha/kernel/traps.cregs->r20, regs->r21, regs->r22, regs->r23);
regs40arch/alpha/kernel/traps.cregs->r24, regs->r25, regs->r26, regs->r27);
regs42arch/alpha/kernel/traps.cregs->r28, regs->gp, sp);
regs44arch/alpha/kernel/traps.cpc = (unsigned int *) regs->pc;
regs54arch/alpha/kernel/traps.cstruct pt_regs regs)
regs57arch/alpha/kernel/traps.cextern long alpha_fp_emul_imprecise (struct pt_regs * regs,
regs63arch/alpha/kernel/traps.cif (alpha_fp_emul_imprecise(&regs, write_mask)) {
regs68arch/alpha/kernel/traps.ccurrent->comm, regs.pc, summary, write_mask);
regs69arch/alpha/kernel/traps.cdie_if_kernel("Arithmetic fault", &regs, 0);
regs75arch/alpha/kernel/traps.cstruct pt_regs regs)
regs79arch/alpha/kernel/traps.cdie_if_kernel("Instruction fault", &regs, type);
regs83arch/alpha/kernel/traps.cregs.pc -= 4;  /* make pc point to former bpt */
regs96arch/alpha/kernel/traps.cswitch ((long) regs.r16) {
regs138arch/alpha/kernel/traps.copcode = get_user((__u32*)(regs.pc - 4)) >> 26;
regs144arch/alpha/kernel/traps.cif (!alpha_fp_emul(regs.pc - 4))
regs172arch/alpha/kernel/traps.cunsigned long regs[32];
regs182arch/alpha/kernel/traps.cstruct allregs regs)
regs192arch/alpha/kernel/traps.cregs.pc - 4, va, opcode, reg);
regs198arch/alpha/kernel/traps.cunaligned[0].pc = regs.pc;
regs205arch/alpha/kernel/traps.c*(reg+regs.regs) = (int) ldl_u(va);
regs208arch/alpha/kernel/traps.c*(reg+regs.regs) = ldq_u(va);
regs211arch/alpha/kernel/traps.cstl_u(*(reg+regs.regs), va);
regs214arch/alpha/kernel/traps.cstq_u(*(reg+regs.regs), va);
regs218arch/alpha/kernel/traps.cregs.pc, va, opcode, reg);
regs386arch/alpha/kernel/traps.cunsigned long a3, unsigned long a4, unsigned long a5, struct pt_regs regs)
regs388arch/alpha/kernel/traps.cif (regs.r0 != 112)
regs389arch/alpha/kernel/traps.cprintk("<sc %ld(%lx,%lx,%lx)>", regs.r0, a0, a1, a2);
regs325arch/alpha/math-emu/fp-emul.calpha_fp_emul_imprecise (struct pt_regs *regs, unsigned long write_mask)
regs327arch/alpha/math-emu/fp-emul.cunsigned long trigger_pc = regs->pc - 4;
regs380arch/alpha/math-emu/fp-emul.cregs->pc = trigger_pc + 4;
regs42arch/alpha/mm/fault.cstruct pt_regs regs)
regs80arch/alpha/mm/fault.cif (user_mode(&regs)) {
regs82arch/alpha/mm/fault.ccurrent->comm, regs.pc, regs.r26, address);
regs83arch/alpha/mm/fault.cdie_if_kernel("oops", &regs, cause);
regs93arch/alpha/mm/fault.cdie_if_kernel("Oops", &regs, cause);
regs178arch/i386/kernel/irq.cstatic void no_action(int cpl, void *dev_id, struct pt_regs *regs) { }
regs202arch/i386/kernel/irq.cstatic void math_error_irq(int cpl, void *dev_id, struct pt_regs *regs)
regs343arch/i386/kernel/irq.casmlinkage void do_IRQ(int irq, struct pt_regs * regs)
regs359arch/i386/kernel/irq.caction->handler(irq, action->dev_id, regs);
regs207arch/i386/kernel/process.cvoid show_regs(struct pt_regs * regs)
regs210arch/i386/kernel/process.cprintk("EIP: %04x:[<%08lx>]",0xffff & regs->cs,regs->eip);
regs211arch/i386/kernel/process.cif (regs->cs & 3)
regs212arch/i386/kernel/process.cprintk(" ESP: %04x:%08lx",0xffff & regs->ss,regs->esp);
regs213arch/i386/kernel/process.cprintk(" EFLAGS: %08lx\n",regs->eflags);
regs215arch/i386/kernel/process.cregs->eax,regs->ebx,regs->ecx,regs->edx);
regs217arch/i386/kernel/process.cregs->esi, regs->edi, regs->ebp);
regs219arch/i386/kernel/process.c0xffff & regs->ds,0xffff & regs->es,
regs220arch/i386/kernel/process.c0xffff & regs->fs,0xffff & regs->gs);
regs269arch/i386/kernel/process.cstruct task_struct * p, struct pt_regs * regs)
regs286arch/i386/kernel/process.c*childregs = *regs;
regs290arch/i386/kernel/process.cp->tss.eflags = regs->eflags & 0xffffcfff;  /* iopl is always 0 for a new process */
regs337arch/i386/kernel/process.cvoid dump_thread(struct pt_regs * regs, struct user * dump)
regs344arch/i386/kernel/process.cdump->start_stack = regs->esp & ~(PAGE_SIZE - 1);
regs355arch/i386/kernel/process.cdump->regs = *regs;
regs360arch/i386/kernel/process.casmlinkage int sys_fork(struct pt_regs regs)
regs362arch/i386/kernel/process.creturn do_fork(SIGCHLD, regs.esp, &regs);
regs365arch/i386/kernel/process.casmlinkage int sys_clone(struct pt_regs regs)
regs370arch/i386/kernel/process.cclone_flags = regs.ebx;
regs371arch/i386/kernel/process.cnewsp = regs.ecx;
regs373arch/i386/kernel/process.cnewsp = regs.esp;
regs374arch/i386/kernel/process.creturn do_fork(clone_flags, newsp, &regs);
regs380arch/i386/kernel/process.casmlinkage int sys_execve(struct pt_regs regs)
regs385arch/i386/kernel/process.cerror = getname((char *) regs.ebx, &filename);
regs388arch/i386/kernel/process.cerror = do_execve(filename, (char **) regs.ecx, (char **) regs.edx, &regs);
regs23arch/i386/kernel/signal.casmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs);
regs31arch/i386/kernel/signal.cstruct pt_regs * regs = (struct pt_regs *) &restart;
regs35arch/i386/kernel/signal.cregs->eax = -EINTR;
regs39arch/i386/kernel/signal.cif (do_signal(mask,regs))
regs49arch/i386/kernel/signal.c#define COPY(x) regs->x = context.x
regs55arch/i386/kernel/signal.cstruct pt_regs * regs;
regs57arch/i386/kernel/signal.cregs = (struct pt_regs *) &__unused;
regs58arch/i386/kernel/signal.cif (verify_area(VERIFY_READ, (void *) regs->esp, sizeof(context)))
regs60arch/i386/kernel/signal.cmemcpy_fromfs(&context,(void *) regs->esp, sizeof(context));
regs73arch/i386/kernel/signal.cregs->eflags &= ~0x40DD5;
regs74arch/i386/kernel/signal.cregs->eflags |= context.eflags & 0x40DD5;
regs75arch/i386/kernel/signal.cregs->orig_eax = -1;    /* disable syscall checks */
regs86arch/i386/kernel/signal.cstruct pt_regs * regs, int signr, unsigned long oldmask)
regs93arch/i386/kernel/signal.cif (regs->ss != USER_DS && sa->sa_restorer)
regs104arch/i386/kernel/signal.cput_fs_long(regs->gs, frame+2);
regs105arch/i386/kernel/signal.cput_fs_long(regs->fs, frame+3);
regs106arch/i386/kernel/signal.cput_fs_long(regs->es, frame+4);
regs107arch/i386/kernel/signal.cput_fs_long(regs->ds, frame+5);
regs108arch/i386/kernel/signal.cput_fs_long(regs->edi, frame+6);
regs109arch/i386/kernel/signal.cput_fs_long(regs->esi, frame+7);
regs110arch/i386/kernel/signal.cput_fs_long(regs->ebp, frame+8);
regs112arch/i386/kernel/signal.cput_fs_long(regs->ebx, frame+10);
regs113arch/i386/kernel/signal.cput_fs_long(regs->edx, frame+11);
regs114arch/i386/kernel/signal.cput_fs_long(regs->ecx, frame+12);
regs115arch/i386/kernel/signal.cput_fs_long(regs->eax, frame+13);
regs119arch/i386/kernel/signal.cput_fs_long(regs->cs, frame+17);
regs120arch/i386/kernel/signal.cput_fs_long(regs->eflags, frame+18);
regs121arch/i386/kernel/signal.cput_fs_long(regs->esp, frame+19);
regs122arch/i386/kernel/signal.cput_fs_long(regs->ss, frame+20);
regs145arch/i386/kernel/signal.casmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs)
regs212arch/i386/kernel/signal.cif (current->binfmt->core_dump(signr, regs))
regs225arch/i386/kernel/signal.cif (regs->orig_eax >= 0) {
regs226arch/i386/kernel/signal.cif (regs->eax == -ERESTARTNOHAND ||
regs227arch/i386/kernel/signal.c(regs->eax == -ERESTARTSYS && !(sa->sa_flags & SA_RESTART)))
regs228arch/i386/kernel/signal.cregs->eax = -EINTR;
regs233arch/i386/kernel/signal.cif (regs->orig_eax >= 0 &&
regs234arch/i386/kernel/signal.c(regs->eax == -ERESTARTNOHAND ||
regs235arch/i386/kernel/signal.cregs->eax == -ERESTARTSYS ||
regs236arch/i386/kernel/signal.cregs->eax == -ERESTARTNOINTR)) {
regs237arch/i386/kernel/signal.cregs->eax = regs->orig_eax;
regs238arch/i386/kernel/signal.cregs->eip -= 2;
regs242arch/i386/kernel/signal.ceip = regs->eip;
regs243arch/i386/kernel/signal.cframe = (unsigned long *) regs->esp;
regs251arch/i386/kernel/signal.csetup_frame(sa,&frame,eip,regs,signr,oldmask);
regs255arch/i386/kernel/signal.cregs->cs = USER_CS; regs->ss = USER_DS;
regs256arch/i386/kernel/signal.cregs->ds = USER_DS; regs->es = USER_DS;
regs257arch/i386/kernel/signal.cregs->gs = USER_DS; regs->fs = USER_DS;
regs261arch/i386/kernel/signal.cregs->esp = (unsigned long) frame;
regs262arch/i386/kernel/signal.cregs->eip = eip;    /* "return" to the first handler */
regs263arch/i386/kernel/signal.cregs->eflags &= ~TF_MASK;
regs1055arch/i386/kernel/smp.cvoid smp_reschedule_irq(int cpl, struct pt_regs *regs)
regs1082arch/i386/kernel/smp.cvoid smp_message_irq(int cpl, void *dev_id, struct pt_regs *regs)
regs248arch/i386/kernel/time.cstatic inline void timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs250arch/i386/kernel/time.cdo_timer(regs);
regs277arch/i386/kernel/time.cstatic void pentium_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs283arch/i386/kernel/time.ctimer_interrupt(irq, NULL, regs);
regs39arch/i386/kernel/traps.casmlinkage void do_##name(struct pt_regs * regs, long error_code) \
regs46arch/i386/kernel/traps.cdie_if_kernel(str,regs,error_code); \
regs97arch/i386/kernel/traps.c/*static*/ void die_if_kernel(const char * str, struct pt_regs * regs, long err)
regs105arch/i386/kernel/traps.cesp = (unsigned long) &regs->esp;
regs107arch/i386/kernel/traps.cif ((regs->eflags & VM_MASK) || (3 & regs->cs) == 3)
regs109arch/i386/kernel/traps.cif (regs->cs & 3) {
regs110arch/i386/kernel/traps.cesp = regs->esp;
regs111arch/i386/kernel/traps.css = regs->ss;
regs116arch/i386/kernel/traps.cprintk("EIP:    %04x:[<%08lx>]\nEFLAGS: %08lx\n", 0xffff & regs->cs,regs->eip,regs->eflags);
regs118arch/i386/kernel/traps.cregs->eax, regs->ebx, regs->ecx, regs->edx);
regs120arch/i386/kernel/traps.cregs->esi, regs->edi, regs->ebp, esp);
regs122arch/i386/kernel/traps.cregs->ds, regs->es, regs->fs, regs->gs, ss);
regs162arch/i386/kernel/traps.cprintk("%02x ",0xff & get_seg_byte(regs->cs,(i+(char *)regs->eip)));
regs181arch/i386/kernel/traps.casmlinkage void do_general_protection(struct pt_regs * regs, long error_code)
regs183arch/i386/kernel/traps.cif (regs->eflags & VM_MASK) {
regs184arch/i386/kernel/traps.chandle_vm86_fault((struct vm86_regs *) regs, error_code);
regs187arch/i386/kernel/traps.cdie_if_kernel("general protection",regs,error_code);
regs193arch/i386/kernel/traps.casmlinkage void do_nmi(struct pt_regs * regs, long error_code)
regs206arch/i386/kernel/traps.casmlinkage void do_debug(struct pt_regs * regs, long error_code)
regs208arch/i386/kernel/traps.cif (regs->eflags & VM_MASK) {
regs209arch/i386/kernel/traps.chandle_vm86_debug((struct vm86_regs *) regs, error_code);
regs217arch/i386/kernel/traps.cif ((regs->cs & 3) == 0) {
regs224arch/i386/kernel/traps.cdie_if_kernel("debug",regs,error_code);
regs277arch/i386/kernel/traps.casmlinkage void do_coprocessor_error(struct pt_regs * regs, long error_code)
regs36arch/i386/kernel/vm86.c#define AL(regs)  (((unsigned char *)&((regs)->eax))[0])
regs37arch/i386/kernel/vm86.c#define AH(regs)  (((unsigned char *)&((regs)->eax))[1])
regs38arch/i386/kernel/vm86.c#define IP(regs)  (*(unsigned short *)&((regs)->eip))
regs39arch/i386/kernel/vm86.c#define SP(regs)  (*(unsigned short *)&((regs)->esp))
regs53arch/i386/kernel/vm86.casmlinkage struct pt_regs * save_v86_state(struct vm86_regs * regs)
regs61arch/i386/kernel/vm86.cset_flags(regs->eflags, VEFLAGS, VIF_MASK | current->tss.v86mask);
regs62arch/i386/kernel/vm86.cmemcpy_tofs(&current->tss.vm86_info->regs,regs,sizeof(*regs));
regs118arch/i386/kernel/vm86.cinfo.regs.__null_ds = 0;
regs119arch/i386/kernel/vm86.cinfo.regs.__null_es = 0;
regs120arch/i386/kernel/vm86.cinfo.regs.__null_fs = 0;
regs121arch/i386/kernel/vm86.cinfo.regs.__null_gs = 0;
regs127arch/i386/kernel/vm86.cVEFLAGS = info.regs.eflags;
regs128arch/i386/kernel/vm86.cinfo.regs.eflags &= SAFE_MASK;
regs129arch/i386/kernel/vm86.cinfo.regs.eflags |= pt_regs->eflags & ~SAFE_MASK;
regs130arch/i386/kernel/vm86.cinfo.regs.eflags |= VM_MASK;
regs161arch/i386/kernel/vm86.c:"r" (&info.regs));
regs176arch/i386/kernel/vm86.cstatic inline void set_IF(struct vm86_regs * regs)
regs180arch/i386/kernel/vm86.creturn_to_32bit(regs, VM86_STI);
regs183arch/i386/kernel/vm86.cstatic inline void clear_IF(struct vm86_regs * regs)
regs188arch/i386/kernel/vm86.cstatic inline void clear_TF(struct vm86_regs * regs)
regs190arch/i386/kernel/vm86.cregs->eflags &= ~TF_MASK;
regs193arch/i386/kernel/vm86.cstatic inline void set_vflags_long(unsigned long eflags, struct vm86_regs * regs)
regs196arch/i386/kernel/vm86.cset_flags(regs->eflags, eflags, SAFE_MASK);
regs198arch/i386/kernel/vm86.cset_IF(regs);
regs201arch/i386/kernel/vm86.cstatic inline void set_vflags_short(unsigned short flags, struct vm86_regs * regs)
regs204arch/i386/kernel/vm86.cset_flags(regs->eflags, flags, SAFE_MASK);
regs206arch/i386/kernel/vm86.cset_IF(regs);
regs209arch/i386/kernel/vm86.cstatic inline unsigned long get_vflags(struct vm86_regs * regs)
regs211arch/i386/kernel/vm86.cunsigned long flags = regs->eflags & RETURN_MASK;
regs301arch/i386/kernel/vm86.cstatic void do_int(struct vm86_regs *regs, int i, unsigned char * ssp, unsigned long sp)
regs305arch/i386/kernel/vm86.cif (regs->cs == BIOSSEG)
regs309arch/i386/kernel/vm86.cif (i==0x21 && is_revectored(AH(regs),&current->tss.vm86_info->int21_revectored))
regs317arch/i386/kernel/vm86.cpushw(ssp, sp, get_vflags(regs));
regs318arch/i386/kernel/vm86.cpushw(ssp, sp, regs->cs);
regs319arch/i386/kernel/vm86.cpushw(ssp, sp, IP(regs));
regs320arch/i386/kernel/vm86.cregs->cs = seg;
regs321arch/i386/kernel/vm86.cSP(regs) -= 6;
regs322arch/i386/kernel/vm86.cIP(regs) = get_fs_word(intr_ptr+0);
regs323arch/i386/kernel/vm86.cclear_TF(regs);
regs324arch/i386/kernel/vm86.cclear_IF(regs);
regs328arch/i386/kernel/vm86.creturn_to_32bit(regs, VM86_INTx + (i << 8));
regs331arch/i386/kernel/vm86.cvoid handle_vm86_debug(struct vm86_regs * regs, long error_code)
regs334arch/i386/kernel/vm86.cdo_int(regs, 1, (unsigned char *) (regs->ss << 4), SP(regs));
regs344arch/i386/kernel/vm86.cvoid handle_vm86_fault(struct vm86_regs * regs, long error_code)
regs349arch/i386/kernel/vm86.ccsp = (unsigned char *) (regs->cs << 4);
regs350arch/i386/kernel/vm86.cssp = (unsigned char *) (regs->ss << 4);
regs351arch/i386/kernel/vm86.csp = SP(regs);
regs352arch/i386/kernel/vm86.cip = IP(regs);
regs362arch/i386/kernel/vm86.cSP(regs) -= 4;
regs363arch/i386/kernel/vm86.cIP(regs) += 2;
regs364arch/i386/kernel/vm86.cpushl(ssp, sp, get_vflags(regs));
regs369arch/i386/kernel/vm86.cSP(regs) += 4;
regs370arch/i386/kernel/vm86.cIP(regs) += 2;
regs371arch/i386/kernel/vm86.cset_vflags_long(popl(ssp, sp), regs);
regs376arch/i386/kernel/vm86.cSP(regs) += 12;
regs377arch/i386/kernel/vm86.cIP(regs) = (unsigned short)popl(ssp, sp);
regs378arch/i386/kernel/vm86.cregs->cs = (unsigned short)popl(ssp, sp);
regs379arch/i386/kernel/vm86.cset_vflags_long(popl(ssp, sp), regs);
regs386arch/i386/kernel/vm86.cSP(regs) -= 2;
regs387arch/i386/kernel/vm86.cIP(regs)++;
regs388arch/i386/kernel/vm86.cpushw(ssp, sp, get_vflags(regs));
regs393arch/i386/kernel/vm86.cSP(regs) += 2;
regs394arch/i386/kernel/vm86.cIP(regs)++;
regs395arch/i386/kernel/vm86.cset_vflags_short(popw(ssp, sp), regs);
regs400arch/i386/kernel/vm86.cIP(regs) += 2;
regs401arch/i386/kernel/vm86.cdo_int(regs, popb(csp, ip), ssp, sp);
regs406arch/i386/kernel/vm86.cSP(regs) += 6;
regs407arch/i386/kernel/vm86.cIP(regs) = popw(ssp, sp);
regs408arch/i386/kernel/vm86.cregs->cs = popw(ssp, sp);
regs409arch/i386/kernel/vm86.cset_vflags_short(popw(ssp, sp), regs);
regs414arch/i386/kernel/vm86.cIP(regs)++;
regs415arch/i386/kernel/vm86.cclear_IF(regs);
regs426arch/i386/kernel/vm86.cIP(regs)++;
regs427arch/i386/kernel/vm86.cset_IF(regs);
regs434arch/i386/kernel/vm86.creturn_to_32bit(regs, VM86_UNKNOWN);
regs41arch/i386/math-emu/fpu_aux.cregs[r].tag = TW_Empty;
regs120arch/i386/math-emu/fpu_emu.h#define  st(x)  ( regs[((top+x) &7 )] )
regs126arch/i386/math-emu/fpu_emu.h#define pop()  { regs[(top++ & 7 )].tag = TW_Empty; }
regs127arch/i386/math-emu/fpu_emu.h#define poppop() { regs[((top + 1) & 7 )].tag \
regs128arch/i386/math-emu/fpu_emu.h= regs[(top & 7 )].tag = TW_Empty; \
regs162arch/i386/math-emu/fpu_entry.cregs[i].exp = 0;
regs163arch/i386/math-emu/fpu_entry.cregs[i].sigh = 0x80000000;
regs300arch/i386/math-emu/fpu_entry.cregs[r].tag = TW_Empty;
regs60arch/i386/math-emu/fpu_system.h#define regs      (I387.soft.regs)
regs1211arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Empty;
regs1212arch/i386/math-emu/reg_ld_str.celse if ( regs[i].tag == TW_Empty )
regs1216arch/i386/math-emu/reg_ld_str.cif ( regs[i].exp == EXP_BIAS - EXTENDED_Ebias )
regs1218arch/i386/math-emu/reg_ld_str.cif ( !(regs[i].sigl | regs[i].sigh) )
regs1219arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Zero;
regs1221arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Valid;
regs1223arch/i386/math-emu/reg_ld_str.celse if ( regs[i].exp == 0x7fff + EXP_BIAS - EXTENDED_Ebias )
regs1225arch/i386/math-emu/reg_ld_str.cif ( !((regs[i].sigh & ~0x80000000) | regs[i].sigl) )
regs1226arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Infinity;
regs1228arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_NaN;
regs1231arch/i386/math-emu/reg_ld_str.cregs[i].tag = TW_Valid;
regs1251arch/i386/math-emu/reg_ld_str.ctag = regs[stnr].tag;   /* Derived from the fldenv() loaded tag word. */
regs1252arch/i386/math-emu/reg_ld_str.creg_load_extended((long double *)(s+i*10), &regs[stnr]);
regs1254arch/i386/math-emu/reg_ld_str.cregs[stnr].tag = tag;
regs1268arch/i386/math-emu/reg_ld_str.cswitch ( tag = regs[i].tag )
regs1271arch/i386/math-emu/reg_ld_str.cif ( regs[i].exp <= (EXP_BIAS - EXTENDED_Ebias) )
regs1368arch/i386/math-emu/reg_ld_str.cwrite_to_extended(&regs[(top + i) & 7], d + 10 * i);
regs34arch/i386/mm/fault.casmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code)
regs56arch/i386/mm/fault.cif (address + 32 < regs->esp)
regs82arch/i386/mm/fault.cif (regs->eflags & VM_MASK) {
regs89arch/i386/mm/fault.cif (regs->cs == KERNEL_CS)
regs90arch/i386/mm/fault.cprintk("WP fault at %08x\n", regs->eip);
regs140arch/i386/mm/fault.cdie_if_kernel("Oops", regs, error_code);
regs105arch/mips/kernel/gdb-stub.cvoid handle_exception(struct gdb_regs *regs);
regs106arch/mips/kernel/gdb-stub.cstatic void show_gdbregs(struct gdb_regs *regs);
regs414arch/mips/kernel/gdb-stub.cvoid handle_exception (struct gdb_regs *regs)
regs425arch/mips/kernel/gdb-stub.cshow_gdbregs(regs);
regs435arch/mips/kernel/gdb-stub.ctrap = (regs->cp0_cause & 0x7c) >> 2;
regs438arch/mips/kernel/gdb-stub.cif (((regs->cp0_cause >> CAUSEB_CE) & 3) == 1) {
regs439arch/mips/kernel/gdb-stub.cregs->cp0_status |= ST0_CU1;
regs447arch/mips/kernel/gdb-stub.cif (trap == 9 && regs->cp0_epc == (unsigned long)breakinst)    
regs448arch/mips/kernel/gdb-stub.cregs->cp0_epc += 4;
regs450arch/mips/kernel/gdb-stub.cstack = (long *)regs->reg29;      /* stack ptr */
regs471arch/mips/kernel/gdb-stub.cptr = mem2hex((char *)&regs->cp0_epc, ptr, 4, 0);
regs480arch/mips/kernel/gdb-stub.cptr = mem2hex((char *)&regs->reg30, ptr, 4, 0);
regs489arch/mips/kernel/gdb-stub.cptr = mem2hex((char *)&regs->reg29, ptr, 4, 0);
regs520arch/mips/kernel/gdb-stub.cptr = mem2hex((char *)&regs->reg0, ptr, 32*4, 0); /* r0...r31 */
regs521arch/mips/kernel/gdb-stub.cptr = mem2hex((char *)&regs->cp0_status, ptr, 6*4, 0); /* cp0 */
regs522arch/mips/kernel/gdb-stub.cptr = mem2hex((char *)&regs->fpr0, ptr, 32*4, 0); /* f0...31 */
regs523arch/mips/kernel/gdb-stub.cptr = mem2hex((char *)&regs->cp1_fsr, ptr, 2*4, 0); /* cp1 */
regs524arch/mips/kernel/gdb-stub.cptr = mem2hex((char *)&regs->frame_ptr, ptr, 2*4, 0); /* frp */
regs525arch/mips/kernel/gdb-stub.cptr = mem2hex((char *)&regs->cp0_index, ptr, 16*4, 0); /* cp0 */
regs597arch/mips/kernel/gdb-stub.cregs->cp0_epc = addr;
regs725arch/mips/kernel/gdb-stub.cvoid show_gdbregs(struct gdb_regs * regs)
regs731arch/mips/kernel/gdb-stub.cregs->reg0, regs->reg1, regs->reg2, regs->reg3,
regs732arch/mips/kernel/gdb-stub.cregs->reg4, regs->reg5, regs->reg6, regs->reg7);
regs734arch/mips/kernel/gdb-stub.cregs->reg8, regs->reg9, regs->reg10, regs->reg11,
regs735arch/mips/kernel/gdb-stub.cregs->reg12, regs->reg13, regs->reg14, regs->reg15);
regs737arch/mips/kernel/gdb-stub.cregs->reg16, regs->reg17, regs->reg18, regs->reg19,
regs738arch/mips/kernel/gdb-stub.cregs->reg20, regs->reg21, regs->reg22, regs->reg23);
regs740arch/mips/kernel/gdb-stub.cregs->reg24, regs->reg25, regs->reg26, regs->reg27,
regs741arch/mips/kernel/gdb-stub.cregs->reg28, regs->reg29, regs->reg30, regs->reg31);
regs747arch/mips/kernel/gdb-stub.cregs->cp0_epc, regs->cp0_status, regs->cp0_cause);
regs143arch/mips/kernel/irq.casmlinkage void do_IRQ(int irq, struct pt_regs * regs)
regs151arch/mips/kernel/irq.caction->handler(irq, action->dev_id, regs);
regs306arch/mips/kernel/irq.cstatic void no_action(int cpl, void *dev_id, struct pt_regs * regs) { }
regs69arch/mips/kernel/process.cvoid show_regs(struct pt_regs * regs)
regs75arch/mips/kernel/process.c0, regs->reg1, regs->reg2, regs->reg3,
regs76arch/mips/kernel/process.cregs->reg4, regs->reg5, regs->reg6, regs->reg7);
regs78arch/mips/kernel/process.cregs->reg8, regs->reg9, regs->reg10, regs->reg11,
regs79arch/mips/kernel/process.cregs->reg12, regs->reg13, regs->reg14, regs->reg15);
regs81arch/mips/kernel/process.cregs->reg16, regs->reg17, regs->reg18, regs->reg19,
regs82arch/mips/kernel/process.cregs->reg20, regs->reg21, regs->reg22, regs->reg23);
regs84arch/mips/kernel/process.cregs->reg24, regs->reg25, regs->reg28, regs->reg29,
regs85arch/mips/kernel/process.cregs->reg30, regs->reg31);
regs91arch/mips/kernel/process.cregs->cp0_epc, regs->cp0_status, regs->cp0_cause);
regs119arch/mips/kernel/process.cstruct task_struct * p, struct pt_regs * regs)
regs129arch/mips/kernel/process.c*childregs = *regs;
regs132arch/mips/kernel/process.cregs->reg2 = p->pid;
regs168arch/mips/kernel/process.cvoid dump_thread(struct pt_regs * regs, struct user * dump)
regs24arch/mips/kernel/signal.casmlinkage int do_signal(unsigned long oldmask, struct pt_regs *regs);
regs32arch/mips/kernel/signal.cstruct pt_regs * regs = (struct pt_regs *) &restart;
regs36arch/mips/kernel/signal.cregs->reg2 = -EINTR;
regs40arch/mips/kernel/signal.cif (do_signal(mask,regs))
regs48arch/mips/kernel/signal.casmlinkage int sys_sigreturn(struct pt_regs *regs)
regs57arch/mips/kernel/signal.ccontext = (struct sigcontext_struct *) regs->reg29;
regs59arch/mips/kernel/signal.c(regs->reg29 & 3))
regs63arch/mips/kernel/signal.cregs->reg1  = context->sc_at;
regs64arch/mips/kernel/signal.cregs->reg2  = context->sc_v0;
regs65arch/mips/kernel/signal.cregs->reg3  = context->sc_v1;
regs66arch/mips/kernel/signal.cregs->reg4  = context->sc_a0;
regs67arch/mips/kernel/signal.cregs->reg5  = context->sc_a1;
regs68arch/mips/kernel/signal.cregs->reg6  = context->sc_a2;
regs69arch/mips/kernel/signal.cregs->reg7  = context->sc_a3;
regs70arch/mips/kernel/signal.cregs->reg8  = context->sc_t0;
regs71arch/mips/kernel/signal.cregs->reg9  = context->sc_t1;
regs72arch/mips/kernel/signal.cregs->reg10 = context->sc_t2;
regs73arch/mips/kernel/signal.cregs->reg11 = context->sc_t3;
regs74arch/mips/kernel/signal.cregs->reg12 = context->sc_t4;
regs75arch/mips/kernel/signal.cregs->reg13 = context->sc_t5;
regs76arch/mips/kernel/signal.cregs->reg14 = context->sc_t6;
regs77arch/mips/kernel/signal.cregs->reg15 = context->sc_t7;
regs78arch/mips/kernel/signal.cregs->reg16 = context->sc_s0;
regs79arch/mips/kernel/signal.cregs->reg17 = context->sc_s1;
regs80arch/mips/kernel/signal.cregs->reg18 = context->sc_s2;
regs81arch/mips/kernel/signal.cregs->reg19 = context->sc_s3;
regs82arch/mips/kernel/signal.cregs->reg20 = context->sc_s4;
regs83arch/mips/kernel/signal.cregs->reg21 = context->sc_s5;
regs84arch/mips/kernel/signal.cregs->reg22 = context->sc_s6;
regs85arch/mips/kernel/signal.cregs->reg23 = context->sc_s7;
regs86arch/mips/kernel/signal.cregs->reg24 = context->sc_t8;
regs87arch/mips/kernel/signal.cregs->reg25 = context->sc_t9;
regs91arch/mips/kernel/signal.cregs->reg28 = context->sc_gp;
regs92arch/mips/kernel/signal.cregs->reg29 = context->sc_sp;
regs93arch/mips/kernel/signal.cregs->reg30 = context->sc_fp;
regs94arch/mips/kernel/signal.cregs->reg31 = context->sc_ra;
regs95arch/mips/kernel/signal.cregs->cp0_epc = context->sc_epc;
regs96arch/mips/kernel/signal.cregs->cp0_cause = context->sc_cause;
regs101arch/mips/kernel/signal.cregs->orig_reg2 = -1;
regs147arch/mips/kernel/signal.cunsigned long pc, struct pt_regs *regs,
regs185arch/mips/kernel/signal.cframe->scc.sc_at = regs->reg1;    /* Assembler temporary */
regs186arch/mips/kernel/signal.cframe->scc.sc_v0 = regs->reg2;    /* Result registers */
regs187arch/mips/kernel/signal.cframe->scc.sc_v1 = regs->reg3;
regs188arch/mips/kernel/signal.cframe->scc.sc_a0 = regs->reg4;    /* Argument registers */
regs189arch/mips/kernel/signal.cframe->scc.sc_a1 = regs->reg5;
regs190arch/mips/kernel/signal.cframe->scc.sc_a2 = regs->reg6;
regs191arch/mips/kernel/signal.cframe->scc.sc_a3 = regs->reg7;
regs193arch/mips/kernel/signal.cframe->scc.sc_t0 = regs->reg8;    /* Caller saved */
regs194arch/mips/kernel/signal.cframe->scc.sc_t1 = regs->reg9;
regs195arch/mips/kernel/signal.cframe->scc.sc_t2 = regs->reg10;
regs196arch/mips/kernel/signal.cframe->scc.sc_t3 = regs->reg11;
regs197arch/mips/kernel/signal.cframe->scc.sc_t4 = regs->reg12;
regs198arch/mips/kernel/signal.cframe->scc.sc_t5 = regs->reg13;
regs199arch/mips/kernel/signal.cframe->scc.sc_t6 = regs->reg14;
regs200arch/mips/kernel/signal.cframe->scc.sc_t7 = regs->reg15;
regs202arch/mips/kernel/signal.cframe->scc.sc_s0 = regs->reg16;    /* Callee saved */
regs203arch/mips/kernel/signal.cframe->scc.sc_s1 = regs->reg17;
regs204arch/mips/kernel/signal.cframe->scc.sc_s2 = regs->reg18;
regs205arch/mips/kernel/signal.cframe->scc.sc_s3 = regs->reg19;
regs206arch/mips/kernel/signal.cframe->scc.sc_s4 = regs->reg20;
regs207arch/mips/kernel/signal.cframe->scc.sc_s5 = regs->reg21;
regs208arch/mips/kernel/signal.cframe->scc.sc_s6 = regs->reg22;
regs209arch/mips/kernel/signal.cframe->scc.sc_s7 = regs->reg23;
regs211arch/mips/kernel/signal.cframe->scc.sc_t8 = regs->reg24;    /* Caller saved */
regs212arch/mips/kernel/signal.cframe->scc.sc_t9 = regs->reg25;
regs217arch/mips/kernel/signal.cframe->scc.sc_gp = regs->reg28;    /* global pointer / s8 */
regs218arch/mips/kernel/signal.cframe->scc.sc_sp = regs->reg29;    /* old stack pointer */
regs219arch/mips/kernel/signal.cframe->scc.sc_fp = regs->reg30;    /* old frame pointer */
regs220arch/mips/kernel/signal.cframe->scc.sc_ra = regs->reg31;    /* old return address */
regs222arch/mips/kernel/signal.cframe->scc.sc_epc = regs->cp0_epc;  /* Program counter */
regs223arch/mips/kernel/signal.cframe->scc.sc_cause = regs->cp0_cause;  /* c0_epc register */
regs228arch/mips/kernel/signal.cregs->reg4 = signr;             /* argument for handler */
regs240arch/mips/kernel/signal.casmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs)
regs299arch/mips/kernel/signal.cif (current->binfmt->core_dump(signr, regs))
regs312arch/mips/kernel/signal.cif (regs->orig_reg2 >= 0) {
regs313arch/mips/kernel/signal.cif (regs->reg2 == -ERESTARTNOHAND ||
regs314arch/mips/kernel/signal.c(regs->reg2 == -ERESTARTSYS &&
regs316arch/mips/kernel/signal.cregs->reg2 = -EINTR;
regs326arch/mips/kernel/signal.cif (regs->orig_reg2 >= 0 &&
regs327arch/mips/kernel/signal.c(regs->reg2 == -ERESTARTNOHAND ||
regs328arch/mips/kernel/signal.cregs->reg2 == -ERESTARTSYS ||
regs329arch/mips/kernel/signal.cregs->reg2 == -ERESTARTNOINTR))
regs331arch/mips/kernel/signal.cregs->reg2 = regs->orig_reg2;
regs332arch/mips/kernel/signal.cregs->cp0_epc -= 8;
regs336arch/mips/kernel/signal.cpc = regs->cp0_epc;
regs337arch/mips/kernel/signal.cframe = (struct sc *) regs->reg29;
regs345arch/mips/kernel/signal.csetup_frame(sa, &frame, pc, regs, signr, oldmask);
regs352arch/mips/kernel/signal.cregs->reg29 = (unsigned long) frame;    /* Stack pointer */
regs353arch/mips/kernel/signal.cregs->reg31 = (unsigned long) frame->code;  /* Return address */
regs354arch/mips/kernel/signal.cregs->cp0_epc = pc;    /* "return" to the first handler */
regs21arch/mips/kernel/syscall.cextern asmlinkage int do_syscalls(struct pt_regs *regs, syscall_t fun,
regs26arch/mips/kernel/syscall.casmlinkage int sys_pipe(struct pt_regs *regs)
regs34arch/mips/kernel/syscall.cregs->reg2 = fd[0];
regs35arch/mips/kernel/syscall.cregs->reg3 = fd[1];
regs72arch/mips/kernel/syscall.casmlinkage int sys_fork(struct pt_regs *regs)
regs74arch/mips/kernel/syscall.creturn do_fork(SIGCHLD, regs->reg29, regs);
regs77arch/mips/kernel/syscall.casmlinkage int sys_clone(struct pt_regs *regs)
regs82arch/mips/kernel/syscall.cclone_flags = regs->reg4;
regs83arch/mips/kernel/syscall.cnewsp = regs->reg5;
regs85arch/mips/kernel/syscall.cnewsp = regs->reg29;
regs86arch/mips/kernel/syscall.creturn do_fork(clone_flags, newsp, regs);
regs92arch/mips/kernel/syscall.casmlinkage int sys_execve(struct pt_regs *regs)
regs97arch/mips/kernel/syscall.cerror = getname((char *) regs->reg4, &filename);
regs100arch/mips/kernel/syscall.cerror = do_execve(filename, (char **) regs->reg5,
regs101arch/mips/kernel/syscall.c(char **) regs->reg6, regs);
regs132arch/mips/kernel/syscall.cvoid do_sys(struct pt_regs *regs)
regs141arch/mips/kernel/syscall.cif (regs->cp0_cause & CAUSEF_BD)
regs154arch/mips/kernel/syscall.cregs->cp0_epc += 4;
regs156arch/mips/kernel/syscall.csyscallnr = regs->reg2;
regs173arch/mips/kernel/syscall.cusp = regs->reg29;
regs178arch/mips/kernel/syscall.cregs->reg2 = EFAULT;
regs179arch/mips/kernel/syscall.cregs->reg7 = 1;
regs190arch/mips/kernel/syscall.cerrno = do_syscalls(regs, syscall, narg);
regs194arch/mips/kernel/syscall.cregs->reg2 = errno;
regs195arch/mips/kernel/syscall.cregs->reg7 = 0;
regs201arch/mips/kernel/syscall.cerrno = do_syscalls(regs, syscall, narg);
regs204arch/mips/kernel/syscall.cregs->reg2 = -errno;
regs205arch/mips/kernel/syscall.cregs->reg7 = 1;
regs209arch/mips/kernel/syscall.cregs->reg2 = errno;
regs210arch/mips/kernel/syscall.cregs->reg7 = 0;
regs218arch/mips/kernel/syscall.cregs->reg2 = -errno;
regs219arch/mips/kernel/syscall.cregs->reg7 = 1;
regs222arch/mips/kernel/syscall.cregs->reg2 = ENOSYS;
regs223arch/mips/kernel/syscall.cregs->reg7 = 1;
regs187arch/mips/kernel/time.cstatic void timer_interrupt(int irq, struct pt_regs * regs)
regs189arch/mips/kernel/time.cdo_timer(regs);
regs83arch/mips/kernel/traps.cvoid die_if_kernel(char * str, struct pt_regs * regs, long err)
regs90arch/mips/kernel/traps.cif ((regs->cp0_status & (ST0_ERL|ST0_EXL)) == 0)
regs93arch/mips/kernel/traps.csp = (u32 *)regs->reg29;
regs94arch/mips/kernel/traps.cpc = (u32 *)regs->cp0_epc;
regs99arch/mips/kernel/traps.cshow_regs(regs);
regs160arch/mips/kernel/traps.cfix_ade(struct pt_regs *regs, int write)
regs166arch/mips/kernel/traps.cvoid do_adel(struct pt_regs *regs)
regs170arch/mips/kernel/traps.cfix_ade(regs, 0);
regs173arch/mips/kernel/traps.cshow_regs(regs);
regs179arch/mips/kernel/traps.cvoid do_ades(struct pt_regs *regs)
regs181arch/mips/kernel/traps.cunsigned long  pc = regs->cp0_epc;
regs186arch/mips/kernel/traps.cfix_ade(regs, 1);
regs196arch/mips/kernel/traps.cshow_regs(regs);
regs210arch/mips/kernel/traps.cvoid do_ibe(struct pt_regs *regs)
regs212arch/mips/kernel/traps.cshow_regs(regs);
regs217arch/mips/kernel/traps.cvoid do_dbe(struct pt_regs *regs)
regs219arch/mips/kernel/traps.cshow_regs(regs);
regs224arch/mips/kernel/traps.cvoid do_ov(struct pt_regs *regs)
regs226arch/mips/kernel/traps.cshow_regs(regs);
regs231arch/mips/kernel/traps.cvoid do_fpe(struct pt_regs *regs)
regs233arch/mips/kernel/traps.cshow_regs(regs);
regs238arch/mips/kernel/traps.cvoid do_bp(struct pt_regs *regs)
regs240arch/mips/kernel/traps.cshow_regs(regs);
regs245arch/mips/kernel/traps.cvoid do_tr(struct pt_regs *regs)
regs247arch/mips/kernel/traps.cshow_regs(regs);
regs252arch/mips/kernel/traps.cvoid do_ri(struct pt_regs *regs)
regs262arch/mips/kernel/traps.cshow_regs(regs);
regs267arch/mips/kernel/traps.cvoid do_cpu(struct pt_regs *regs)
regs271arch/mips/kernel/traps.ccpid = (regs->cp0_cause >> CAUSEB_CE) & 3;
regs275arch/mips/kernel/traps.cregs->cp0_status |= ST0_CU1;
regs288arch/mips/kernel/traps.cvoid do_vcei(struct pt_regs *regs)
regs297arch/mips/kernel/traps.cvoid do_vced(struct pt_regs *regs)
regs306arch/mips/kernel/traps.cvoid do_watch(struct pt_regs *regs)
regs311arch/mips/kernel/traps.cvoid do_reserved(struct pt_regs *regs)
regs29arch/mips/mm/fault.cdo_page_fault(struct pt_regs *regs, unsigned long writeaccess, unsigned long address)
regs36arch/mips/mm/fault.caddress, regs->cp0_epc, regs->reg31);
regs70arch/mips/mm/fault.cif (user_mode(regs)) {
regs82arch/mips/mm/fault.cdie_if_kernel("Oops", regs, writeaccess);
regs108arch/ppc/kernel/irq.casmlinkage void handle_IRQ(struct pt_regs *regs)
regs140arch/ppc/kernel/irq.caction->handler(irq, action->dev_id, regs);
regs340arch/ppc/kernel/irq.cstatic void no_action(int cpl, void *dev_id, struct pt_regs * regs) { }
regs28arch/ppc/kernel/mk_defs.cstruct pt_regs regs;
regs94arch/ppc/kernel/mk_defs.cput_line(out, "INT_FRAME_SIZE", sizeof(regs));
regs95arch/ppc/kernel/mk_defs.cput_line(out, "GPR0", (int)&regs.gpr[0]-(int)&regs);
regs96arch/ppc/kernel/mk_defs.cput_line(out, "GPR1", (int)&regs.gpr[1]-(int)&regs);
regs97arch/ppc/kernel/mk_defs.cput_line(out, "GPR2", (int)&regs.gpr[2]-(int)&regs);
regs98arch/ppc/kernel/mk_defs.cput_line(out, "GPR3", (int)&regs.gpr[3]-(int)&regs);
regs99arch/ppc/kernel/mk_defs.cput_line(out, "GPR4", (int)&regs.gpr[4]-(int)&regs);
regs100arch/ppc/kernel/mk_defs.cput_line(out, "GPR5", (int)&regs.gpr[5]-(int)&regs);
regs101arch/ppc/kernel/mk_defs.cput_line(out, "GPR6", (int)&regs.gpr[6]-(int)&regs);
regs102arch/ppc/kernel/mk_defs.cput_line(out, "GPR7", (int)&regs.gpr[7]-(int)&regs);
regs103arch/ppc/kernel/mk_defs.cput_line(out, "GPR8", (int)&regs.gpr[8]-(int)&regs);
regs104arch/ppc/kernel/mk_defs.cput_line(out, "GPR9", (int)&regs.gpr[9]-(int)&regs);
regs105arch/ppc/kernel/mk_defs.cput_line(out, "GPR10", (int)&regs.gpr[10]-(int)&regs);
regs106arch/ppc/kernel/mk_defs.cput_line(out, "GPR11", (int)&regs.gpr[11]-(int)&regs);
regs107arch/ppc/kernel/mk_defs.cput_line(out, "GPR12", (int)&regs.gpr[12]-(int)&regs);
regs108arch/ppc/kernel/mk_defs.cput_line(out, "GPR13", (int)&regs.gpr[13]-(int)&regs);
regs109arch/ppc/kernel/mk_defs.cput_line(out, "GPR14", (int)&regs.gpr[14]-(int)&regs);
regs110arch/ppc/kernel/mk_defs.cput_line(out, "GPR15", (int)&regs.gpr[15]-(int)&regs);
regs111arch/ppc/kernel/mk_defs.cput_line(out, "GPR16", (int)&regs.gpr[16]-(int)&regs);
regs112arch/ppc/kernel/mk_defs.cput_line(out, "GPR17", (int)&regs.gpr[17]-(int)&regs);
regs113arch/ppc/kernel/mk_defs.cput_line(out, "GPR18", (int)&regs.gpr[18]-(int)&regs);
regs114arch/ppc/kernel/mk_defs.cput_line(out, "GPR19", (int)&regs.gpr[19]-(int)&regs);
regs115arch/ppc/kernel/mk_defs.cput_line(out, "GPR20", (int)&regs.gpr[20]-(int)&regs);
regs116arch/ppc/kernel/mk_defs.cput_line(out, "GPR21", (int)&regs.gpr[21]-(int)&regs);
regs117arch/ppc/kernel/mk_defs.cput_line(out, "GPR22", (int)&regs.gpr[22]-(int)&regs);
regs118arch/ppc/kernel/mk_defs.cput_line(out, "GPR23", (int)&regs.gpr[23]-(int)&regs);
regs119arch/ppc/kernel/mk_defs.cput_line(out, "GPR24", (int)&regs.gpr[24]-(int)&regs);
regs120arch/ppc/kernel/mk_defs.cput_line(out, "GPR25", (int)&regs.gpr[25]-(int)&regs);
regs121arch/ppc/kernel/mk_defs.cput_line(out, "GPR26", (int)&regs.gpr[26]-(int)&regs);
regs122arch/ppc/kernel/mk_defs.cput_line(out, "GPR27", (int)&regs.gpr[27]-(int)&regs);
regs123arch/ppc/kernel/mk_defs.cput_line(out, "GPR28", (int)&regs.gpr[28]-(int)&regs);
regs124arch/ppc/kernel/mk_defs.cput_line(out, "GPR29", (int)&regs.gpr[29]-(int)&regs);
regs125arch/ppc/kernel/mk_defs.cput_line(out, "GPR30", (int)&regs.gpr[30]-(int)&regs);
regs126arch/ppc/kernel/mk_defs.cput_line(out, "GPR31", (int)&regs.gpr[31]-(int)&regs);
regs127arch/ppc/kernel/mk_defs.cput_line(out, "FPR0", (int)&regs.fpr[0]-(int)&regs);
regs128arch/ppc/kernel/mk_defs.cput_line(out, "FPR1", (int)&regs.fpr[1]-(int)&regs);
regs129arch/ppc/kernel/mk_defs.cput_line(out, "FPR2", (int)&regs.fpr[2]-(int)&regs);
regs130arch/ppc/kernel/mk_defs.cput_line(out, "FPR3", (int)&regs.fpr[3]-(int)&regs);
regs131arch/ppc/kernel/mk_defs.cput_line(out, "FPCSR", (int)&regs.fpcsr-(int)&regs);
regs133arch/ppc/kernel/mk_defs.cput_line(out, "_NIP", (int)&regs.nip-(int)&regs);
regs134arch/ppc/kernel/mk_defs.cput_line(out, "_MSR", (int)&regs.msr-(int)&regs);
regs135arch/ppc/kernel/mk_defs.cput_line(out, "_CTR", (int)&regs.ctr-(int)&regs);
regs136arch/ppc/kernel/mk_defs.cput_line(out, "_LINK", (int)&regs.link-(int)&regs);
regs137arch/ppc/kernel/mk_defs.cput_line(out, "_CCR", (int)&regs.ccr-(int)&regs);
regs138arch/ppc/kernel/mk_defs.cput_line(out, "_XER", (int)&regs.xer-(int)&regs);
regs139arch/ppc/kernel/mk_defs.cput_line(out, "_DAR", (int)&regs.dar-(int)&regs);
regs140arch/ppc/kernel/mk_defs.cput_line(out, "_DSISR", (int)&regs.dsisr-(int)&regs);
regs141arch/ppc/kernel/mk_defs.cput_line(out, "_HASH1", (int)&regs.hash1-(int)&regs);
regs142arch/ppc/kernel/mk_defs.cput_line(out, "_HASH2", (int)&regs.hash2-(int)&regs);
regs143arch/ppc/kernel/mk_defs.cput_line(out, "_IMISS", (int)&regs.imiss-(int)&regs);
regs144arch/ppc/kernel/mk_defs.cput_line(out, "_DMISS", (int)&regs.dmiss-(int)&regs);
regs145arch/ppc/kernel/mk_defs.cput_line(out, "_ICMP", (int)&regs.icmp-(int)&regs);
regs146arch/ppc/kernel/mk_defs.cput_line(out, "_DCMP", (int)&regs.dcmp-(int)&regs);
regs147arch/ppc/kernel/mk_defs.cput_line(out, "ORIG_GPR3", (int)&regs.orig_gpr3-(int)&regs);
regs148arch/ppc/kernel/mk_defs.cput_line(out, "RESULT", (int)&regs.result-(int)&regs);
regs149arch/ppc/kernel/mk_defs.cput_line(out, "TRAP", (int)&regs.trap-(int)&regs);
regs150arch/ppc/kernel/mk_defs.cput_line(out, "MARKER", (int)&regs.marker-(int)&regs);
regs41arch/ppc/kernel/process.cstruct pt_regs *regs;
regs44arch/ppc/kernel/process.cregs = (struct pt_regs *)new->tss.ksp;
regs79arch/ppc/kernel/process.cvoid show_regs(struct pt_regs * regs)
regs99arch/ppc/kernel/process.cstruct task_struct * p, struct pt_regs * regs)
regs124arch/ppc/kernel/process.c*childregs = *regs;  /* STRUCT COPY */
regs127arch/ppc/kernel/process.cif (usp >= (unsigned long)regs)
regs139arch/ppc/kernel/process.cvoid dump_thread(struct pt_regs * regs, struct user * dump)
regs147arch/ppc/kernel/process.cvoid start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp)
regs149arch/ppc/kernel/process.cregs->nip = eip;
regs150arch/ppc/kernel/process.cregs->gpr[1] = esp;
regs151arch/ppc/kernel/process.cregs->msr = MSR_USER;
regs156arch/ppc/kernel/process.cregs, eip, regs->msr, esp);
regs163arch/ppc/kernel/process.casmlinkage int sys_newselect(int p1, int p2, int p3, int p4, int p5, int p6, struct pt_regs *regs)
regs168arch/ppc/kernel/process.casmlinkage int sys_fork(int p1, int p2, int p3, int p4, int p5, int p6, struct pt_regs *regs)
regs181arch/ppc/kernel/process.creturn do_fork( SIGCHLD, regs->gpr[1], regs);
regs186arch/ppc/kernel/process.cstruct pt_regs *regs)
regs193arch/ppc/kernel/process.cif ( regs->marker != 0xDEADDEAD )
regs201arch/ppc/kernel/process.cerror = do_execve(filename, (char **) a1, (char **) a2, regs);
regs210arch/ppc/kernel/process.cstruct pt_regs *regs)
regs215arch/ppc/kernel/process.cusp = regs->gpr[1];
regs220arch/ppc/kernel/process.creturn do_fork(/*clone_flags*/CLONE_VM, /*usp*/ regs->gpr[1], regs);
regs26arch/ppc/kernel/signal.casmlinkage int sys_sigsuspend(unsigned long set, int p2, int p3, int p4, int p6, int p7, struct pt_regs *regs)
regs32arch/ppc/kernel/signal.cregs->gpr[3] = -EINTR;
regs34arch/ppc/kernel/signal.cprintk("Task: %x[%d] - SIGSUSPEND at %x, Mask: %x\n", current, current->pid, regs->nip, set);  
regs39arch/ppc/kernel/signal.cif (do_signal(mask,regs))
regs47arch/ppc/kernel/signal.casmlinkage int sys_sigreturn(struct pt_regs *regs)
regs52arch/ppc/kernel/signal.csc = (struct sigcontext_struct *)regs->gpr[1];
regs54arch/ppc/kernel/signal.cint_regs = sc->regs;
regs59arch/ppc/kernel/signal.cmemcpy(regs, int_regs, sizeof(*regs));
regs60arch/ppc/kernel/signal.cif ((int)regs->orig_gpr3 >= 0 &&
regs61arch/ppc/kernel/signal.c((int)regs->result == -ERESTARTNOHAND ||
regs62arch/ppc/kernel/signal.c(int)regs->result == -ERESTARTSYS ||
regs63arch/ppc/kernel/signal.c(int)regs->result == -ERESTARTNOINTR))
regs65arch/ppc/kernel/signal.cregs->gpr[3] = regs->orig_gpr3;
regs66arch/ppc/kernel/signal.cregs->nip -= 4; /* Back up & retry system call */
regs67arch/ppc/kernel/signal.cregs->result = 0;
regs69arch/ppc/kernel/signal.creturn (regs->result);
regs72arch/ppc/kernel/signal.cregs->gpr[1] = (unsigned long)sc;
regs73arch/ppc/kernel/signal.cregs->gpr[3] = sc->signal;
regs74arch/ppc/kernel/signal.cregs->gpr[4] = sc->regs;
regs75arch/ppc/kernel/signal.cregs->link = (unsigned long)((sc->regs)+1);
regs76arch/ppc/kernel/signal.cregs->nip = sc->handler;
regs91arch/ppc/kernel/signal.casmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs)
regs163arch/ppc/kernel/signal.cif (current->binfmt->core_dump(signr, regs))
regs176arch/ppc/kernel/signal.cif ((int)regs->orig_gpr3 >= 0) {
regs177arch/ppc/kernel/signal.cif ((int)regs->result == -ERESTARTNOHAND ||
regs178arch/ppc/kernel/signal.c((int)regs->result == -ERESTARTSYS && !(sa->sa_flags & SA_RESTART)))
regs179arch/ppc/kernel/signal.c(int)regs->result = -EINTR;
regs189arch/ppc/kernel/signal.cnip = regs->nip;
regs190arch/ppc/kernel/signal.cframe = (unsigned long *) regs->gpr[1];
regs196arch/ppc/kernel/signal.cframe -= sizeof(*regs) / sizeof(long);
regs198arch/ppc/kernel/signal.cmemcpy(regs_ptr, regs, sizeof(*regs));
regs216arch/ppc/kernel/signal.csc->regs = (unsigned long)regs_ptr;
regs219arch/ppc/kernel/signal.cregs->gpr[3] = signr;
regs220arch/ppc/kernel/signal.cregs->gpr[4] = (unsigned long)regs_ptr;
regs222arch/ppc/kernel/signal.cregs->link = (unsigned long)trampoline;
regs223arch/ppc/kernel/signal.cregs->nip = nip;
regs224arch/ppc/kernel/signal.cregs->gpr[1] = (unsigned long)sc;
regs41arch/ppc/kernel/traps.c_exception(int signr, struct pt_regs *regs)
regs43arch/ppc/kernel/traps.cdump_regs(regs);
regs45arch/ppc/kernel/traps.cif (!user_mode(regs))
regs47arch/ppc/kernel/traps.cprintk("Failure in kernel at PC: %x, MSR: %x\n", regs->nip, regs->msr);
regs52arch/ppc/kernel/traps.cMachineCheckException(struct pt_regs *regs)
regs56arch/ppc/kernel/traps.cprintk("Machine check at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr);
regs65arch/ppc/kernel/traps.c_exception(SIGSEGV, regs);  
regs68arch/ppc/kernel/traps.cProgramCheckException(struct pt_regs *regs)
regs70arch/ppc/kernel/traps.cprintk("Program check at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr);
regs72arch/ppc/kernel/traps.c_exception(SIGILL, regs);
regs75arch/ppc/kernel/traps.cFloatingPointCheckException(struct pt_regs *regs)
regs77arch/ppc/kernel/traps.cprintk("Floating point check at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr);
regs78arch/ppc/kernel/traps.c_exception(SIGFPE, regs);  
regs81arch/ppc/kernel/traps.cAlignmentException(struct pt_regs *regs)
regs83arch/ppc/kernel/traps.cprintk("Alignment error at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr);
regs84arch/ppc/kernel/traps.c_exception(SIGBUS, regs);  
regs87arch/ppc/kernel/traps.cbad_stack(struct pt_regs *regs)
regs89arch/ppc/kernel/traps.cprintk("Kernel stack overflow at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr);
regs90arch/ppc/kernel/traps.cdump_regs(regs);
regs94arch/ppc/kernel/traps.cdump_regs(struct pt_regs *regs)
regs97arch/ppc/kernel/traps.cprintk("NIP: %08X, MSR: %08X, XER: %08X, LR: %08X, FRAME: %08X\n", regs->nip, regs->msr, regs->xer, regs->link, regs);
regs98arch/ppc/kernel/traps.cprintk("HASH = %08X/%08X, MISS = %08X/%08X, CMP = %08X/%08X\n", regs->hash1, regs->hash2, regs->imiss, regs->dmiss, regs->icmp, regs->dcmp);
regs106arch/ppc/kernel/traps.cprintk("%08X ", regs->gpr[i]);
regs112arch/ppc/kernel/traps.cdump_buf(regs->nip, 32);
regs113arch/ppc/kernel/traps.cdump_buf((regs->nip&0x0FFFFFFF)|KERNELBASE, 32);
regs116arch/ppc/kernel/traps.ctrace_syscall(struct pt_regs *regs)
regs118arch/ppc/kernel/traps.cprintk("Task: %08X(%d), PC: %08X/%08X, Syscall: %3d, Result: %d\n", current, current->pid, regs->nip, regs->link, regs->gpr[0], regs->gpr[3]);
regs35arch/ppc/mm/fault.cDataAccessException(struct pt_regs *regs)
regs41arch/ppc/mm/fault.cif (user_mode(regs)) mode |= 0x04;
regs42arch/ppc/mm/fault.cif (regs->dsisr & 0x02000000) mode |= 0x02;  /* Load/store */
regs43arch/ppc/mm/fault.cif (regs->dsisr & 0x08000000) mode |= 0x01;  /* Protection violation */
regs45arch/ppc/mm/fault.cprintk("Data fault on %x\n",regs->dar);
regs50arch/ppc/mm/fault.cprintk("Write Protect Fault - Loc: %x, DSISR: %x, PC: %x\n", regs->dar, regs->dsisr, regs->nip);
regs55arch/ppc/mm/fault.cdo_page_fault(regs, regs->dar, mode);
regs64arch/ppc/mm/fault.cdir = pgd_offset(current->mm, regs->dar & PAGE_MASK);
regs67arch/ppc/mm/fault.cpmd = pmd_offset(dir, regs->dar & PAGE_MASK);
regs70arch/ppc/mm/fault.cpte = pte_offset(pmd, regs->dar & PAGE_MASK);
regs76arch/ppc/mm/fault.cMMU_hash_page(&current->tss, regs->dar & PAGE_MASK, pte);
regs86arch/ppc/mm/fault.cregs->dar,regs->nip);
regs89arch/ppc/mm/fault.cdo_page_fault(regs, regs->dar, mode);
regs97arch/ppc/mm/fault.cInstructionAccessException(struct pt_regs *regs)
regs105arch/ppc/mm/fault.cprintk("Instr fault on %x\n",regs->dar);
regs107arch/ppc/mm/fault.cif (user_mode(regs)) mode |= 0x04;
regs108arch/ppc/mm/fault.cif (regs->dsisr & 0x02000000) mode |= 0x02;  /* Load/store */
regs109arch/ppc/mm/fault.cif (regs->dsisr & 0x08000000) mode |= 0x01;  /* Protection violation */
regs113arch/ppc/mm/fault.cdo_page_fault(regs, regs->dar, mode); 
regs119arch/ppc/mm/fault.cdir = pgd_offset(current->mm, regs->dar & PAGE_MASK);
regs126arch/ppc/mm/fault.cpmd = pmd_offset(dir, regs->dar & PAGE_MASK); 
regs129arch/ppc/mm/fault.cpte = pte_offset(pmd, regs->dar & PAGE_MASK); 
regs136arch/ppc/mm/fault.ccurrent->mm->pgd+((regs->dar&PAGE_MASK) >> PGDIR_SHIFT));
regs156arch/ppc/mm/fault.cMMU_hash_page(&current->tss, regs->dar & PAGE_MASK, pte); 
regs164arch/ppc/mm/fault.cregs->dar, regs->dsisr, regs->nip, current->mm);
regs168arch/ppc/mm/fault.cdo_page_fault(regs, regs->dar, mode);
regs183arch/ppc/mm/fault.cvoid do_page_fault(struct pt_regs *regs, unsigned long address, unsigned long error_code)
regs195arch/ppc/mm/fault.cregs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code);
regs213arch/ppc/mm/fault.cprintk("stack: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code);
regs222arch/ppc/mm/fault.cprintk("stack2: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code);
regs265arch/ppc/mm/fault.cprintk("regs = %x\n", regs);
regs283arch/ppc/mm/fault.cif (user_mode(regs)) {
regs284arch/ppc/mm/fault.cprintk("Task: %x, PC: %x, bad area! - Addr: %x\n", current, regs->nip, address);
regs290arch/ppc/mm/fault.ccurrent, regs->nip, address, current->tss.pg_tables);
regs231arch/sparc/kernel/irq.cvoid unexpected_irq(int irq, void *dev_id, struct pt_regs * regs)
regs237arch/sparc/kernel/irq.cprintk("PC = %08lx NPC = %08lx FP=%08lx\n", regs->pc, 
regs238arch/sparc/kernel/irq.cregs->npc, regs->u_regs[14]);
regs248arch/sparc/kernel/irq.cvoid handler_irq(int irq, struct pt_regs * regs)
regs255arch/sparc/kernel/irq.cunexpected_irq(irq, action->dev_id, regs);
regs257arch/sparc/kernel/irq.caction->handler(irq, action->dev_id, regs);
regs269arch/sparc/kernel/irq.casmlinkage void do_IRQ(int irq, struct pt_regs * regs)
regs275arch/sparc/kernel/irq.caction->handler(irq, action->dev_id, regs);
regs312arch/sparc/kernel/probe.cmstk48t02_regs = &mstk48t08_regs->regs;
regs73arch/sparc/kernel/process.cvoid show_regs(struct pt_regs * regs)
regs75arch/sparc/kernel/process.cprintk("PSR: %08lx PC: %08lx NPC: %08lx Y: %08lx\n", regs->psr,
regs76arch/sparc/kernel/process.cregs->pc, regs->npc, regs->y);
regs78arch/sparc/kernel/process.cregs->u_regs[0], regs->u_regs[1], regs->u_regs[2],
regs79arch/sparc/kernel/process.cregs->u_regs[3]);
regs81arch/sparc/kernel/process.cregs->u_regs[4], regs->u_regs[5], regs->u_regs[6],
regs82arch/sparc/kernel/process.cregs->u_regs[7]);
regs84arch/sparc/kernel/process.cregs->u_regs[8], regs->u_regs[9], regs->u_regs[10],
regs85arch/sparc/kernel/process.cregs->u_regs[11]);
regs87arch/sparc/kernel/process.cregs->u_regs[12], regs->u_regs[13], regs->u_regs[14],
regs88arch/sparc/kernel/process.cregs->u_regs[15]);
regs157arch/sparc/kernel/process.cstruct task_struct *p, struct pt_regs *regs)
regs171arch/sparc/kernel/process.cif(regs->psr & PSR_PS)
regs174arch/sparc/kernel/process.c*childregs = *regs;
regs176arch/sparc/kernel/process.cold_stack = (((struct reg_window *) regs) - 1);
regs185arch/sparc/kernel/process.cif(regs->psr & PSR_PS) {
regs197arch/sparc/kernel/process.cregs->u_regs[UREG_I1] = 0;
regs203arch/sparc/kernel/process.cvoid dump_thread(struct pt_regs * regs, struct user * dump)
regs209arch/sparc/kernel/process.cdump->regs.psr = regs->psr;
regs210arch/sparc/kernel/process.cdump->regs.pc = regs->pc;
regs211arch/sparc/kernel/process.cdump->regs.npc = regs->npc;
regs212arch/sparc/kernel/process.cdump->regs.y = regs->y;
regs214arch/sparc/kernel/process.cmemcpy(&dump->regs.regs[0], &regs->u_regs[1], (sizeof(unsigned long) * 15));
regs221arch/sparc/kernel/process.cfirst_stack_page = (regs->u_regs[UREG_FP] & ~(PAGE_SIZE - 1));
regs223arch/sparc/kernel/process.cmemcpy(&dump->fpu.fpstatus.fregs.regs[0], &current->tss.float_regs[0], (sizeof(unsigned long) * 32));
regs245arch/sparc/kernel/process.casmlinkage int sparc_execve(struct pt_regs *regs)
regs251arch/sparc/kernel/process.cerror = getname((char *) regs->u_regs[UREG_I0], &filename);
regs254arch/sparc/kernel/process.cerror = do_execve(filename, (char **) regs->u_regs[UREG_I1],
regs255arch/sparc/kernel/process.c(char **) regs->u_regs[UREG_I2], regs);
regs25arch/sparc/kernel/signal.casmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs);
regs31arch/sparc/kernel/signal.casmlinkage inline void _sigpause_common(unsigned int set, struct pt_regs *regs)
regs43arch/sparc/kernel/signal.cregs->pc = regs->npc;
regs44arch/sparc/kernel/signal.cregs->npc += 4;
regs45arch/sparc/kernel/signal.cregs->psr |= PSR_C;
regs46arch/sparc/kernel/signal.cregs->u_regs[UREG_I0] = EINTR;
regs51arch/sparc/kernel/signal.cif (do_signal(mask, regs))
regs56arch/sparc/kernel/signal.casmlinkage void do_sigpause(unsigned int set, struct pt_regs *regs)
regs58arch/sparc/kernel/signal.c_sigpause_common(set, regs);
regs61arch/sparc/kernel/signal.casmlinkage void do_sigsuspend(unsigned int *sigmaskp, struct pt_regs *regs)
regs71arch/sparc/kernel/signal.cregs->pc = regs->npc;
regs72arch/sparc/kernel/signal.cregs->npc += 4;
regs73arch/sparc/kernel/signal.cregs->u_regs[UREG_I0] = EFAULT;
regs74arch/sparc/kernel/signal.cregs->psr |= PSR_C;
regs78arch/sparc/kernel/signal.c_sigpause_common(set, regs);
regs81arch/sparc/kernel/signal.casmlinkage void do_sigreturn(struct pt_regs *regs)
regs84arch/sparc/kernel/signal.c(struct sigcontext_struct *) regs->u_regs[UREG_I0];
regs92arch/sparc/kernel/signal.ccurrent->comm, current->pid, regs->pc, scptr);
regs101arch/sparc/kernel/signal.cregs->pc = scptr->sigc_pc;
regs102arch/sparc/kernel/signal.cregs->npc = scptr->sigc_npc;
regs103arch/sparc/kernel/signal.cregs->u_regs[UREG_FP] = scptr->sigc_sp;
regs104arch/sparc/kernel/signal.cregs->u_regs[UREG_I0] = scptr->sigc_o0;
regs105arch/sparc/kernel/signal.cregs->u_regs[UREG_G1] = scptr->sigc_g1;
regs108arch/sparc/kernel/signal.cregs->psr &= (~PSR_ICC);
regs109arch/sparc/kernel/signal.cregs->psr |= (scptr->sigc_psr & PSR_ICC);
regs138arch/sparc/kernel/signal.cunsigned long pc, unsigned long npc, struct pt_regs *regs,
regs171arch/sparc/kernel/signal.csc->sigc_sp = regs->u_regs[UREG_FP];
regs174arch/sparc/kernel/signal.csc->sigc_psr = regs->psr;
regs175arch/sparc/kernel/signal.csc->sigc_g1 = regs->u_regs[UREG_G1];
regs176arch/sparc/kernel/signal.csc->sigc_o0 = regs->u_regs[UREG_I0];
regs187arch/sparc/kernel/signal.cmemcpy(sframep, (char *)regs->u_regs[UREG_FP],
regs204arch/sparc/kernel/signal.cregs->u_regs[UREG_FP] = (unsigned long) *fp;
regs217arch/sparc/kernel/signal.casmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs)
regs257arch/sparc/kernel/signal.cif(current->binfmt->core_dump(signr, regs))
regs268arch/sparc/kernel/signal.cif(regs->psr & PSR_C) {
regs269arch/sparc/kernel/signal.cif(regs->u_regs[UREG_I0] == ERESTARTNOHAND ||
regs270arch/sparc/kernel/signal.c(regs->u_regs[UREG_I0] == ERESTARTSYS && !(sa->sa_flags & SA_RESTART)))
regs271arch/sparc/kernel/signal.cregs->u_regs[UREG_I0] = EINTR;
regs276arch/sparc/kernel/signal.cif((regs->psr & PSR_C) &&
regs277arch/sparc/kernel/signal.c(regs->u_regs[UREG_I0] == ERESTARTNOHAND ||
regs278arch/sparc/kernel/signal.cregs->u_regs[UREG_I0] == ERESTARTSYS ||
regs279arch/sparc/kernel/signal.cregs->u_regs[UREG_I0] == ERESTARTNOINTR)) {
regs281arch/sparc/kernel/signal.cregs->u_regs[UREG_I0] = regs->u_regs[UREG_G0];
regs282arch/sparc/kernel/signal.cregs->pc -= 4;
regs283arch/sparc/kernel/signal.cregs->npc -= 4;
regs287arch/sparc/kernel/signal.cpc = regs->pc;
regs288arch/sparc/kernel/signal.cnpc = regs->npc;
regs289arch/sparc/kernel/signal.cframe = (struct sigcontext_struct *) regs->u_regs[UREG_FP];
regs297arch/sparc/kernel/signal.csetup_frame(sa, &frame, pc, npc, regs, signr, oldmask);
regs305arch/sparc/kernel/signal.cregs->pc = pc;
regs306arch/sparc/kernel/signal.cregs->npc = npc;
regs138arch/sparc/kernel/smp.cvoid smp_reschedule_irq(int cpl, struct pt_regs *regs)
regs143arch/sparc/kernel/smp.cif(user_mode(regs)) {
regs163arch/sparc/kernel/smp.cunsigned long eip = regs->eip - (unsigned long) &_stext;
regs201arch/sparc/kernel/smp.cvoid smp_message_irq(int cpl, struct pt_regs *regs)
regs37arch/sparc/kernel/sys_bsd.cstruct pt_regs *regs;
regs39arch/sparc/kernel/sys_bsd.cregs = (struct pt_regs *) (current->saved_kernel_stack +
regs41arch/sparc/kernel/sys_bsd.ccurrent->tss.sig_address = regs->pc;
regs42arch/sparc/kernel/sys_bsd.ccurrent->tss.sig_desc = regs->u_regs[UREG_G1];
regs45arch/sparc/kernel/sys_bsd.c(int) regs->u_regs[UREG_G1]);
regs46arch/sparc/kernel/sys_bsd.cshow_regs(regs);
regs32arch/sparc/kernel/sys_sparc.casmlinkage void sparc_pipe(struct pt_regs *regs)
regs39arch/sparc/kernel/sys_sparc.cregs->u_regs[UREG_I0] = error;
regs41arch/sparc/kernel/sys_sparc.cregs->u_regs[UREG_I0] = fd[0];
regs42arch/sparc/kernel/sys_sparc.cregs->u_regs[UREG_I1] = fd[1];
regs519arch/sparc/kernel/sys_sunos.cstruct pt_regs *regs;
regs521arch/sparc/kernel/sys_sunos.cregs = (struct pt_regs *) (current->saved_kernel_stack +
regs523arch/sparc/kernel/sys_sunos.ccurrent->tss.sig_address = regs->pc;
regs524arch/sparc/kernel/sys_sunos.ccurrent->tss.sig_desc = regs->u_regs[UREG_G1];
regs527arch/sparc/kernel/sys_sunos.c(int) regs->u_regs[UREG_G1]);
regs528arch/sparc/kernel/sys_sunos.cshow_regs(regs);
regs39arch/sparc/kernel/time.cvoid timer_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs48arch/sparc/kernel/time.cdo_timer(regs);
regs147arch/sparc/kernel/time.cmstk48t02_regs = &mstk48t08_regs->regs;
regs33arch/sparc/kernel/traps.cvoid syscall_trace_entry(struct pt_regs *regs)
regs36arch/sparc/kernel/traps.cprintk("scall<%d> (could be %d)\n", (int) regs->u_regs[UREG_G1],
regs37arch/sparc/kernel/traps.c(int) regs->u_regs[UREG_I0]);
regs40arch/sparc/kernel/traps.cvoid syscall_trace_exit(struct pt_regs *regs)
regs44arch/sparc/kernel/traps.cvoid die_if_kernel(char *str, struct pt_regs *regs)
regs49arch/sparc/kernel/traps.cif(regs->psr & PSR_PS)
regs52arch/sparc/kernel/traps.cshow_regs(regs);
regs54arch/sparc/kernel/traps.cpc = (unsigned long *) regs->pc;
regs73arch/sparc/kernel/traps.cvoid do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs77arch/sparc/kernel/traps.cdie_if_kernel("Kernel illegal instruction", regs);
regs83arch/sparc/kernel/traps.cvoid do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs87arch/sparc/kernel/traps.cdie_if_kernel("Penguin instruction from Penguin mode??!?!", regs);
regs95arch/sparc/kernel/traps.cvoid do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs98arch/sparc/kernel/traps.cif(regs->psr & PSR_PS)
regs99arch/sparc/kernel/traps.cdie_if_kernel("Kernel MNA access", regs);
regs116arch/sparc/kernel/traps.cvoid do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs121arch/sparc/kernel/traps.cdie_if_kernel("Kernel gets Penguin-FPU disabled trap", regs);
regs124arch/sparc/kernel/traps.cregs->psr |= PSR_EF;
regs148arch/sparc/kernel/traps.cvoid do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs161arch/sparc/kernel/traps.cregs->psr &= ~PSR_EF;
regs173arch/sparc/kernel/traps.cregs->pc);
regs174arch/sparc/kernel/traps.cregs->pc = regs->npc;
regs175arch/sparc/kernel/traps.cregs->npc += 4;
regs179arch/sparc/kernel/traps.cregs);
regs184arch/sparc/kernel/traps.cregs->psr &= ~PSR_EF;
regs189arch/sparc/kernel/traps.cvoid handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs193arch/sparc/kernel/traps.cdie_if_kernel("Penguin overflow trap from kernel mode", regs);
regs199arch/sparc/kernel/traps.cvoid handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs209arch/sparc/kernel/traps.cvoid handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs217arch/sparc/kernel/traps.cvoid handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs223arch/sparc/kernel/traps.cvoid handle_bad_flush(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs231arch/sparc/kernel/traps.cvoid handle_cp_exception(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs239arch/sparc/kernel/traps.cvoid handle_hw_divzero(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs93arch/sparc/kernel/windows.cvoid try_to_clear_window_buffer(struct pt_regs *regs, int who)
regs104arch/sparc/mm/fault.casmlinkage void sparc_lvl15_nmi(struct pt_regs *regs, unsigned long serr,
regs115arch/sparc/mm/fault.cshow_regs(regs);
regs119arch/sparc/mm/fault.casmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write,
regs123arch/sparc/mm/fault.cint from_user = !(regs->psr & PSR_PS);
regs126arch/sparc/mm/fault.caddress = regs->pc;
regs179arch/sparc/mm/fault.cregs->pc = regs->npc;
regs180arch/sparc/mm/fault.cregs->npc += 4;
regs192arch/sparc/mm/fault.cdie_if_kernel("Oops", regs);
regs241arch/sparc/mm/fault.cvoid window_ret_fault(struct pt_regs *regs)
regs243arch/sparc/mm/fault.cunsigned long sp = regs->u_regs[UREG_FP];
regs794arch/sparc/mm/srmmu.ciommu->regs = (struct iommu_regs *)
regs797arch/sparc/mm/srmmu.cif(!iommu->regs)
regs799arch/sparc/mm/srmmu.cimpl = (iommu->regs->control & IOMMU_CTRL_IMPL) >> 28;
regs800arch/sparc/mm/srmmu.cvers = (iommu->regs->control & IOMMU_CTRL_VERS) >> 24;
regs801arch/sparc/mm/srmmu.ctmp = iommu->regs->control;
regs804arch/sparc/mm/srmmu.ciommu->regs->control = tmp;
regs805arch/sparc/mm/srmmu.ciommu_invalidate(iommu->regs);
regs822arch/sparc/mm/srmmu.ciommu->regs->base = (((unsigned long) iommu->page_table) - PAGE_OFFSET) >> 4;
regs824arch/sparc/mm/srmmu.ciommu_invalidate(iommu->regs);
regs861arch/sparc/mm/srmmu.ciommu_invalidate(iommu->regs);
regs878arch/sparc/mm/srmmu.ciommu_invalidate(iommu->regs);
regs998arch/sparc/mm/sun4c.cvoid sun4c_switch_heuristic(struct pt_regs *regs)
regs1000arch/sparc/mm/sun4c.cunsigned long sp = regs->u_regs[UREG_FP];
regs1003arch/sparc/mm/sun4c.cforce_user_fault(regs->pc, 0);
regs55arch/sparc/prom/ranges.cprom_apply_obio_ranges(struct linux_prom_registers *regs, int nregs)
regs58arch/sparc/prom/ranges.cprom_adjust_regs(regs, nregs, promlib_obio_ranges, num_obio_ranges);
regs64arch/sparc/prom/ranges.cprom_apply_sbus_ranges(struct linux_prom_registers *regs, int nregs)
regs67arch/sparc/prom/ranges.cprom_adjust_regs(regs, nregs, promlib_sbus_ranges, num_sbus_ranges);
regs1583drivers/block/floppy.cstatic void floppy_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs933drivers/block/hd.cstatic void hd_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs1571drivers/block/ide.cstatic void ide_intr (int irq, void *dev_id, struct pt_regs *regs)
regs394drivers/block/xd.cstatic void xd_interrupt_handler(int irq, void *dev_id, struct pt_regs * regs)
regs524drivers/cdrom/cdu31a.ccdu31a_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs224drivers/cdrom/cm206.cstatic void cm206_interrupt(int sig, void *dev_id, struct pt_regs * regs) /* you rang? */
regs632drivers/cdrom/mcd.cmcd_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs868drivers/cdrom/mcdx.cmcdx_intr(int irq, void *dev_id, struct pt_regs* regs)
regs316drivers/cdrom/sonycd535.ccdu535_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs72drivers/char/atixlmouse.cvoid mouse_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs63drivers/char/busmouse.cstatic void mouse_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs613drivers/char/cyclades.ccy_probe(int irq, void *dev_id, struct pt_regs *regs)
regs646drivers/char/cyclades.ccy_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs1165drivers/char/ftape/fdc-io.cstatic void ftape_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs340drivers/char/keyboard.cstatic void keyboard_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs347drivers/char/keyboard.cpt_regs = regs;
regs151drivers/char/lp.cstatic void lp_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs51drivers/char/msbusmouse.cstatic void ms_mouse_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs211drivers/char/psaux.cstatic void aux_interrupt(int cpl, void *dev_id, struct pt_regs * regs)
regs237drivers/char/psaux.cstatic void qp_interrupt(int cpl, void *dev_id, struct pt_regs * regs)
regs241drivers/char/scc.cstatic void scc_isr(int irq, void *dev_id, struct pt_regs *regs);
regs735drivers/char/scc.cscc_isr(int irq, void *dev_id, struct pt_regs *regs)
regs356drivers/char/serial.cstatic void rs_probe(int irq, void *dev_id, struct pt_regs * regs)
regs519drivers/char/serial.cstatic void rs_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs585drivers/char/serial.cstatic void rs_interrupt_single(int irq, void *dev_id, struct pt_regs * regs)
regs634drivers/char/serial.cstatic void rs_interrupt_multi(int irq, void *dev_id, struct pt_regs * regs)
regs517drivers/char/stallion.cstatic void  stl_intr(int irq, void *dev_id, struct pt_regs *regs);
regs1831drivers/char/stallion.cstatic void stl_intr(int irq, void *dev_id, struct pt_regs *regs)
regs1839drivers/char/stallion.cprintk("stl_intr(irq=%d,regs=%x)\n", irq, (int) regs);
regs1800drivers/char/tpqic02.cstatic void qic02_tape_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs72drivers/char/wdt.cstatic void wdt_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs671drivers/isdn/teles/card.cteles_interrupt(int intno, void *dev_id, struct pt_regs *regs)
regs122drivers/net/3c501.cstatic void el_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs491drivers/net/3c501.cstatic void el_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs283drivers/net/3c507.cstatic void  el16_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs516drivers/net/3c507.cel16_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs114drivers/net/3c509.cstatic void el3_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs479drivers/net/3c509.cel3_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs240drivers/net/3c59x.cstatic void vortex_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs739drivers/net/3c59x.cstatic void vortex_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs742drivers/net/3c59x.cstruct device *dev = (struct device *)(irq == 0 ? regs : irq2dev_map[irq]);
regs260drivers/net/8390.cvoid ei_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs36drivers/net/8390.hextern void ei_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs186drivers/net/apricot.cstatic void i596_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs746drivers/net/apricot.ci596_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs614drivers/net/arcnet.cstatic void arcnet_interrupt(int irq,void *dev_id,struct pt_regs *regs);
regs1887drivers/net/arcnet.carcnet_interrupt(int irq,void *dev_id,struct pt_regs *regs)
regs120drivers/net/at1700.cstatic void net_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs443drivers/net/at1700.cnet_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs138drivers/net/atp.cstatic void net_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs487drivers/net/atp.cnet_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs53drivers/net/auto_irq.cstatic void autoirq_probe(int irq, void *dev_id, struct pt_regs * regs)
regs533drivers/net/de4x5.cstatic void    de4x5_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs1113drivers/net/de4x5.cde4x5_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs250drivers/net/de600.cstatic void  de600_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs491drivers/net/de600.cde600_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs601drivers/net/de620.cde620_interrupt(int irq_in, void *dev_id, struct pt_regs *regs)
regs384drivers/net/depca.cstatic void   depca_interrupt(int irq, void *dev_id, struct pt_regs * regs);
regs839drivers/net/depca.cdepca_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs138drivers/net/eepro.cstatic void  eepro_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs664drivers/net/eepro.ceepro_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs232drivers/net/eexpress.cstatic void                    eexp_irq  (int irq, void *dev_addr, struct pt_regs *regs);
regs490drivers/net/eexpress.cstatic void eexp_irq(int irq, void *dev_info, struct pt_regs *regs)
regs329drivers/net/eth16i.cstatic void eth16i_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs1089drivers/net/eth16i.cstatic void eth16i_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs291drivers/net/ewrk3.cstatic void   ewrk3_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs874drivers/net/ewrk3.cewrk3_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs113drivers/net/fmv18x.cstatic void net_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs407drivers/net/fmv18x.cnet_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs199drivers/net/hp100.cstatic void hp100_interrupt( int irq, void *dev_id, struct pt_regs *regs );
regs893drivers/net/hp100.cstatic void hp100_interrupt( int irq, void *dev_id, struct pt_regs *regs )
regs157drivers/net/ibmtr.cvoid tok_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs627drivers/net/ibmtr.cvoid tok_interrupt (int irq, void *dev_id, struct pt_regs *regs)
regs278drivers/net/lance.cstatic void lance_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs852drivers/net/lance.clance_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs119drivers/net/ni65.cstatic void ni65_interrupt(int irq, void * dev_id, struct pt_regs *regs);
regs454drivers/net/ni65.cstatic void ni65_interrupt(int irq, void * dev_id, struct pt_regs * regs)
regs152drivers/net/pi2.cstatic void pi_interrupt(int reg_ptr, void *dev_id, struct pt_regs *regs);
regs1512drivers/net/pi2.cstatic void pi_interrupt(int reg_ptr, void *dev_id, struct pt_regs *regs)
regs142drivers/net/plip.cstatic void plip_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs803drivers/net/plip.cplip_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs123drivers/net/pt.cstatic void pt_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs1483drivers/net/pt.cstatic void pt_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs84drivers/net/seeq8005.cstatic void seeq8005_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs421drivers/net/seeq8005.cseeq8005_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs489drivers/net/sk_g16.cstatic void  SK_interrupt(int irq, void *dev_id, struct pt_regs * regs);
regs1310drivers/net/sk_g16.cstatic void SK_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs103drivers/net/skeleton.cstatic void net_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs400drivers/net/skeleton.cnet_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs260drivers/net/smc9194.cstatic void smc_interrupt(int irq, void *, struct pt_regs *regs);
regs262drivers/net/smc9194.cstatic void smc_interrupt(int irq, struct pt_regs *regs);
regs1279drivers/net/smc9194.cstatic void smc_interrupt(int irq, void * dev_id,  struct pt_regs * regs)
regs1281drivers/net/smc9194.cstatic void smc_interrupt(int irq, struct pt_regs * regs)
regs299drivers/net/sunlance.cprintk ("dcsr=%8.8x\n", (unsigned int) lp->ledma->regs->cond_reg);
regs309drivers/net/sunlance.clp->ledma->regs->cond_reg |= DMA_INT_ENAB;
regs431drivers/net/sunlance.clance_interrupt (int irq, void *dev_id, struct pt_regs *regs)
regs442drivers/net/sunlance.cif (lp->ledma->regs->cond_reg & DMA_HNDL_ERROR){
regs444drivers/net/sunlance.c(unsigned int) lp->ledma->regs->cond_reg, ll->rdp); 
regs503drivers/net/sunlance.clp->ledma->regs->dma_test = ((unsigned int) lp->init_block) & 0xff000000;
regs514drivers/net/sunlance.clp->ledma->regs->cond_reg |= DMA_INT_ENAB;
regs558drivers/net/sunlance.clp->ledma->regs->cond_reg |= DMA_RST_ENET;
regs560drivers/net/sunlance.clp->ledma->regs->cond_reg &= ~DMA_RST_ENET;
regs561drivers/net/sunlance.clp->ledma->regs->cond_reg |= DMA_INT_ENAB;
regs158drivers/net/tulip.cstatic void tulip_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs447drivers/net/tulip.cstatic void tulip_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs1859drivers/net/wavelan.cwavelan_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs185drivers/net/znet.cstatic void  znet_interrupt(int irq, void *dev_id, struct pt_regs *regs);
regs405drivers/net/znet.cstatic void  znet_interrupt(int irq, void *dev_id, struct pt_regs * regs)
regs280drivers/scsi/53c7,8xx.cstatic void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
regs4335drivers/scsi/53c7,8xx.cNCR53c7x0_intr (int irq, void *dev_id, struct pt_regs * regs) {
regs134drivers/scsi/AM53C974.cstatic void AM53C974_intr(int irq, void *dev_id, struct pt_regs *regs);
regs928drivers/scsi/AM53C974.cstatic void AM53C974_intr(int irq, void *dev_id, struct pt_regs *regs)
regs619drivers/scsi/NCR5380.cstatic void probe_intr (int irq, void *dev_id, struct pt_regs * regs) {
regs1126drivers/scsi/NCR5380.cstatic void NCR5380_intr (int irq, void *dev_id, struct pt_regs * regs) {
regs278drivers/scsi/NCR5380.hstatic void NCR5380_intr (int irq, void *dev_id, struct pt_regs * regs);
regs766drivers/scsi/NCR53c406a.cNCR53c406a_intr(int unused, void *dev_id, struct pt_regs *regs){
regs3580drivers/scsi/advansys.cadvansys_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs1310drivers/scsi/aha152x.cvoid aha152x_intr(int irqno, void *dev_id, struct pt_regs * regs)
regs356drivers/scsi/aha1542.cstatic void aha1542_intr_handle(int irq, void *dev_id, struct pt_regs *regs)
regs177drivers/scsi/aha1740.cvoid aha1740_intr_handle(int irq, void *dev_id, struct pt_regs * regs)
regs1683drivers/scsi/aic7xxx.caic7xxx_isr(int irq, void *dev_id, struct pt_regs * regs)
regs887drivers/scsi/eata.cstatic void eata2x_interrupt_handler(int irq, void *dev_id, struct pt_regs * regs) {
regs117drivers/scsi/eata_dma.cvoid eata_fake_int_handler(s32 irq, void *dev_id, struct pt_regs * regs)
regs153drivers/scsi/eata_dma.cvoid eata_int_handler(int irq, void *dev_id, struct pt_regs * regs)
regs127drivers/scsi/eata_pio.cvoid eata_pio_int_handler(int irq, void *dev_id, struct pt_regs * regs)
regs350drivers/scsi/fdomain.cextern void              fdomain_16x0_intr( int irq, void *dev_id, struct pt_regs * regs );
regs1224drivers/scsi/fdomain.cvoid fdomain_16x0_intr( int irq, void *dev_id, struct pt_regs * regs )
regs281drivers/scsi/in2000.cstatic void in2000_intr_handle(int irq, void *dev_id, struct pt_regs *regs)
regs449drivers/scsi/qlogic.cstatic void         ql_ihandl(int irq, void *dev_id, struct pt_regs * regs)
regs496drivers/scsi/seagate.cstatic void seagate_reconnect_intr(int irq, void *dev_id, struct pt_regs *regs)
regs841drivers/scsi/u14-34f.cstatic void u14_34f_interrupt_handler(int irq, void *dev_id, struct pt_regs * regs) {
regs1028drivers/scsi/ultrastor.cstatic void ultrastor_interrupt(int irq, void *dev_id, struct pt_regs *regs)
regs811drivers/scsi/wd7000.cvoid wd7000_intr_handle(int irq, void *dev_id, struct pt_regs * regs)
regs892drivers/sound/sscape.cstatic unsigned char regs[10] = SSCAPE_REGS;
regs914drivers/sound/sscape.cif (hw_config->irq > 15 || (regs[4] = irq_bits == 0xff))
regs940drivers/sound/sscape.csscape_write (devc, i, (regs[i] & 0x3f) |
regs953drivers/sound/sscape.csscape_write (devc, i, regs[i]);
regs30fs/binfmt_aout.cstatic int load_aout_binary(struct linux_binprm *, struct pt_regs * regs);
regs32fs/binfmt_aout.cstatic int aout_core_dump(long signr, struct pt_regs * regs);
regs79fs/binfmt_aout.cdo_aout_core_dump(long signr, struct pt_regs * regs)
regs134fs/binfmt_aout.cdump.u_ar0 = (void *)(((unsigned long)(&dump.regs)) - ((unsigned long)(&dump)));
regs136fs/binfmt_aout.cdump_thread(regs, &dump);
regs190fs/binfmt_aout.caout_core_dump(long signr, struct pt_regs * regs)
regs195fs/binfmt_aout.cretval = do_aout_core_dump(signr, regs);
regs259fs/binfmt_aout.cdo_load_aout_binary(struct linux_binprm * bprm, struct pt_regs * regs)
regs392fs/binfmt_aout.cregs->gp = ex.a_gpvalue;
regs394fs/binfmt_aout.cstart_thread(regs, ex.a_entry, p);
regs401fs/binfmt_aout.cload_aout_binary(struct linux_binprm * bprm, struct pt_regs * regs)
regs406fs/binfmt_aout.cretval = do_load_aout_binary(bprm, regs);
regs40fs/binfmt_elf.cstatic int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs);
regs42fs/binfmt_elf.cstatic int elf_core_dump(long signr, struct pt_regs * regs);
regs333fs/binfmt_elf.cdo_load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs)
regs682fs/binfmt_elf.cregs->edx = 0;
regs684fs/binfmt_elf.cstart_thread(regs, elf_entry, bprm->p);
regs691fs/binfmt_elf.cload_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs)
regs696fs/binfmt_elf.cretval = do_load_elf_binary(bprm, regs);
regs883fs/binfmt_elf.cstatic const char *regs[] = { "ebx", "ecx", "edx", "esi", "edi", "ebp",
regs892fs/binfmt_elf.cprintk("   %-2d %-5s=%08lx %lu\n", i, regs[i], val, val);
regs935fs/binfmt_elf.cstatic int elf_core_dump(long signr, struct pt_regs * regs)
regs1070fs/binfmt_elf.c*(struct pt_regs *)&prstatus.pr_reg = *regs;
regs1073fs/binfmt_elf.cdump_regs("Passed in regs", (elf_greg_t *)regs);
regs14fs/binfmt_script.cstatic int do_load_script(struct linux_binprm *bprm,struct pt_regs *regs)
regs95fs/binfmt_script.creturn search_binary_handler(bprm,regs);
regs98fs/binfmt_script.cstatic int load_script(struct linux_binprm *bprm,struct pt_regs *regs)
regs102fs/binfmt_script.cretval = do_load_script(bprm,regs);
regs501fs/exec.cint search_binary_handler(struct linux_binprm *bprm,struct pt_regs *regs)
regs537fs/exec.cretval = fn(bprm, regs);
regs573fs/exec.cint do_execve(char * filename, char ** argv, char ** envp, struct pt_regs * regs)
regs607fs/exec.cretval = search_binary_handler(&bprm,regs);
regs77include/asm-alpha/processor.hstatic inline void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp)
regs79include/asm-alpha/processor.hregs->pc = pc;
regs80include/asm-alpha/processor.hregs->ps = 8;
regs66include/asm-alpha/ptrace.h#define user_mode(regs) ((regs)->ps & 8)
regs67include/asm-alpha/ptrace.h#define instruction_pointer(regs) ((regs)->pc)
regs281include/asm-alpha/unistd.hstruct pt_regs regs;
regs283include/asm-alpha/unistd.hmemset(&regs, 0, sizeof(regs));
regs284include/asm-alpha/unistd.hi = do_execve(file, argvp, envp, &regs);
regs289include/asm-alpha/unistd.h: :"r" (&regs), "r" (ret_from_sys_call));
regs33include/asm-alpha/user.hunsigned long  regs[EF_SIZE/8+32];  /* integer and fp regs */
regs41include/asm-alpha/user.hstruct regs *  u_ar0;      /* help gdb find registers */
regs63include/asm-i386/processor.hstruct fpu_reg  regs[8];  /* 8*16 bytes for each FP-reg = 128 bytes */
regs130include/asm-i386/processor.hstatic inline void start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp)
regs132include/asm-i386/processor.hregs->cs = USER_CS;
regs133include/asm-i386/processor.hregs->ds = regs->es = regs->ss = regs->fs = regs->gs = USER_DS;
regs134include/asm-i386/processor.hregs->eip = eip;
regs135include/asm-i386/processor.hregs->esp = esp;
regs47include/asm-i386/ptrace.h#define user_mode(regs) ((VM_MASK & (regs)->eflags) || (3 & (regs)->cs))
regs48include/asm-i386/ptrace.h#define instruction_pointer(regs) ((regs)->eip)
regs188include/asm-i386/smp.hextern void smp_message_irq(int cpl, void *dev_id, struct pt_regs *regs);
regs189include/asm-i386/smp.hextern void smp_reschedule_irq(int cpl, struct pt_regs *regs);
regs50include/asm-i386/user.hstruct pt_regs regs;    /* Where the registers are actually stored */
regs172include/asm-mips/processor.hvoid start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp)
regs179include/asm-mips/processor.hregs->cp0_epc = pc;
regs183include/asm-mips/processor.hregs->cp0_status = (regs->cp0_status & ~(ST0_CU0|ST0_KSU)) | KSU_USER;
regs188include/asm-mips/processor.hregs->reg29 = sp;
regs207include/asm-mips/processor.h#define USES_USER_TIME(regs) (!((regs)->cp0_status & 0x18))
regs211include/asm-mips/processor.h#define USES_USER_TIME(regs) (!((regs)->cp0_status & 0x4))
regs64include/asm-mips/ptrace.h#define user_mode(regs) ((regs)->cp0_status & 0x10)
regs68include/asm-mips/ptrace.h#define user_mode(regs) (!((regs)->cp0_status & 0x8))
regs72include/asm-mips/ptrace.h#define instruction_pointer(regs) ((regs)->cp0_epc)
regs33include/asm-mips/user.hunsigned long  regs[EF_SIZE/8+32];  /* integer and fp regs */
regs41include/asm-mips/user.hstruct regs *  u_ar0;      /* help gdb find registers */
regs53include/asm-ppc/processor.hstatic inline void start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp)
regs55include/asm-ppc/processor.hregs->nip = eip;
regs56include/asm-ppc/processor.hregs->gpr[1] = esp;
regs57include/asm-ppc/processor.hregs->msr = MSR_USER;
regs47include/asm-ppc/ptrace.h#define instruction_pointer(regs) ((regs)->nip)
regs48include/asm-ppc/ptrace.h#define user_mode(regs) ((regs)->msr & 0x4000)
regs12include/asm-ppc/sigcontext.hstruct pt_regs   *regs;
regs53include/asm-sparc/dma.hstruct sparc_dma_registers *regs;
regs129include/asm-sparc/dma.h#define DMA_ERROR_P(regs)  ((((regs)->cond_reg) & DMA_HNDL_ERROR))
regs130include/asm-sparc/dma.h#define DMA_IRQ_P(regs)    ((((regs)->cond_reg) & DMA_HNDL_INTR))
regs131include/asm-sparc/dma.h#define DMA_WRITE_P(regs)  ((((regs)->cond_reg) & DMA_ST_WRITE))
regs132include/asm-sparc/dma.h#define DMA_OFF(regs)      ((((regs)->cond_reg) &= (~DMA_ENABLE)))
regs133include/asm-sparc/dma.h#define DMA_INTSOFF(regs)  ((((regs)->cond_reg) &= (~DMA_INT_ENAB)))
regs134include/asm-sparc/dma.h#define DMA_INTSON(regs)   ((((regs)->cond_reg) |= (DMA_INT_ENAB)))
regs135include/asm-sparc/dma.h#define DMA_PUNTFIFO(regs) ((((regs)->cond_reg) |= DMA_FIFO_INV))
regs136include/asm-sparc/dma.h#define DMA_SETSTART(regs, addr)  ((((regs)->st_addr) = (char *) addr))
regs137include/asm-sparc/dma.h#define DMA_BEGINDMA_W(regs) \
regs138include/asm-sparc/dma.h((((regs)->cond_reg |= (DMA_ST_WRITE|DMA_ENABLE|DMA_INT_ENAB))))
regs139include/asm-sparc/dma.h#define DMA_BEGINDMA_R(regs) \
regs140include/asm-sparc/dma.h((((regs)->cond_reg |= ((DMA_ENABLE|DMA_INT_ENAB)&(~DMA_ST_WRITE)))))
regs158include/asm-sparc/dma.hextern inline void sparc_dma_pause(struct sparc_dma_registers *regs,
regs164include/asm-sparc/dma.hwhile((regs->cond_reg&bit) && (ctr>0)) {
regs176include/asm-sparc/dma.hstruct sparc_dma_registers *regs = dma->regs;                      \
regs178include/asm-sparc/dma.hsparc_dma_pause(regs, (DMA_FIFO_ISDRAIN));                         \
regs180include/asm-sparc/dma.hregs->cond_reg |= (DMA_RST_SCSI);     /* assert */                 \
regs182include/asm-sparc/dma.hregs->cond_reg &= ~(DMA_RST_SCSI);    /* de-assert */              \
regs183include/asm-sparc/dma.hsparc_dma_enable_interrupts(regs);    /* Re-enable interrupts */   \
regs185include/asm-sparc/dma.hif(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS;            \
regs253include/asm-sparc/floppy.hextern void floppy_hardint(int irq, void *unused, struct pt_regs *regs);
regs100include/asm-sparc/iommu.hstruct iommu_regs *regs;
regs107include/asm-sparc/iommu.hextern inline void iommu_invalidate(struct iommu_regs *regs)
regs109include/asm-sparc/iommu.hregs->tlbflush = 0;
regs112include/asm-sparc/iommu.hextern inline void iommu_invalidate_page(struct iommu_regs *regs, unsigned long page)
regs114include/asm-sparc/iommu.hregs->pageflush = (page & PAGE_MASK);
regs68include/asm-sparc/mostek.hstruct mostek48t02 regs;     /* Here is what we are interested in.   */
regs115include/asm-sparc/processor.hextern inline void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp)
regs117include/asm-sparc/processor.hunsigned long saved_psr = (regs->psr & (PSR_CWP)) | PSR_S;
regs120include/asm-sparc/processor.hfor(i = 0; i < 16; i++) regs->u_regs[i] = 0;
regs121include/asm-sparc/processor.hregs->y = 0;
regs122include/asm-sparc/processor.hregs->pc = ((pc & (~3)) - 4);
regs123include/asm-sparc/processor.hregs->npc = regs->pc + 4;
regs124include/asm-sparc/processor.hregs->psr = saved_psr;
regs125include/asm-sparc/processor.hregs->u_regs[UREG_G1] = sp; /* Base of arg/env stack area */
regs126include/asm-sparc/processor.hregs->u_regs[UREG_G2] = regs->u_regs[UREG_G7] = regs->npc;
regs127include/asm-sparc/processor.hregs->u_regs[UREG_FP] = (sp - REGWIN_SZ);
regs65include/asm-sparc/ptrace.h#define user_mode(regs) (!((regs)->psr & PSR_PS))
regs66include/asm-sparc/ptrace.h#define instruction_pointer(regs) ((regs)->pc)
regs49include/asm-sparc/smp.hextern void smp_message_irq(int cpl, struct pt_regs *regs);
regs50include/asm-sparc/smp.hextern void smp_reschedule_irq(int cpl, struct pt_regs *regs);
regs11include/asm-sparc/user.hunsigned long regs[15];
regs21include/asm-sparc/user.hunsigned long regs[32];
regs39include/asm-sparc/user.hstruct sunos_regs regs;
regs36include/linux/binfmts.hint (*load_binary)(struct linux_binprm *, struct  pt_regs * regs);
regs38include/linux/binfmts.hint (*core_dump)(long signr, struct pt_regs * regs);
regs89include/linux/vm86.hstruct vm86_regs regs;
regs120include/linux/xd.hstatic void xd_interrupt_handler (int irq, void *dev_id, struct pt_regs *regs);
regs6kernel/exec_domain.cstatic asmlinkage void no_lcall7(struct pt_regs * regs);
regs29kernel/exec_domain.cstatic asmlinkage void no_lcall7(struct pt_regs * regs)
regs48kernel/exec_domain.ccurrent->exec_domain->handler(regs);
regs199kernel/fork.cint do_fork(unsigned long clone_flags, unsigned long usp, struct pt_regs *regs)
regs264kernel/fork.ccopy_thread(nr, clone_flags, usp, p, regs);
regs776kernel/sched.cvoid do_timer(struct pt_regs * regs)
regs833kernel/sched.cif (user_mode(regs)) {
regs852kernel/sched.cunsigned long ip = instruction_pointer(regs);
regs892kernel/sched.cif (((cpu==i) && user_mode(regs)) ||
regs912kernel/sched.cunsigned long ip = instruction_pointer(regs);