tag | line | file | source code |
child | 233 | arch/alpha/kernel/bios32.c | struct pci_bus *child; |
child | 257 | arch/alpha/kernel/bios32.c | for (child = bus->children; child; child = child->next) { |
child | 258 | arch/alpha/kernel/bios32.c | layout_bus(child); |
child | 414 | arch/alpha/kernel/ptrace.c | int ptrace_set_bpt(struct task_struct * child) |
child | 420 | arch/alpha/kernel/ptrace.c | pc = get_reg(child, REG_PC); |
child | 421 | arch/alpha/kernel/ptrace.c | res = read_int(child, pc, &insn); |
child | 436 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = pc + 4; |
child | 438 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = pc + 4 + displ; |
child | 442 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = get_reg(child, reg_b); |
child | 445 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = pc + 4; |
child | 451 | arch/alpha/kernel/ptrace.c | res = read_int(child, child->debugreg[i], &insn); |
child | 454 | arch/alpha/kernel/ptrace.c | child->debugreg[i + 2] = insn; |
child | 455 | arch/alpha/kernel/ptrace.c | DBG(DBG_BPT, (" -> next_pc=%lx\n", child->debugreg[i])); |
child | 456 | arch/alpha/kernel/ptrace.c | res = write_int(child, child->debugreg[i], BREAKINST); |
child | 460 | arch/alpha/kernel/ptrace.c | child->debugreg[4] = nsaved; |
child | 468 | arch/alpha/kernel/ptrace.c | int ptrace_cancel_bpt(struct task_struct * child) |
child | 470 | arch/alpha/kernel/ptrace.c | int i, nsaved = child->debugreg[4]; |
child | 472 | arch/alpha/kernel/ptrace.c | child->debugreg[4] = 0; |
child | 480 | arch/alpha/kernel/ptrace.c | write_int(child, child->debugreg[i], child->debugreg[i + 2]); |
child | 488 | arch/alpha/kernel/ptrace.c | struct task_struct *child; |
child | 505 | arch/alpha/kernel/ptrace.c | if (!(child = get_task(pid))) |
child | 508 | arch/alpha/kernel/ptrace.c | if (child == current) |
child | 510 | arch/alpha/kernel/ptrace.c | if ((!child->dumpable || |
child | 511 | arch/alpha/kernel/ptrace.c | (current->uid != child->euid) || |
child | 512 | arch/alpha/kernel/ptrace.c | (current->uid != child->uid) || |
child | 513 | arch/alpha/kernel/ptrace.c | (current->gid != child->egid) || |
child | 514 | arch/alpha/kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
child | 517 | arch/alpha/kernel/ptrace.c | if (child->flags & PF_PTRACED) |
child | 519 | arch/alpha/kernel/ptrace.c | child->flags |= PF_PTRACED; |
child | 520 | arch/alpha/kernel/ptrace.c | if (child->p_pptr != current) { |
child | 521 | arch/alpha/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 522 | arch/alpha/kernel/ptrace.c | child->p_pptr = current; |
child | 523 | arch/alpha/kernel/ptrace.c | SET_LINKS(child); |
child | 525 | arch/alpha/kernel/ptrace.c | send_sig(SIGSTOP, child, 1); |
child | 528 | arch/alpha/kernel/ptrace.c | if (!(child->flags & PF_PTRACED)) { |
child | 532 | arch/alpha/kernel/ptrace.c | if (child->state != TASK_STOPPED) { |
child | 537 | arch/alpha/kernel/ptrace.c | if (child->p_pptr != current) { |
child | 549 | arch/alpha/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
child | 559 | arch/alpha/kernel/ptrace.c | regs.r0 = get_reg(child, addr); |
child | 567 | arch/alpha/kernel/ptrace.c | return write_long(child, addr, data); |
child | 571 | arch/alpha/kernel/ptrace.c | return put_reg(child, addr, data); |
child | 579 | arch/alpha/kernel/ptrace.c | child->flags |= PF_TRACESYS; |
child | 581 | arch/alpha/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 582 | arch/alpha/kernel/ptrace.c | child->exit_code = data; |
child | 583 | arch/alpha/kernel/ptrace.c | wake_up_process(child); |
child | 585 | arch/alpha/kernel/ptrace.c | ptrace_cancel_bpt(child); |
child | 595 | arch/alpha/kernel/ptrace.c | if (child->state != TASK_ZOMBIE) { |
child | 596 | arch/alpha/kernel/ptrace.c | wake_up_process(child); |
child | 597 | arch/alpha/kernel/ptrace.c | child->exit_code = SIGKILL; |
child | 600 | arch/alpha/kernel/ptrace.c | ptrace_cancel_bpt(child); |
child | 607 | arch/alpha/kernel/ptrace.c | child->debugreg[4] = -1; /* mark single-stepping */ |
child | 608 | arch/alpha/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 609 | arch/alpha/kernel/ptrace.c | wake_up_process(child); |
child | 610 | arch/alpha/kernel/ptrace.c | child->exit_code = data; |
child | 618 | arch/alpha/kernel/ptrace.c | child->flags &= ~(PF_PTRACED|PF_TRACESYS); |
child | 619 | arch/alpha/kernel/ptrace.c | wake_up_process(child); |
child | 620 | arch/alpha/kernel/ptrace.c | child->exit_code = data; |
child | 621 | arch/alpha/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 622 | arch/alpha/kernel/ptrace.c | child->p_pptr = child->p_opptr; |
child | 623 | arch/alpha/kernel/ptrace.c | SET_LINKS(child); |
child | 625 | arch/alpha/kernel/ptrace.c | ptrace_cancel_bpt(child); |
child | 28 | arch/alpha/kernel/signal.c | extern int ptrace_set_bpt (struct task_struct *child); |
child | 29 | arch/alpha/kernel/signal.c | extern int ptrace_cancel_bpt (struct task_struct *child); |
child | 299 | arch/i386/kernel/ptrace.c | struct task_struct *child; |
child | 315 | arch/i386/kernel/ptrace.c | if (!(child = get_task(pid))) |
child | 318 | arch/i386/kernel/ptrace.c | if (child == current) |
child | 320 | arch/i386/kernel/ptrace.c | if ((!child->dumpable || |
child | 321 | arch/i386/kernel/ptrace.c | (current->uid != child->euid) || |
child | 322 | arch/i386/kernel/ptrace.c | (current->uid != child->uid) || |
child | 323 | arch/i386/kernel/ptrace.c | (current->gid != child->egid) || |
child | 324 | arch/i386/kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
child | 327 | arch/i386/kernel/ptrace.c | if (child->flags & PF_PTRACED) |
child | 329 | arch/i386/kernel/ptrace.c | child->flags |= PF_PTRACED; |
child | 330 | arch/i386/kernel/ptrace.c | if (child->p_pptr != current) { |
child | 331 | arch/i386/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 332 | arch/i386/kernel/ptrace.c | child->p_pptr = current; |
child | 333 | arch/i386/kernel/ptrace.c | SET_LINKS(child); |
child | 335 | arch/i386/kernel/ptrace.c | send_sig(SIGSTOP, child, 1); |
child | 338 | arch/i386/kernel/ptrace.c | if (!(child->flags & PF_PTRACED)) |
child | 340 | arch/i386/kernel/ptrace.c | if (child->state != TASK_STOPPED) { |
child | 344 | arch/i386/kernel/ptrace.c | if (child->p_pptr != current) |
child | 354 | arch/i386/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
child | 379 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*addr - MAGICNUMBER); |
child | 389 | arch/i386/kernel/ptrace.c | tmp = child->debugreg[addr]; |
child | 398 | arch/i386/kernel/ptrace.c | return write_long(child,addr,data); |
child | 418 | arch/i386/kernel/ptrace.c | data |= get_stack_long(child, EFL*sizeof(long)-MAGICNUMBER) & ~FLAG_MASK; |
child | 423 | arch/i386/kernel/ptrace.c | if (put_stack_long(child, sizeof(long)*addr-MAGICNUMBER, data)) |
child | 451 | arch/i386/kernel/ptrace.c | child->debugreg[addr] = data; |
child | 463 | arch/i386/kernel/ptrace.c | child->flags |= PF_TRACESYS; |
child | 465 | arch/i386/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 466 | arch/i386/kernel/ptrace.c | child->exit_code = data; |
child | 467 | arch/i386/kernel/ptrace.c | wake_up_process(child); |
child | 469 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) & ~TRAP_FLAG; |
child | 470 | arch/i386/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 482 | arch/i386/kernel/ptrace.c | wake_up_process(child); |
child | 483 | arch/i386/kernel/ptrace.c | child->exit_code = SIGKILL; |
child | 485 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) & ~TRAP_FLAG; |
child | 486 | arch/i386/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 495 | arch/i386/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 496 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) | TRAP_FLAG; |
child | 497 | arch/i386/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 498 | arch/i386/kernel/ptrace.c | wake_up_process(child); |
child | 499 | arch/i386/kernel/ptrace.c | child->exit_code = data; |
child | 509 | arch/i386/kernel/ptrace.c | child->flags &= ~(PF_PTRACED|PF_TRACESYS); |
child | 510 | arch/i386/kernel/ptrace.c | wake_up_process(child); |
child | 511 | arch/i386/kernel/ptrace.c | child->exit_code = data; |
child | 512 | arch/i386/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 513 | arch/i386/kernel/ptrace.c | child->p_pptr = child->p_opptr; |
child | 514 | arch/i386/kernel/ptrace.c | SET_LINKS(child); |
child | 516 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) & ~TRAP_FLAG; |
child | 517 | arch/i386/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 282 | arch/mips/kernel/ptrace.c | struct task_struct *child; |
child | 299 | arch/mips/kernel/ptrace.c | if (!(child = get_task(pid))) |
child | 302 | arch/mips/kernel/ptrace.c | if (child == current) |
child | 304 | arch/mips/kernel/ptrace.c | if ((!child->dumpable || |
child | 305 | arch/mips/kernel/ptrace.c | (current->uid != child->euid) || |
child | 306 | arch/mips/kernel/ptrace.c | (current->uid != child->uid) || |
child | 307 | arch/mips/kernel/ptrace.c | (current->gid != child->egid) || |
child | 308 | arch/mips/kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
child | 311 | arch/mips/kernel/ptrace.c | if (child->flags & PF_PTRACED) |
child | 313 | arch/mips/kernel/ptrace.c | child->flags |= PF_PTRACED; |
child | 314 | arch/mips/kernel/ptrace.c | if (child->p_pptr != current) { |
child | 315 | arch/mips/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 316 | arch/mips/kernel/ptrace.c | child->p_pptr = current; |
child | 317 | arch/mips/kernel/ptrace.c | SET_LINKS(child); |
child | 319 | arch/mips/kernel/ptrace.c | send_sig(SIGSTOP, child, 1); |
child | 322 | arch/mips/kernel/ptrace.c | if (!(child->flags & PF_PTRACED)) |
child | 324 | arch/mips/kernel/ptrace.c | if (child->state != TASK_STOPPED) { |
child | 328 | arch/mips/kernel/ptrace.c | if (child->p_pptr != current) |
child | 338 | arch/mips/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
child | 363 | arch/mips/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*addr - MAGICNUMBER); |
child | 373 | arch/mips/kernel/ptrace.c | tmp = child->debugreg[addr]; |
child | 382 | arch/mips/kernel/ptrace.c | return write_long(child,addr,data); |
child | 402 | arch/mips/kernel/ptrace.c | data |= get_stack_long(child, EFL*sizeof(long)-MAGICNUMBER) & ~FLAG_MASK; |
child | 407 | arch/mips/kernel/ptrace.c | if (put_stack_long(child, sizeof(long)*addr-MAGICNUMBER, data)) |
child | 435 | arch/mips/kernel/ptrace.c | child->debugreg[addr] = data; |
child | 447 | arch/mips/kernel/ptrace.c | child->flags |= PF_TRACESYS; |
child | 449 | arch/mips/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 450 | arch/mips/kernel/ptrace.c | child->exit_code = data; |
child | 451 | arch/mips/kernel/ptrace.c | wake_up_process(child); |
child | 453 | arch/mips/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) & ~TRAP_FLAG; |
child | 454 | arch/mips/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 466 | arch/mips/kernel/ptrace.c | wake_up_process(child); |
child | 467 | arch/mips/kernel/ptrace.c | child->exit_code = SIGKILL; |
child | 469 | arch/mips/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) & ~TRAP_FLAG; |
child | 470 | arch/mips/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 479 | arch/mips/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 480 | arch/mips/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) | TRAP_FLAG; |
child | 481 | arch/mips/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 482 | arch/mips/kernel/ptrace.c | wake_up_process(child); |
child | 483 | arch/mips/kernel/ptrace.c | child->exit_code = data; |
child | 493 | arch/mips/kernel/ptrace.c | child->flags &= ~(PF_PTRACED|PF_TRACESYS); |
child | 494 | arch/mips/kernel/ptrace.c | wake_up_process(child); |
child | 495 | arch/mips/kernel/ptrace.c | child->exit_code = data; |
child | 496 | arch/mips/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 497 | arch/mips/kernel/ptrace.c | child->p_pptr = child->p_opptr; |
child | 498 | arch/mips/kernel/ptrace.c | SET_LINKS(child); |
child | 500 | arch/mips/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) & ~TRAP_FLAG; |
child | 501 | arch/mips/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 653 | drivers/pci/pci.c | struct pci_bus *child; |
child | 741 | drivers/pci/pci.c | child = pci_malloc(sizeof(*child), mem_startp); |
child | 742 | drivers/pci/pci.c | child->next = bus->children; |
child | 743 | drivers/pci/pci.c | bus->children = child; |
child | 744 | drivers/pci/pci.c | child->self = dev; |
child | 745 | drivers/pci/pci.c | child->parent = bus; |
child | 751 | drivers/pci/pci.c | child->number = child->secondary = ++max; |
child | 752 | drivers/pci/pci.c | child->primary = bus->secondary; |
child | 753 | drivers/pci/pci.c | child->subordinate = 0xff; |
child | 770 | drivers/pci/pci.c | buses |= (((unsigned int)(child->primary) << 0) | |
child | 771 | drivers/pci/pci.c | ((unsigned int)(child->secondary) << 8) | |
child | 772 | drivers/pci/pci.c | ((unsigned int)(child->subordinate) << 16)); |
child | 778 | drivers/pci/pci.c | max = scan_bus(child, mem_startp); |
child | 783 | drivers/pci/pci.c | child->subordinate = max; |
child | 785 | drivers/pci/pci.c | | ((unsigned int)(child->subordinate) << 16); |