nfssvc_sock
TAILQ_ENTRY(nfssvc_sock) ns_chain; /* List of all nfssvc_sock's */
extern TAILQ_HEAD(nfssvc_sockhead, nfssvc_sock) nfssvc_sockhead;
struct nfssvc_sock *nfsd_slp; /* Current socket */
struct nfssvc_sock *slp,
int nfs_rephead (int, struct nfsrv_descript *, struct nfssvc_sock *,
int nfs_slplock (struct nfssvc_sock *, int);
void nfs_slpunlock (struct nfssvc_sock *);
struct nfssvc_sock *, struct sockaddr *, struct mbuf **,
int nfsrv_dorec (struct nfssvc_sock *, struct nfsd *,
int nfsrv_getcache (struct nfsrv_descript *, struct nfssvc_sock *,
void nfsrv_wakenfsd (struct nfssvc_sock *slp, int nparallel);
int nfsrv_writegather (struct nfsrv_descript **, struct nfssvc_sock *,
struct nfssvc_sock *slp,
int nfsrv_commit (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
int nfsrv_create (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
struct ucred *, struct nfssvc_sock *,
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,
struct nfssvc_sock *slp, struct thread *td,
int nfsrv_read (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
struct nfssvc_sock *slp,
struct nfssvc_sock *slp, struct thread *td,
struct nfssvc_sock *slp, struct thread *td,
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,
struct nfssvc_sock *slp,
struct nfssvc_sock *slp,
struct nfssvc_sock *slp,
int nfsrv_write (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
void nfsrv_slpderef (struct nfssvc_sock *slp);
void nfsrv_slpref (struct nfssvc_sock *slp);
nfsrv_writegather(struct nfsrv_descript **ndp, struct nfssvc_sock *slp,
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,
static int nfsrv_getstream (struct nfssvc_sock *, int, int *);
struct nfssvc_sock *slp,
nfs_rephead(int siz, struct nfsrv_descript *nd, struct nfssvc_sock *slp,
struct nfssvc_sock *slp;
struct nfssvc_sock *slp = (struct nfssvc_sock *)arg;
struct nfssvc_sock *slp = (struct nfssvc_sock *)arg;
nfsrv_getstream(struct nfssvc_sock *slp, int waitflag, int *countp)
nfsrv_dorec(struct nfssvc_sock *slp, struct nfsd *nfsd,
nfsrv_wakenfsd(struct nfssvc_sock *slp, int nparallel)
nfsrv_getcache(struct nfsrv_descript *nd, struct nfssvc_sock *slp,
struct ucred *cred, struct nfssvc_sock *slp, struct sockaddr *nam,
struct nfssvc_sock *slp, struct sockaddr *nam, struct mbuf **mdp,
struct nfssvc_sock *slp;
struct nfssvc_sock *slp;
slp = kmalloc(sizeof (struct nfssvc_sock), M_NFSSVC, M_WAITOK | M_ZERO);
struct nfssvc_sock *slp;
static void nfsrv_zapsock (struct nfssvc_sock *slp);
nfsrv_zapsock(struct nfssvc_sock *slp)
nfsrv_slpderef(struct nfssvc_sock *slp)
nfsrv_slpref(struct nfssvc_sock *slp)
nfs_slplock(struct nfssvc_sock *slp, int wait)
nfs_slpunlock(struct nfssvc_sock *slp)
struct nfssvc_sock *slp, *nslp;
nfs_udpsock = (struct nfssvc_sock *)
kmalloc(sizeof (struct nfssvc_sock), M_NFSSVC, M_WAITOK | M_ZERO);
nfs_cltpsock = (struct nfssvc_sock *)
kmalloc(sizeof (struct nfssvc_sock), M_NFSSVC, M_WAITOK | M_ZERO);
struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
struct nfssvc_sock *slp, int siz, int *errorp);
struct nfssvc_sock *slp, int error, int siz);