Searched refs:fdtol (Results 1 – 2 of 2) sorted by relevance
2048 struct filedesc_to_leader *fdtol; in fdclearlocks() local2057 fdtol = p->p_fdtol; in fdclearlocks()2058 MPASS(fdtol != NULL); in fdclearlocks()2061 KASSERT(fdtol->fdl_refcount > 0, in fdclearlocks()2063 fdtol->fdl_refcount)); in fdclearlocks()2064 if (fdtol->fdl_refcount == 1 && in fdclearlocks()2085 if (fdtol->fdl_refcount == 1) { in fdclearlocks()2097 if (fdtol->fdl_holdcount > 0) { in fdclearlocks()2102 fdtol->fdl_wakeup = 1; in fdclearlocks()2103 sx_sleep(fdtol, FILEDESC_LOCK(fdp), PLOCK, in fdclearlocks()[all …]
375 struct filedesc_to_leader *fdtol; in do_fork() local427 fdtol = NULL; in do_fork()430 fdtol = NULL; in do_fork()441 fdtol = p1->p_fdtol; in do_fork()443 fdtol->fdl_refcount++; in do_fork()450 fdtol = filedesc_to_leader_alloc(p1->p_fdtol, in do_fork()520 p2->p_fdtol = fdtol; in do_fork()