Lines Matching defs:child
290 * The child proc ptss fields are initialized to NULL at fork time.
294 * Parent and child sprlock should be held, and proc_lock must NOT be held.
297 dtrace_ptss_fork(struct proc* parent, struct proc* child) {
298 // The child should not have any pages/entries allocated at this point.
299 // ASSERT(child->p_dtrace_ptss_pages == NULL);
300 // ASSERT(child->p_dtrace_ptss_free_list == NULL);
304 * from changing while the child references it. The child's sprlock
307 * neither the parent or child proc_lock should be held.
311 lck_mtx_assert(&child->p_dtrace_sprlock, LCK_MTX_ASSERT_OWNED);
312 lck_mtx_assert(&child->p_mlock, LCK_MTX_ASSERT_NOTOWNED);
319 dtrace_ptss_free_page(child, temp);