Searched refs:fdtol (Results 1 – 2 of 2) sorted by relevance
2526 struct filedesc_to_leader *fdtol; in fdfree() local2553 fdtol = p->p_fdtol; in fdfree()2554 if (fdtol != NULL) { in fdfree()2555 KASSERT(fdtol->fdl_refcount > 0, in fdfree()2557 fdtol->fdl_refcount)); in fdfree()2558 if (fdtol->fdl_refcount == 1 && p->p_leader->p_advlock_flag) { in fdfree()2581 if (fdtol->fdl_refcount == 1) { in fdfree()2593 if (fdtol->fdl_holdcount > 0) { in fdfree()2598 fdtol->fdl_wakeup = 1; in fdfree()2599 ssleep(fdtol, &fdp->fd_spin, 0, "fdlhold", 0); in fdfree()[all …]
317 struct filedesc_to_leader *fdtol; in fork1() local547 fdtol = NULL; in fork1()554 fdtol = NULL; in fork1()566 fdtol = p1->p_fdtol; in fork1()567 fdtol->fdl_refcount++; in fork1()573 fdtol = filedesc_to_leader_alloc(p1->p_fdtol, p2); in fork1()576 p2->p_fdtol = fdtol; in fork1()