Searched refs:newnfsd_mtx (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.2-release/sys/fs/nfs/
H A Dnfs_commonport.c119 * newnfsd_mtx is used in nfsrvd_nfsd() to protect the nfs socket list
122 struct mtx newnfsd_mtx; variable in typeref:struct:mtx
546 mtx_init(&newnfsd_mtx, "newnfsd_mtx", NULL, MTX_DEF);
609 mtx_destroy(&newnfsd_mtx);
H A Dnfsport.h618 #define NFSDLOCKMUTEX extern struct mtx newnfsd_mtx
619 #define NFSDLOCKMUTEXPTR (&newnfsd_mtx)
620 #define NFSD_LOCK() mtx_lock(&newnfsd_mtx)
621 #define NFSD_UNLOCK() mtx_unlock(&newnfsd_mtx)
622 #define NFSD_LOCK_ASSERT() mtx_assert(&newnfsd_mtx, MA_OWNED)
623 #define NFSD_UNLOCK_ASSERT() mtx_assert(&newnfsd_mtx, MA_NOTOWNED)

Completed in 55 milliseconds