Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dfiledesc.h119 int fd_holdcnt; /* hold count on structure + mutex */ member
/freebsd/sys/kern/
H A Dkern_descrip.c2227 refcount_init(&newfdp->fd_holdcnt, 1); in fdinit()
2290 refcount_acquire(&fdp->fd_holdcnt); in fdhold()
2310 if (refcount_load(&fdp->fd_holdcnt) > 1) { in fddrop()
2311 if (refcount_release(&fdp->fd_holdcnt) == 0) in fddrop()
2554 if (refcount_load(&fdp->fd_holdcnt) > 1) { in fdescfree_fds()