/linux-2.4.37.9/arch/m68k/kernel/ |
D | process.c | 288 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument 293 dump->magic = CMAGIC; in dump_thread() 294 dump->start_code = 0; in dump_thread() 295 dump->start_stack = rdusp() & ~(PAGE_SIZE - 1); in dump_thread() 296 dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT; in dump_thread() 297 dump->u_dsize = ((unsigned long) (current->mm->brk + in dump_thread() 299 dump->u_dsize -= dump->u_tsize; in dump_thread() 300 dump->u_ssize = 0; in dump_thread() 302 if (dump->start_stack < TASK_SIZE) in dump_thread() 303 dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> PAGE_SHIFT; in dump_thread() [all …]
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | process.c | 342 dump_thread(struct pt_regs * pt, struct user * dump) in dump_thread() argument 347 dump->magic = CMAGIC; in dump_thread() 348 dump->start_code = current->mm->start_code; in dump_thread() 349 dump->start_data = current->mm->start_data; in dump_thread() 350 dump->start_stack = rdusp() & ~(PAGE_SIZE - 1); in dump_thread() 351 dump->u_tsize = ((current->mm->end_code - dump->start_code) in dump_thread() 353 dump->u_dsize = ((current->mm->brk + PAGE_SIZE-1 - dump->start_data) in dump_thread() 355 dump->u_ssize = (current->mm->start_stack - dump->start_stack in dump_thread() 363 dump->regs[EF_V0] = pt->r0; in dump_thread() 364 dump->regs[EF_T0] = pt->r1; in dump_thread() [all …]
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | process.c | 577 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument 582 dump->magic = CMAGIC; in dump_thread() 583 dump->start_code = 0; in dump_thread() 584 dump->start_stack = regs->esp & ~(PAGE_SIZE - 1); in dump_thread() 585 dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT; in dump_thread() 586 dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; in dump_thread() 587 dump->u_dsize -= dump->u_tsize; in dump_thread() 588 dump->u_ssize = 0; in dump_thread() 590 dump->u_debugreg[i] = current->thread.debugreg[i]; in dump_thread() 592 if (dump->start_stack < TASK_SIZE) in dump_thread() [all …]
|
/linux-2.4.37.9/fs/ |
D | binfmt_aout.c | 94 struct user dump; in aout_core_dump() local 114 strncpy(dump.u_comm, current->comm, sizeof(current->comm)); in aout_core_dump() 116 dump.u_ar0 = (void *)(((unsigned long)(&dump.regs)) - ((unsigned long)(&dump))); in aout_core_dump() 118 dump.signal = signr; in aout_core_dump() 119 dump_thread(regs, &dump); in aout_core_dump() 124 if ((dump.u_dsize+dump.u_ssize) > in aout_core_dump() 126 dump.u_dsize = 0; in aout_core_dump() 128 if ((dump.u_dsize+dump.u_ssize+1) * PAGE_SIZE > in aout_core_dump() 130 dump.u_dsize = 0; in aout_core_dump() 135 if ((dump.u_ssize) > in aout_core_dump() [all …]
|
/linux-2.4.37.9/arch/cris/kernel/ |
D | process.c | 301 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument 307 dump->magic = CMAGIC; in dump_thread() 308 dump->start_code = 0; in dump_thread() 309 dump->start_stack = regs->esp & ~(PAGE_SIZE - 1); in dump_thread() 310 dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT; in dump_thread() 311 dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; in dump_thread() 312 dump->u_dsize -= dump->u_tsize; in dump_thread() 313 dump->u_ssize = 0; in dump_thread() 315 dump->u_debugreg[i] = current->debugreg[i]; in dump_thread() 317 if (dump->start_stack < TASK_SIZE) in dump_thread() [all …]
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | process.c | 271 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument 275 dump->magic = CMAGIC; in dump_thread() 276 dump->start_code = 0; in dump_thread() 277 dump->start_stack = regs->gprs[15] & ~(PAGE_SIZE - 1); in dump_thread() 278 dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT; in dump_thread() 279 dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; in dump_thread() 280 dump->u_dsize -= dump->u_tsize; in dump_thread() 281 dump->u_ssize = 0; in dump_thread() 282 if (dump->start_stack < TASK_SIZE) in dump_thread() 283 dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> PAGE_SHIFT; in dump_thread() [all …]
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | process.c | 352 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument 356 dump->magic = CMAGIC; in dump_thread() 357 dump->start_code = tsk->mm->start_code; in dump_thread() 358 dump->start_stack = regs->ARM_sp & ~(PAGE_SIZE - 1); in dump_thread() 360 dump->u_tsize = (tsk->mm->end_code - tsk->mm->start_code) >> PAGE_SHIFT; in dump_thread() 361 dump->u_dsize = (tsk->mm->brk - tsk->mm->start_data + PAGE_SIZE - 1) >> PAGE_SHIFT; in dump_thread() 362 dump->u_ssize = 0; in dump_thread() 364 dump->u_debugreg[0] = tsk->thread.debug.bp[0].address; in dump_thread() 365 dump->u_debugreg[1] = tsk->thread.debug.bp[1].address; in dump_thread() 366 dump->u_debugreg[2] = tsk->thread.debug.bp[0].insn.arm; in dump_thread() [all …]
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | process.c | 300 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument 304 dump->magic = CMAGIC; in dump_thread() 305 dump->start_code = 0; in dump_thread() 306 dump->start_stack = regs->gprs[15] & ~(PAGE_SIZE - 1); in dump_thread() 307 dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT; in dump_thread() 308 dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; in dump_thread() 309 dump->u_dsize -= dump->u_tsize; in dump_thread() 310 dump->u_ssize = 0; in dump_thread() 311 if (dump->start_stack < TASK_SIZE) in dump_thread() 312 dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> PAGE_SHIFT; in dump_thread() [all …]
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | binfmt_aout32.c | 92 struct user dump; in aout32_core_dump() local 100 strncpy(dump.u_comm, current->comm, sizeof(current->comm)); in aout32_core_dump() 101 dump.signal = signr; in aout32_core_dump() 102 dump_thread(regs, &dump); in aout32_core_dump() 106 if ((dump.u_dsize+dump.u_ssize) > in aout32_core_dump() 108 dump.u_dsize = 0; in aout32_core_dump() 111 if ((dump.u_ssize) > in aout32_core_dump() 113 dump.u_ssize = 0; in aout32_core_dump() 117 if (verify_area(VERIFY_READ, (void *) START_DATA(dump), dump.u_dsize)) in aout32_core_dump() 118 dump.u_dsize = 0; in aout32_core_dump() [all …]
|
D | process.c | 710 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument 717 memset(dump, 0, sizeof(struct user)); in dump_thread() 720 dump->magic = SUNOS_CORE_MAGIC; in dump_thread() 721 dump->len = sizeof(struct user); in dump_thread() 722 dump->regs.psr = regs->psr; in dump_thread() 723 dump->regs.pc = regs->pc; in dump_thread() 724 dump->regs.npc = regs->npc; in dump_thread() 725 dump->regs.y = regs->y; in dump_thread() 727 memcpy(&dump->regs.regs[0], ®s->u_regs[1], (sizeof(unsigned long) * 15)); in dump_thread() 728 dump->u_tsize = (((unsigned long) current->mm->end_code) - in dump_thread() [all …]
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | process.c | 533 void dump_thread(struct pt_regs * regs, struct user * dump) argument 537 dump->magic = SUNOS_CORE_MAGIC; 538 dump->len = sizeof(struct user); 539 dump->regs.psr = regs->psr; 540 dump->regs.pc = regs->pc; 541 dump->regs.npc = regs->npc; 542 dump->regs.y = regs->y; 544 memcpy(&dump->regs.regs[0], ®s->u_regs[1], (sizeof(unsigned long) * 15)); 545 dump->uexec = current->thread.core_exec; 546 dump->u_tsize = (((unsigned long) current->mm->end_code) - [all …]
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | process.c | 235 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument 237 dump->magic = CMAGIC; in dump_thread() 238 dump->start_code = current->mm->start_code; in dump_thread() 239 dump->start_data = current->mm->start_data; in dump_thread() 240 dump->start_stack = regs->regs[15] & ~(PAGE_SIZE - 1); in dump_thread() 241 dump->u_tsize = (current->mm->end_code - dump->start_code) >> PAGE_SHIFT; in dump_thread() 242 dump->u_dsize = (current->mm->brk + (PAGE_SIZE-1) - dump->start_data) >> PAGE_SHIFT; in dump_thread() 243 dump->u_ssize = (current->mm->start_stack - dump->start_stack + in dump_thread() 247 dump->regs = *regs; in dump_thread() 249 dump->u_fpvalid = dump_fpu(regs, &dump->fpu); in dump_thread()
|
/linux-2.4.37.9/drivers/net/wan/ |
D | sdlamain.c | 971 sdla_dump_t dump; in ioctl_dump() local 978 if(copy_from_user((void*)&dump, (void*)u_dump, sizeof(sdla_dump_t))) in ioctl_dump() 984 memcpy_fromfs((void*)&dump, (void*)u_dump, sizeof(sdla_dump_t)); in ioctl_dump() 987 if ((dump.magic != WANPIPE_MAGIC) || in ioctl_dump() 988 (dump.offset + dump.length > card->hw.memory)) in ioctl_dump() 992 if ((dump.ptr == NULL) || in ioctl_dump() 993 verify_area(VERIFY_WRITE, dump.ptr, dump.length)) in ioctl_dump() 1004 while (dump.length) { in ioctl_dump() 1006 unsigned pos = dump.offset % winsize; in ioctl_dump() 1008 unsigned long vec = dump.offset - pos; in ioctl_dump() [all …]
|
/linux-2.4.37.9/arch/sh64/kernel/ |
D | process.c | 784 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument 786 dump->magic = CMAGIC; in dump_thread() 787 dump->start_code = current->mm->start_code; in dump_thread() 788 dump->start_data = current->mm->start_data; in dump_thread() 789 dump->start_stack = regs->regs[15] & ~(PAGE_SIZE - 1); in dump_thread() 790 dump->u_tsize = (current->mm->end_code - dump->start_code) >> PAGE_SHIFT; in dump_thread() 791 dump->u_dsize = (current->mm->brk + (PAGE_SIZE-1) - dump->start_data) >> PAGE_SHIFT; in dump_thread() 792 dump->u_ssize = (current->mm->start_stack - dump->start_stack + in dump_thread() 796 dump->regs = *regs; in dump_thread() 798 dump->u_fpvalid = dump_fpu(regs, &dump->fpu); in dump_thread()
|
/linux-2.4.37.9/fs/proc/ |
D | kcore.c | 47 struct user dump; in read_kcore() local 54 memset(&dump, 0, sizeof(struct user)); in read_kcore() 55 dump.magic = CMAGIC; in read_kcore() 56 dump.u_dsize = (virt_to_phys(high_memory) >> PAGE_SHIFT); in read_kcore() 58 dump.start_code = PAGE_OFFSET; in read_kcore() 61 dump.start_data = PAGE_OFFSET; in read_kcore() 75 pnt = (char *) &dump + p; in read_kcore()
|
/linux-2.4.37.9/drivers/net/ |
D | lp486e.c | 326 u16 dump[153]; /* (304 = 130h) + 2 bytes */ member 334 struct i596_dump dump; /* 64 - needs 16-byte alignment */ member 526 memset((void *)&(lp->dump), 0, sizeof(struct i596_dump)); 527 outp = &(lp->dump.dump[0]); 533 for (m = SIZE(lp->dump.dump); m && lp->dump.dump[m-1] == 0; m--) 536 printk(" %04x", lp->dump.dump[i]);
|
D | dgrs_i82596.h | 42 ulong dump[77]; member 365 I596_CB_DUMP dump; member
|
/linux-2.4.37.9/include/linux/ |
D | netlink.h | 129 int (*dump)(struct sk_buff * skb, struct netlink_callback *cb); member 163 int (*dump)(struct sk_buff *skb, struct netlink_callback*),
|
/linux-2.4.37.9/drivers/usb/ |
D | auerisdn.c | 40 #define dump( desc, adr, len) \ macro 50 #define dump( desc, adr, len) macro 197 dump("D-Channel paket arrived:", bp->bufp, bp->len); in auerisdn_dispatch_dc() 318 dump("Rearranged message:", bp->bufp, in auerisdn_dispatch_dc() 329 dump("Shortened message:", bp->bufp, in auerisdn_dispatch_dc() 441 dump("Data Request:", sp, len); in auerisdn_d_l2l1() 570 dump("local answer to L2 is:", l2_header, in auerisdn_d_l2l1()
|
/linux-2.4.37.9/include/net/ |
D | pkt_cls.h | 58 int (*dump)(struct tcf_proto*, unsigned long, struct sk_buff *skb, struct tcmsg*); member
|
D | pkt_sched.h | 49 int (*dump)(struct Qdisc *, unsigned long, struct sk_buff *skb, struct tcmsg*); member 69 int (*dump)(struct Qdisc *, struct sk_buff *); member
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | pci-gart.c | 275 static int dump; in dump_leak() local 276 if (dump || !iommu_leak_tab) return; in dump_leak() 277 dump = 1; in dump_leak()
|
/linux-2.4.37.9/Documentation/video4linux/bttv/ |
D | README.freeze | 26 information out of a register+stack dump printed by the kernel on 29 If you run into some kind of deadlock, you can try to dump a call trace
|
/linux-2.4.37.9/ |
D | README | 248 system log, please duplicate it *exactly*. The dump may look 250 help debugging the problem. The text above the dump is also 253 on making sense of the dump is in Documentation/oops-tracing.txt 255 - You can use the "ksymoops" program to make sense of the dump. This 258 Alternately you can do the dump lookup by hand:
|
/linux-2.4.37.9/net/sched/ |
D | cls_api.c | 305 if (tp->ops->dump && tp->ops->dump(tp, fh, skb, tcm) < 0) in tcf_fill_node()
|