• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/xnu-2782.1.97/bsd/kern/

Lines Matching +defs:child +defs:name

45  * 4. Neither the name of the University nor the names of its contributors
185 static void pgrp_add(struct pgrp * pgrp, proc_t parent, proc_t child);
645 * that we're running as the child.
729 * case the thread name size in stackshot gets out of sync with
730 * the BSD max thread name size. Note that bsd_getthreadname
1101 * child The child process to insert
1105 * Notes: Insert a child process into the parents process group, assign
1106 * the child the parent process pointer and PPID of the parent,
1108 * initialize its own child list, place it in the allproc list,
1113 pinsertchild(proc_t parent, proc_t child)
1117 LIST_INIT(&child->p_children);
1118 TAILQ_INIT(&child->p_evlist);
1119 child->p_pptr = parent;
1120 child->p_ppid = parent->p_pid;
1121 child->p_puniqueid = parent->p_uniqueid;
1124 pgrp_add(pg, parent, child);
1130 memorystatus_add(child, TRUE);
1134 LIST_INSERT_HEAD(&parent->p_children, child, p_sibling);
1136 LIST_INSERT_HEAD(&allproc, child, p_list);
1138 child->p_listflag &= ~P_LIST_INCREATE;
1578 * proc_core_name(name, uid, pid)
1579 * Expand the name described in corefilename, using name, uid, and pid.
1581 * %N name of process ("name")
1589 proc_core_name(const char *name, uid_t uid, pid_t pid, char *cf_name,
1608 case 'N': /* process name */
1609 appendstr = name;
1640 (long)pid, name, (uint32_t)uid);
1786 int *name = (int*) arg1;
1813 l = lcfind((pid_t)name[0]);
2537 pgrp_add(struct pgrp * pgrp, struct proc * parent, struct proc * child)
2540 child->p_pgrp = pgrp;
2541 child->p_pgrpid = pgrp->pg_id;
2542 child->p_listflag |= P_LIST_INPGRP;
2560 LIST_INSERT_AFTER(parent, child, p_pglist);
2562 LIST_INSERT_HEAD(&pgrp->pg_members, child, p_pglist);