tag | line | file | source code |
dump | 142 | arch/alpha/kernel/process.c | void dump_thread(struct pt_regs * regs, struct user * dump) |
dump | 197 | arch/i386/kernel/process.c | void dump_thread(struct pt_regs * regs, struct user * dump) |
dump | 202 | arch/i386/kernel/process.c | dump->magic = CMAGIC; |
dump | 203 | arch/i386/kernel/process.c | dump->start_code = 0; |
dump | 204 | arch/i386/kernel/process.c | dump->start_stack = regs->esp & ~(PAGE_SIZE - 1); |
dump | 205 | arch/i386/kernel/process.c | dump->u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
dump | 206 | arch/i386/kernel/process.c | dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
dump | 207 | arch/i386/kernel/process.c | dump->u_dsize -= dump->u_tsize; |
dump | 208 | arch/i386/kernel/process.c | dump->u_ssize = 0; |
dump | 210 | arch/i386/kernel/process.c | dump->u_debugreg[i] = current->debugreg[i]; |
dump | 212 | arch/i386/kernel/process.c | if (dump->start_stack < TASK_SIZE) |
dump | 213 | arch/i386/kernel/process.c | dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> 12; |
dump | 215 | arch/i386/kernel/process.c | dump->regs = *regs; |
dump | 220 | arch/i386/kernel/process.c | if ((dump->u_fpvalid = current->used_math) != 0) { |
dump | 222 | arch/i386/kernel/process.c | __asm__("clts ; fnsave %0": :"m" (dump->i387)); |
dump | 224 | arch/i386/kernel/process.c | memcpy(&dump->i387,¤t->tss.i387.hard,sizeof(dump->i387)); |
dump | 229 | arch/i386/kernel/process.c | dump->u_fpvalid = 0; |
dump | 127 | arch/mips/kernel/process.c | void dump_thread(struct pt_regs * regs, struct user * dump) |
dump | 136 | arch/mips/kernel/process.c | dump->magic = CMAGIC; |
dump | 137 | arch/mips/kernel/process.c | dump->start_code = 0; |
dump | 138 | arch/mips/kernel/process.c | dump->start_stack = regs->esp & ~(PAGE_SIZE - 1); |
dump | 139 | arch/mips/kernel/process.c | dump->u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
dump | 140 | arch/mips/kernel/process.c | dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
dump | 141 | arch/mips/kernel/process.c | dump->u_dsize -= dump->u_tsize; |
dump | 142 | arch/mips/kernel/process.c | dump->u_ssize = 0; |
dump | 144 | arch/mips/kernel/process.c | dump->u_debugreg[i] = current->debugreg[i]; |
dump | 146 | arch/mips/kernel/process.c | if (dump->start_stack < TASK_SIZE) |
dump | 147 | arch/mips/kernel/process.c | dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> 12; |
dump | 149 | arch/mips/kernel/process.c | dump->regs = *regs; |
dump | 154 | arch/mips/kernel/process.c | if ((dump->u_fpvalid = current->used_math) != 0) { |
dump | 156 | arch/mips/kernel/process.c | __asm__("clts ; fnsave %0": :"m" (dump->i387)); |
dump | 158 | arch/mips/kernel/process.c | memcpy(&dump->i387,¤t->tss.i387.hard,sizeof(dump->i387)); |
dump | 163 | arch/mips/kernel/process.c | dump->u_fpvalid = 0; |
dump | 94 | arch/sparc/kernel/process.c | void dump_thread(struct pt_regs * regs, struct user * dump) |
dump | 175 | fs/exec.c | struct user dump; |
dump | 215 | fs/exec.c | strncpy(dump.u_comm, current->comm, sizeof(current->comm)); |
dump | 216 | fs/exec.c | dump.u_ar0 = (struct pt_regs *)(((unsigned long)(&dump.regs)) - ((unsigned long)(&dump))); |
dump | 217 | fs/exec.c | dump.signal = signr; |
dump | 218 | fs/exec.c | dump_thread(regs, &dump); |
dump | 222 | fs/exec.c | if ((dump.u_dsize+dump.u_ssize+1) * PAGE_SIZE > |
dump | 224 | fs/exec.c | dump.u_dsize = 0; |
dump | 227 | fs/exec.c | if ((dump.u_ssize+1) * PAGE_SIZE > |
dump | 229 | fs/exec.c | dump.u_ssize = 0; |
dump | 233 | fs/exec.c | DUMP_WRITE(&dump,sizeof(dump)); |
dump | 239 | fs/exec.c | if (dump.u_dsize != 0) { |
dump | 240 | fs/exec.c | dump_start = dump.u_tsize << 12; |
dump | 241 | fs/exec.c | dump_size = dump.u_dsize << 12; |
dump | 245 | fs/exec.c | if (dump.u_ssize != 0) { |
dump | 246 | fs/exec.c | dump_start = dump.start_stack; |
dump | 247 | fs/exec.c | dump_size = dump.u_ssize << 12; |
dump | 65 | fs/proc/array.c | struct user dump; |
dump | 67 | fs/proc/array.c | memset(&dump, 0, sizeof(struct user)); |
dump | 68 | fs/proc/array.c | dump.magic = CMAGIC; |
dump | 69 | fs/proc/array.c | dump.u_dsize = high_memory >> 12; |
dump | 83 | fs/proc/array.c | pnt = (char *) &dump + p; |