Lines Matching refs:parent
231 struct ps_struct *parent;
323 * each parent has a LL of children, and a LL of siblings
332 parent = ps_first;
333 while ((parent->next_ps && parent->pid != ps->ppid))
334 parent = parent->next_ps;
336 if (parent->pid != ps->ppid) {
339 parent = ps_first->next_ps;
342 ps->parent = parent;
344 if (!parent->children) {
346 parent->children = ps;
350 children = parent->children;