Home
last modified time | relevance | path

Searched refs:fdtol (Results 1 – 2 of 2) sorted by relevance

/freebsd-10-stable/sys/kern/
Dkern_descrip.c2002 struct filedesc_to_leader *fdtol; in fdescfree() local
2021 fdtol = td->td_proc->p_fdtol; in fdescfree()
2022 if (fdtol != NULL) { in fdescfree()
2024 KASSERT(fdtol->fdl_refcount > 0, in fdescfree()
2026 fdtol->fdl_refcount)); in fdescfree()
2027 if (fdtol->fdl_refcount == 1 && in fdescfree()
2048 if (fdtol->fdl_refcount == 1) { in fdescfree()
2060 if (fdtol->fdl_holdcount > 0) { in fdescfree()
2065 fdtol->fdl_wakeup = 1; in fdescfree()
2066 sx_sleep(fdtol, FILEDESC_LOCK(fdp), PLOCK, in fdescfree()
[all …]
Dkern_fork.c380 struct filedesc_to_leader *fdtol; in do_fork() local
436 fdtol = NULL; in do_fork()
439 fdtol = NULL; in do_fork()
450 fdtol = p1->p_fdtol; in do_fork()
452 fdtol->fdl_refcount++; in do_fork()
459 fdtol = filedesc_to_leader_alloc(p1->p_fdtol, in do_fork()
526 p2->p_fdtol = fdtol; in do_fork()