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