tag | line | file | source code |
dump | 74 | fs/exec.c | struct user dump; |
dump | 106 | fs/exec.c | dump.magic = CMAGIC; |
dump | 107 | fs/exec.c | dump.start_code = 0; |
dump | 108 | fs/exec.c | dump.start_stack = regs->esp & ~(PAGE_SIZE - 1); |
dump | 109 | fs/exec.c | dump.u_tsize = ((unsigned long) current->end_code) >> 12; |
dump | 110 | fs/exec.c | dump.u_dsize = ((unsigned long) (current->brk + (PAGE_SIZE-1))) >> 12; |
dump | 111 | fs/exec.c | dump.u_dsize -= dump.u_tsize; |
dump | 112 | fs/exec.c | dump.u_ssize = 0; |
dump | 113 | fs/exec.c | if (dump.start_stack < TASK_SIZE) |
dump | 114 | fs/exec.c | dump.u_ssize = ((unsigned long) (TASK_SIZE - dump.start_stack)) >> 12; |
dump | 117 | fs/exec.c | if ((dump.u_dsize+dump.u_ssize+1) * PAGE_SIZE > |
dump | 119 | fs/exec.c | dump.u_dsize = 0; |
dump | 121 | fs/exec.c | if ((dump.u_ssize+1) * PAGE_SIZE > |
dump | 123 | fs/exec.c | dump.u_ssize = 0; |
dump | 124 | fs/exec.c | dump.u_comm = 0; |
dump | 125 | fs/exec.c | dump.u_ar0 = (struct pt_regs *)(((int)(&dump.regs)) -((int)(&dump))); |
dump | 126 | fs/exec.c | dump.signal = signr; |
dump | 127 | fs/exec.c | dump.regs = *regs; |
dump | 131 | fs/exec.c | if ((dump.u_fpvalid = current->used_math) != 0) { |
dump | 133 | fs/exec.c | __asm__("clts ; fnsave %0"::"m" (dump.i387)); |
dump | 135 | fs/exec.c | memcpy(&dump.i387,¤t->tss.i387.hard,sizeof(dump.i387)); |
dump | 140 | fs/exec.c | dump.u_fpvalid = 0; |
dump | 144 | fs/exec.c | DUMP_WRITE(&dump,sizeof(dump)); |
dump | 152 | fs/exec.c | if (dump.u_dsize != 0) { |
dump | 153 | fs/exec.c | dump_start = dump.u_tsize << 12; |
dump | 154 | fs/exec.c | dump_size = dump.u_dsize << 12; |
dump | 158 | fs/exec.c | if (dump.u_ssize != 0) { |
dump | 159 | fs/exec.c | dump_start = dump.start_stack; |
dump | 160 | fs/exec.c | dump_size = dump.u_ssize << 12; |
dump | 38 | kernel/chr_drv/mem.c | struct user dump; |
dump | 40 | kernel/chr_drv/mem.c | memset(&dump, 0, sizeof(struct user)); |
dump | 41 | kernel/chr_drv/mem.c | dump.magic = CMAGIC; |
dump | 42 | kernel/chr_drv/mem.c | dump.u_dsize = high_memory >> 12; |
dump | 56 | kernel/chr_drv/mem.c | pnt = (char *) &dump + p; |