tag | line | file | source code |
regs | 67 | fs/exec.c | int core_dump(long signr, struct pt_regs * regs) |
regs | 108 | fs/exec.c | dump.start_stack = regs->esp & ~(PAGE_SIZE - 1); |
regs | 125 | fs/exec.c | dump.u_ar0 = (struct pt_regs *)(((int)(&dump.regs)) -((int)(&dump))); |
regs | 127 | fs/exec.c | dump.regs = *regs; |
regs | 109 | include/linux/sched.h | struct fpu_reg regs[8]; /* 8*16 bytes for each FP-reg = 128 bytes */ |
regs | 49 | include/linux/user.h | struct pt_regs regs; /* Where the registers are actually stored */ |
regs | 46 | include/linux/vm86.h | struct vm86_regs regs; |
regs | 35 | kernel/FPU-emu/fpu_aux.c | regs[r].sign = 0; |
regs | 36 | kernel/FPU-emu/fpu_aux.c | regs[r].tag = TW_Empty; |
regs | 37 | kernel/FPU-emu/fpu_aux.c | regs[r].exp = 0; |
regs | 38 | kernel/FPU-emu/fpu_aux.c | regs[r].sigh = 0; |
regs | 39 | kernel/FPU-emu/fpu_aux.c | regs[r].sigl = 0; |
regs | 58 | kernel/FPU-emu/fpu_emu.h | #define st(x) ( regs[((top+x) &7 )] ) |
regs | 32 | kernel/FPU-emu/fpu_system.h | #define regs (I387.soft.regs) |
regs | 1159 | kernel/FPU-emu/reg_ld_str.c | regs[i].tag = TW_Valid; |
regs | 1162 | kernel/FPU-emu/reg_ld_str.c | regs[i].tag = TW_Zero; |
regs | 1165 | kernel/FPU-emu/reg_ld_str.c | regs[i].tag = TW_NaN; |
regs | 1168 | kernel/FPU-emu/reg_ld_str.c | regs[i].tag = TW_Empty; |
regs | 1191 | kernel/FPU-emu/reg_ld_str.c | tag = regs[i].tag; |
regs | 1192 | kernel/FPU-emu/reg_ld_str.c | reg_move(&FPU_loaded_data, ®s[i]); |
regs | 1195 | kernel/FPU-emu/reg_ld_str.c | unsigned char t = regs[i].tag; |
regs | 1197 | kernel/FPU-emu/reg_ld_str.c | regs[i].tag = TW_NaN; |
regs | 1200 | kernel/FPU-emu/reg_ld_str.c | regs[i].tag = tag; |
regs | 1218 | kernel/FPU-emu/reg_ld_str.c | switch ( tag = regs[i].tag ) |
regs | 1264 | kernel/FPU-emu/reg_ld_str.c | rp = ®s[i]; |
regs | 149 | kernel/irq.c | void do_IRQ(int irq, struct pt_regs * regs) |
regs | 153 | kernel/irq.c | sa->sa_handler((int) regs); |
regs | 392 | kernel/sched.c | static void do_timer(struct pt_regs * regs) |
regs | 400 | kernel/sched.c | if ((VM_MASK & regs->eflags) || (3 & regs->cs)) { |
regs | 411 | kernel/sched.c | unsigned long eip = regs->eip; |
regs | 21 | kernel/signal.c | extern int core_dump(long signr,struct pt_regs * regs); |
regs | 22 | kernel/signal.c | int do_signal(unsigned long oldmask, struct pt_regs * regs); |
regs | 53 | kernel/signal.c | struct pt_regs * regs = (struct pt_regs *) &restart; |
regs | 57 | kernel/signal.c | regs->eax = -EINTR; |
regs | 61 | kernel/signal.c | if (do_signal(mask,regs)) |
regs | 151 | kernel/signal.c | struct pt_regs * regs; |
regs | 153 | kernel/signal.c | regs = (struct pt_regs *) &signr; |
regs | 155 | kernel/signal.c | regs->esp = esp; |
regs | 165 | kernel/signal.c | static unsigned long * setup_first(struct pt_regs * regs, |
regs | 170 | kernel/signal.c | regs->esp -= 18*4; |
regs | 171 | kernel/signal.c | tmp_esp = (unsigned long *) regs->esp; |
regs | 174 | kernel/signal.c | put_fs_long(regs->esp+15*4,tmp_esp); /* points to the stack.. */ |
regs | 188 | kernel/signal.c | static void setup_other(unsigned long eip, struct pt_regs * regs, int signr, |
regs | 193 | kernel/signal.c | regs->esp -= 9*4; |
regs | 194 | kernel/signal.c | tmp_esp = (unsigned long *) regs->esp; |
regs | 197 | kernel/signal.c | put_fs_long(regs->esp+6*4,tmp_esp); /* points to the stack.. */ |
regs | 214 | kernel/signal.c | int do_signal(unsigned long oldmask, struct pt_regs * regs) |
regs | 255 | kernel/signal.c | if (core_dump(signr,regs)) |
regs | 266 | kernel/signal.c | if (regs->orig_eax >= 0) { |
regs | 267 | kernel/signal.c | if (regs->eax == -ERESTARTNOHAND || |
regs | 268 | kernel/signal.c | (regs->eax == -ERESTARTSYS && (sa->sa_flags & SA_INTERRUPT))) |
regs | 269 | kernel/signal.c | regs->eax = -EINTR; |
regs | 276 | kernel/signal.c | frame = setup_first(regs,signr,sa_handler,oldmask); |
regs | 278 | kernel/signal.c | setup_other(eip,regs,signr,sa_handler,oldmask); |
regs | 283 | kernel/signal.c | if (regs->orig_eax >= 0 && |
regs | 284 | kernel/signal.c | (regs->eax == -ERESTARTNOHAND || |
regs | 285 | kernel/signal.c | regs->eax == -ERESTARTSYS || |
regs | 286 | kernel/signal.c | regs->eax == -ERESTARTNOINTR)) { |
regs | 287 | kernel/signal.c | regs->eax = regs->orig_eax; |
regs | 288 | kernel/signal.c | regs->eip -= 2; |
regs | 293 | kernel/signal.c | put_fs_long(regs->edi,frame); /* suitable order for "popad" */ |
regs | 294 | kernel/signal.c | put_fs_long(regs->esi,frame+1); |
regs | 295 | kernel/signal.c | put_fs_long(regs->ebp,frame+2); /* using 'frame++' instead of the 'frame+x' */ |
regs | 296 | kernel/signal.c | put_fs_long(regs->esp,frame+3); /* form used now results in atrocious code */ |
regs | 297 | kernel/signal.c | put_fs_long(regs->ebx,frame+4); /* due to gcc not being very good at optimizing */ |
regs | 298 | kernel/signal.c | put_fs_long(regs->edx,frame+5); /* things with inline-assembly/functions.. */ |
regs | 299 | kernel/signal.c | put_fs_long(regs->ecx,frame+6); |
regs | 300 | kernel/signal.c | put_fs_long(regs->eax,frame+7); |
regs | 301 | kernel/signal.c | put_fs_long(regs->eflags,frame+8); /* flags */ |
regs | 302 | kernel/signal.c | put_fs_long(regs->eip,frame+9); /* original return address */ |
regs | 307 | kernel/signal.c | regs->eip = eip; /* "return" to the first handler */ |
regs | 139 | kernel/sys.c | unsigned long save_v86_state(struct vm86_regs * regs) |
regs | 147 | kernel/sys.c | memcpy_tofs(&(current->vm86_info->regs),regs,sizeof(*regs)); |
regs | 186 | kernel/sys.c | info.regs.__null_ds = 0; |
regs | 187 | kernel/sys.c | info.regs.__null_es = 0; |
regs | 188 | kernel/sys.c | info.regs.__null_fs = 0; |
regs | 189 | kernel/sys.c | info.regs.__null_gs = 0; |
regs | 195 | kernel/sys.c | info.regs.eflags &= 0x00000dd5; |
regs | 196 | kernel/sys.c | info.regs.eflags |= 0xfffff22a & pt_regs->eflags; |
regs | 197 | kernel/sys.c | info.regs.eflags |= VM_MASK; |
regs | 206 | kernel/sys.c | "ret"::"g" ((long) &(info.regs)),"a" (info.regs.eax)); |