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 | 415 | arch/alpha/kernel/ptrace.c | int ptrace_set_bpt(struct task_struct * child) |
child | 421 | arch/alpha/kernel/ptrace.c | pc = get_reg(child, REG_PC); |
child | 422 | arch/alpha/kernel/ptrace.c | res = read_int(child, pc, &insn); |
child | 437 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = pc + 4; |
child | 439 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = pc + 4 + displ; |
child | 443 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = get_reg(child, reg_b); |
child | 446 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = pc + 4; |
child | 452 | arch/alpha/kernel/ptrace.c | res = read_int(child, child->debugreg[i], &insn); |
child | 455 | arch/alpha/kernel/ptrace.c | child->debugreg[i + 2] = insn; |
child | 456 | arch/alpha/kernel/ptrace.c | DBG(DBG_BPT, (" -> next_pc=%lx\n", child->debugreg[i])); |
child | 457 | arch/alpha/kernel/ptrace.c | res = write_int(child, child->debugreg[i], BREAKINST); |
child | 461 | arch/alpha/kernel/ptrace.c | child->debugreg[4] = nsaved; |
child | 469 | arch/alpha/kernel/ptrace.c | int ptrace_cancel_bpt(struct task_struct * child) |
child | 471 | arch/alpha/kernel/ptrace.c | int i, nsaved = child->debugreg[4]; |
child | 473 | arch/alpha/kernel/ptrace.c | child->debugreg[4] = 0; |
child | 481 | arch/alpha/kernel/ptrace.c | write_int(child, child->debugreg[i], child->debugreg[i + 2]); |
child | 489 | arch/alpha/kernel/ptrace.c | struct task_struct *child; |
child | 506 | arch/alpha/kernel/ptrace.c | if (!(child = get_task(pid))) |
child | 509 | arch/alpha/kernel/ptrace.c | if (child == current) |
child | 511 | arch/alpha/kernel/ptrace.c | if ((!child->dumpable || |
child | 512 | arch/alpha/kernel/ptrace.c | (current->uid != child->euid) || |
child | 513 | arch/alpha/kernel/ptrace.c | (current->uid != child->uid) || |
child | 514 | arch/alpha/kernel/ptrace.c | (current->gid != child->egid) || |
child | 515 | arch/alpha/kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
child | 518 | arch/alpha/kernel/ptrace.c | if (child->flags & PF_PTRACED) |
child | 520 | arch/alpha/kernel/ptrace.c | child->flags |= PF_PTRACED; |
child | 521 | arch/alpha/kernel/ptrace.c | if (child->p_pptr != current) { |
child | 522 | arch/alpha/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 523 | arch/alpha/kernel/ptrace.c | child->p_pptr = current; |
child | 524 | arch/alpha/kernel/ptrace.c | SET_LINKS(child); |
child | 526 | arch/alpha/kernel/ptrace.c | send_sig(SIGSTOP, child, 1); |
child | 529 | arch/alpha/kernel/ptrace.c | if (!(child->flags & PF_PTRACED)) { |
child | 533 | arch/alpha/kernel/ptrace.c | if (child->state != TASK_STOPPED) { |
child | 538 | arch/alpha/kernel/ptrace.c | if (child->p_pptr != current) { |
child | 550 | arch/alpha/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
child | 560 | arch/alpha/kernel/ptrace.c | regs.r0 = get_reg(child, addr); |
child | 568 | arch/alpha/kernel/ptrace.c | return write_long(child, addr, data); |
child | 572 | arch/alpha/kernel/ptrace.c | return put_reg(child, addr, data); |
child | 580 | arch/alpha/kernel/ptrace.c | child->flags |= PF_TRACESYS; |
child | 582 | arch/alpha/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 583 | arch/alpha/kernel/ptrace.c | child->exit_code = data; |
child | 584 | arch/alpha/kernel/ptrace.c | wake_up_process(child); |
child | 586 | arch/alpha/kernel/ptrace.c | ptrace_cancel_bpt(child); |
child | 596 | arch/alpha/kernel/ptrace.c | if (child->state != TASK_ZOMBIE) { |
child | 597 | arch/alpha/kernel/ptrace.c | wake_up_process(child); |
child | 598 | arch/alpha/kernel/ptrace.c | child->exit_code = SIGKILL; |
child | 601 | arch/alpha/kernel/ptrace.c | ptrace_cancel_bpt(child); |
child | 608 | arch/alpha/kernel/ptrace.c | child->debugreg[4] = -1; /* mark single-stepping */ |
child | 609 | arch/alpha/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 610 | arch/alpha/kernel/ptrace.c | wake_up_process(child); |
child | 611 | arch/alpha/kernel/ptrace.c | child->exit_code = data; |
child | 619 | arch/alpha/kernel/ptrace.c | child->flags &= ~(PF_PTRACED|PF_TRACESYS); |
child | 620 | arch/alpha/kernel/ptrace.c | wake_up_process(child); |
child | 621 | arch/alpha/kernel/ptrace.c | child->exit_code = data; |
child | 622 | arch/alpha/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 623 | arch/alpha/kernel/ptrace.c | child->p_pptr = child->p_opptr; |
child | 624 | arch/alpha/kernel/ptrace.c | SET_LINKS(child); |
child | 626 | 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 | 300 | arch/i386/kernel/ptrace.c | struct task_struct *child; |
child | 316 | arch/i386/kernel/ptrace.c | if (!(child = get_task(pid))) |
child | 319 | arch/i386/kernel/ptrace.c | if (child == current) |
child | 321 | arch/i386/kernel/ptrace.c | if ((!child->dumpable || |
child | 322 | arch/i386/kernel/ptrace.c | (current->uid != child->euid) || |
child | 323 | arch/i386/kernel/ptrace.c | (current->uid != child->uid) || |
child | 324 | arch/i386/kernel/ptrace.c | (current->gid != child->egid) || |
child | 325 | arch/i386/kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
child | 328 | arch/i386/kernel/ptrace.c | if (child->flags & PF_PTRACED) |
child | 330 | arch/i386/kernel/ptrace.c | child->flags |= PF_PTRACED; |
child | 331 | arch/i386/kernel/ptrace.c | if (child->p_pptr != current) { |
child | 332 | arch/i386/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 333 | arch/i386/kernel/ptrace.c | child->p_pptr = current; |
child | 334 | arch/i386/kernel/ptrace.c | SET_LINKS(child); |
child | 336 | arch/i386/kernel/ptrace.c | send_sig(SIGSTOP, child, 1); |
child | 339 | arch/i386/kernel/ptrace.c | if (!(child->flags & PF_PTRACED)) |
child | 341 | arch/i386/kernel/ptrace.c | if (child->state != TASK_STOPPED) { |
child | 345 | arch/i386/kernel/ptrace.c | if (child->p_pptr != current) |
child | 355 | arch/i386/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
child | 380 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*addr - MAGICNUMBER); |
child | 390 | arch/i386/kernel/ptrace.c | tmp = child->debugreg[addr]; |
child | 399 | arch/i386/kernel/ptrace.c | return write_long(child,addr,data); |
child | 419 | arch/i386/kernel/ptrace.c | data |= get_stack_long(child, EFL*sizeof(long)-MAGICNUMBER) & ~FLAG_MASK; |
child | 424 | arch/i386/kernel/ptrace.c | if (put_stack_long(child, sizeof(long)*addr-MAGICNUMBER, data)) |
child | 452 | arch/i386/kernel/ptrace.c | child->debugreg[addr] = data; |
child | 464 | arch/i386/kernel/ptrace.c | child->flags |= PF_TRACESYS; |
child | 466 | arch/i386/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 467 | arch/i386/kernel/ptrace.c | child->exit_code = data; |
child | 468 | arch/i386/kernel/ptrace.c | wake_up_process(child); |
child | 470 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) & ~TRAP_FLAG; |
child | 471 | arch/i386/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 483 | arch/i386/kernel/ptrace.c | if (child->state == TASK_ZOMBIE) /* already dead */ |
child | 485 | arch/i386/kernel/ptrace.c | wake_up_process(child); |
child | 486 | arch/i386/kernel/ptrace.c | child->exit_code = SIGKILL; |
child | 488 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) & ~TRAP_FLAG; |
child | 489 | arch/i386/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 498 | arch/i386/kernel/ptrace.c | child->flags &= ~PF_TRACESYS; |
child | 499 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) | TRAP_FLAG; |
child | 500 | arch/i386/kernel/ptrace.c | put_stack_long(child, sizeof(long)*EFL-MAGICNUMBER,tmp); |
child | 501 | arch/i386/kernel/ptrace.c | wake_up_process(child); |
child | 502 | arch/i386/kernel/ptrace.c | child->exit_code = data; |
child | 512 | arch/i386/kernel/ptrace.c | child->flags &= ~(PF_PTRACED|PF_TRACESYS); |
child | 513 | arch/i386/kernel/ptrace.c | wake_up_process(child); |
child | 514 | arch/i386/kernel/ptrace.c | child->exit_code = data; |
child | 515 | arch/i386/kernel/ptrace.c | REMOVE_LINKS(child); |
child | 516 | arch/i386/kernel/ptrace.c | child->p_pptr = child->p_opptr; |
child | 517 | arch/i386/kernel/ptrace.c | SET_LINKS(child); |
child | 519 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*EFL-MAGICNUMBER) & ~TRAP_FLAG; |
child | 520 | 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 | 682 | drivers/pci/pci.c | struct pci_bus *child; |
child | 771 | drivers/pci/pci.c | child = pci_malloc(sizeof(*child), mem_startp); |
child | 772 | drivers/pci/pci.c | child->next = bus->children; |
child | 773 | drivers/pci/pci.c | bus->children = child; |
child | 774 | drivers/pci/pci.c | child->self = dev; |
child | 775 | drivers/pci/pci.c | child->parent = bus; |
child | 781 | drivers/pci/pci.c | child->number = child->secondary = ++max; |
child | 782 | drivers/pci/pci.c | child->primary = bus->secondary; |
child | 783 | drivers/pci/pci.c | child->subordinate = 0xff; |
child | 800 | drivers/pci/pci.c | buses |= (((unsigned int)(child->primary) << 0) | |
child | 801 | drivers/pci/pci.c | ((unsigned int)(child->secondary) << 8) | |
child | 802 | drivers/pci/pci.c | ((unsigned int)(child->subordinate) << 16)); |
child | 808 | drivers/pci/pci.c | max = scan_bus(child, mem_startp); |
child | 813 | drivers/pci/pci.c | child->subordinate = max; |
child | 815 | drivers/pci/pci.c | | ((unsigned int)(child->subordinate) << 16); |