nfsrv_descript
LIST_HEAD(, nfsrv_descript) ns_tq; /* Write gather lists */
LIST_HEAD(nfsrvw_delayhash, nfsrv_descript) ns_wdelayhashtbl[NFS_WDELAYHASHSIZ];
struct nfsrv_descript *nfsd_nd; /* Associated nfsrv_descript */
LIST_ENTRY(nfsrv_descript) nd_hash; /* Hash list */
LIST_ENTRY(nfsrv_descript) nd_tq; /* and timer list */
LIST_HEAD(,nfsrv_descript) nd_coalesce; /* coalesced writes */
extern int32_t (*nfsrv3_procs[NFS_NPROCS]) (struct nfsrv_descript *nd,
int nfs_getreq (struct nfsrv_descript *,struct nfsd *,int);
int nfs_rephead (int, struct nfsrv_descript *, struct nfssvc_sock *,
struct nfsrv_descript **);
int nfsrv_getcache (struct nfsrv_descript *, struct nfssvc_sock *,
void nfsrv_updatecache (struct nfsrv_descript *, int, struct mbuf *);
int nfsrv_errmap (struct nfsrv_descript *, int);
int nfsrv_writegather (struct nfsrv_descript **, struct nfssvc_sock *,
int nfsrv3_access (struct nfsrv_descript *nfsd,
int nfsrv_commit (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_create (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_fsinfo (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_getattr (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_link (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_lookup (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_mkdir (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_mknod (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_noop (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_null (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_pathconf (struct nfsrv_descript *nfsd,
int nfsrv_read (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_readdir (struct nfsrv_descript *nfsd,
int nfsrv_readdirplus (struct nfsrv_descript *nfsd,
int nfsrv_readlink (struct nfsrv_descript *nfsd,
int nfsrv_remove (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_rename (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_rmdir (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_setattr (struct nfsrv_descript *nfsd,
int nfsrv_statfs (struct nfsrv_descript *nfsd,
int nfsrv_symlink (struct nfsrv_descript *nfsd,
int nfsrv_write (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_writegather(struct nfsrv_descript **ndp, struct nfssvc_sock *slp,
struct nfsrv_descript *wp, *nfsd, *owp, *swp;
static void nfsrvw_coalesce (struct nfsrv_descript *,
struct nfsrv_descript *);
nfsrvw_coalesce(struct nfsrv_descript *owp, struct nfsrv_descript *nfsd)
struct nfsrv_descript *p;
nfsrv_create(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_mknod(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_remove(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv3_access(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_rename(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_link(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_symlink(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_mkdir(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_getattr(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_rmdir(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_readdir(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_readdirplus(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_setattr(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_commit(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_statfs(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_fsinfo(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_pathconf(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_null(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_noop(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_lookup(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_readlink(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_read(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsrv_write(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int (*nfsrv3_procs[NFS_NPROCS]) (struct nfsrv_descript *nd,
nfs_rephead(int siz, struct nfsrv_descript *nd, struct nfssvc_sock *slp,
nfs_getreq(struct nfsrv_descript *nd, struct nfsd *nfsd, int has_header)
struct nfsrv_descript **ndp)
struct nfsrv_descript *nd;
nd = kmalloc(sizeof(struct nfsrv_descript), M_NFSRVDESC, M_WAITOK);
nfsrv_getcache(struct nfsrv_descript *nd, struct nfssvc_sock *slp,
nfsrv_updatecache(struct nfsrv_descript *nd, int repvalid, struct mbuf *repmbuf)
nfsrv_errmap(struct nfsrv_descript *nd, int err)
nfsd_rt(int sotype, struct nfsrv_descript *nd, int cacherep)
struct nfsrv_descript *nd = NULL;
struct nfsrv_descript *nwp, *nnwp;
static void nfsd_rt (int sotype, struct nfsrv_descript *nd,
nfsm_srvwcc_data(nfsm_info_t info, struct nfsrv_descript *nfsd,
nfsm_srvpostop_attr(nfsm_info_t info, struct nfsrv_descript *nfsd,
nfsm_srvfattr(struct nfsrv_descript *nfsd, struct vattr *vap,
struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
nfsm_srvmtofh(nfsm_info_t info, struct nfsrv_descript *nfsd,
int nfsm_reply(nfsm_info_t info, struct nfsrv_descript *nfsd,
void nfsm_writereply(nfsm_info_t info, struct nfsrv_descript *nfsd,
int nfsm_srvmtofh(nfsm_info_t info, struct nfsrv_descript *nfsd,
void nfsm_srvwcc_data(nfsm_info_t info, struct nfsrv_descript *nfsd,
void nfsm_srvpostop_attr(nfsm_info_t info, struct nfsrv_descript *nfsd,
void nfsm_srvfattr(struct nfsrv_descript *nfsd, struct vattr *vap,