Lines Matching refs:parent
375 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp() argument
380 if (!parent) in kill_orphaned_pgrp()
384 parent = tsk->real_parent; in kill_orphaned_pgrp()
391 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp()
392 task_session(parent) == task_session(tsk) && in kill_orphaned_pgrp()
704 BUG_ON((!t->ptrace) != (rcu_access_pointer(t->parent) == father)); in forget_original_parent()
706 t->parent = t->real_parent; in forget_original_parent()
1534 if ((wo->wo_flags & __WNOTHREAD) && wait->private != p->parent) in child_wait_callback()
1540 void __wake_up_parent(struct task_struct *p, struct task_struct *parent) in __wake_up_parent() argument
1542 __wake_up_sync_key(&parent->signal->wait_chldexit, in __wake_up_parent()
1549 struct task_struct *parent = in is_effectively_child() local
1550 !ptrace ? target->real_parent : target->parent; in is_effectively_child()
1552 return current == parent || (!(wo->wo_flags & __WNOTHREAD) && in is_effectively_child()
1553 same_thread_group(current, parent)); in is_effectively_child()