Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfs/nfsport.h
Show First 20 Lines • Show All 686 Lines • ▼ Show 20 Lines | |||||
#define NFSLOCKV4ROOTMUTEX() mtx_lock(&nfs_v4root_mutex) | #define NFSLOCKV4ROOTMUTEX() mtx_lock(&nfs_v4root_mutex) | ||||
#define NFSUNLOCKV4ROOTMUTEX() mtx_unlock(&nfs_v4root_mutex) | #define NFSUNLOCKV4ROOTMUTEX() mtx_unlock(&nfs_v4root_mutex) | ||||
#define NFSLOCKNODE(n) mtx_lock(&((n)->n_mtx)) | #define NFSLOCKNODE(n) mtx_lock(&((n)->n_mtx)) | ||||
#define NFSUNLOCKNODE(n) mtx_unlock(&((n)->n_mtx)) | #define NFSUNLOCKNODE(n) mtx_unlock(&((n)->n_mtx)) | ||||
#define NFSLOCKMNT(m) mtx_lock(&((m)->nm_mtx)) | #define NFSLOCKMNT(m) mtx_lock(&((m)->nm_mtx)) | ||||
#define NFSUNLOCKMNT(m) mtx_unlock(&((m)->nm_mtx)) | #define NFSUNLOCKMNT(m) mtx_unlock(&((m)->nm_mtx)) | ||||
#define NFSLOCKREQUEST(r) mtx_lock(&((r)->r_mtx)) | #define NFSLOCKREQUEST(r) mtx_lock(&((r)->r_mtx)) | ||||
#define NFSUNLOCKREQUEST(r) mtx_unlock(&((r)->r_mtx)) | #define NFSUNLOCKREQUEST(r) mtx_unlock(&((r)->r_mtx)) | ||||
#define NFSPROCLISTLOCK() sx_slock(&allproc_lock) | #define NFSPROCLISTLOCK() sx_slock(&V_allproc_lock) | ||||
#define NFSPROCLISTUNLOCK() sx_sunlock(&allproc_lock) | #define NFSPROCLISTUNLOCK() sx_sunlock(&V_allproc_lock) | ||||
#define NFSLOCKSOCKREQ(r) mtx_lock(&((r)->nr_mtx)) | #define NFSLOCKSOCKREQ(r) mtx_lock(&((r)->nr_mtx)) | ||||
#define NFSUNLOCKSOCKREQ(r) mtx_unlock(&((r)->nr_mtx)) | #define NFSUNLOCKSOCKREQ(r) mtx_unlock(&((r)->nr_mtx)) | ||||
#define NFSLOCKDS(d) mtx_lock(&((d)->nfsclds_mtx)) | #define NFSLOCKDS(d) mtx_lock(&((d)->nfsclds_mtx)) | ||||
#define NFSUNLOCKDS(d) mtx_unlock(&((d)->nfsclds_mtx)) | #define NFSUNLOCKDS(d) mtx_unlock(&((d)->nfsclds_mtx)) | ||||
#define NFSSESSIONMUTEXPTR(s) (&((s)->mtx)) | #define NFSSESSIONMUTEXPTR(s) (&((s)->mtx)) | ||||
#define NFSLOCKSESSION(s) mtx_lock(&((s)->mtx)) | #define NFSLOCKSESSION(s) mtx_lock(&((s)->mtx)) | ||||
#define NFSUNLOCKSESSION(s) mtx_unlock(&((s)->mtx)) | #define NFSUNLOCKSESSION(s) mtx_unlock(&((s)->mtx)) | ||||
#define NFSLAYOUTMUTEXPTR(l) (&((l)->mtx)) | #define NFSLAYOUTMUTEXPTR(l) (&((l)->mtx)) | ||||
▲ Show 20 Lines • Show All 376 Lines • Show Last 20 Lines |