extern uint32_t nfsrv_user_stat_node_count; /* current count of user stat nodes */
extern uint32_t nfsrv_user_stat_max_idle_sec; /* idle seconds (node no longer considered active) */
extern uint32_t nfsrv_user_stat_max_nodes; /* active user list size limit */
-extern lck_grp_t *nfsrv_active_user_mutex_group;
+extern lck_grp_t nfsrv_active_user_mutex_group;
/* An active user node represented in the kernel */
struct nfs_user_stat_node {
#define NFSRVFMODHASH(vp) (((uintptr_t) vp) & nfsrv_fmod_hash)
extern LIST_HEAD(nfsrv_fmod_hashhead, nfsrv_fmod) * nfsrv_fmod_hashtbl;
extern u_long nfsrv_fmod_hash;
-extern lck_mtx_t *nfsrv_fmod_mutex;
+extern lck_mtx_t nfsrv_fmod_mutex;
extern int nfsrv_fmod_pending, nfsrv_fsevents_enabled;
#endif
*/
TAILQ_HEAD(nfs_reqqhead, nfsreq);
extern struct nfs_reqqhead nfs_reqq;
-extern lck_grp_t *nfs_request_grp;
+extern lck_grp_t nfs_request_grp;
#define R_XID32(x) ((x) & 0xffffffff)
nfsrv_sockwait, nfsrv_sockwork;
/* lock groups for nfsrv_sock's */
-extern lck_grp_t *nfsrv_slp_rwlock_group;
-extern lck_grp_t *nfsrv_slp_mutex_group;
+extern lck_grp_t nfsrv_slp_rwlock_group;
+extern lck_grp_t nfsrv_slp_mutex_group;
/*
* One of these structures is allocated for each nfsd.
vfs_context_t, mbuf_t *);
/* mutex for nfs server */
-extern lck_mtx_t *nfsd_mutex;
+extern lck_mtx_t nfsd_mutex;
extern int nfsd_thread_count, nfsd_thread_max;
/* request list mutex */
-extern lck_mtx_t *nfs_request_mutex;
+extern lck_mtx_t nfs_request_mutex;
extern int nfs_request_timer_on;
/* mutex for nfs client globals */
-extern lck_mtx_t *nfs_global_mutex;
+extern lck_mtx_t nfs_global_mutex;
#if CONFIG_NFS4
/* NFSv4 callback globals */
void nfs_mbuf_init(void);
-void nfs_nhinit(void);
void nfs_nhinit_finish(void);
u_long nfs_hash(u_char *, int);