nfsrvstats.h (12453) | nfsrvstats.h (12588) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)nfs.h 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)nfs.h 8.1 (Berkeley) 6/10/93 |
37 * $Id: nfs.h,v 1.13 1995/10/31 21:17:59 joerg Exp $ | 37 * $Id: nfs.h,v 1.14 1995/11/21 12:54:38 bde Exp $ |
38 */ 39 40#ifndef _NFS_NFS_H_ 41#define _NFS_NFS_H_ 42 43#include <nfs/rpcv2.h> 44 45/* --- 476 unchanged lines hidden (view full) --- 522void nfs_nhinit __P((void)); 523void nfs_timer __P((void*)); 524u_long nfs_hash __P((nfsfh_t *,int)); 525int nfssvc_iod __P((struct proc *)); 526int nfssvc_nfsd __P((struct nfsd_srvargs *,caddr_t,struct proc *)); 527int nfssvc_addsock __P((struct file *,struct mbuf *)); 528void nfsrv_slpderef __P((struct nfssvc_sock *slp)); 529int nfsrv_dorec __P((struct nfssvc_sock *,struct nfsd *,struct nfsrv_descript **)); | 38 */ 39 40#ifndef _NFS_NFS_H_ 41#define _NFS_NFS_H_ 42 43#include <nfs/rpcv2.h> 44 45/* --- 476 unchanged lines hidden (view full) --- 522void nfs_nhinit __P((void)); 523void nfs_timer __P((void*)); 524u_long nfs_hash __P((nfsfh_t *,int)); 525int nfssvc_iod __P((struct proc *)); 526int nfssvc_nfsd __P((struct nfsd_srvargs *,caddr_t,struct proc *)); 527int nfssvc_addsock __P((struct file *,struct mbuf *)); 528void nfsrv_slpderef __P((struct nfssvc_sock *slp)); 529int nfsrv_dorec __P((struct nfssvc_sock *,struct nfsd *,struct nfsrv_descript **)); |
530void nfsrv_cleancache __P((void)); |
|
530int nfsrv_getcache __P((struct nfsrv_descript *,struct nfssvc_sock *,struct mbuf **)); 531void nfsrv_updatecache __P((struct nfsrv_descript *,int,struct mbuf *)); 532int mountnfs __P((struct nfs_args *,struct mount *,struct mbuf *,char *,char *,struct vnode **)); 533int nfs_connect __P((struct nfsmount *,struct nfsreq *)); | 531int nfsrv_getcache __P((struct nfsrv_descript *,struct nfssvc_sock *,struct mbuf **)); 532void nfsrv_updatecache __P((struct nfsrv_descript *,int,struct mbuf *)); 533int mountnfs __P((struct nfs_args *,struct mount *,struct mbuf *,char *,char *,struct vnode **)); 534int nfs_connect __P((struct nfsmount *,struct nfsreq *)); |
535void nfs_disconnect __P((struct nfsmount *nmp)); |
|
534int nfs_getattrcache __P((struct vnode *,struct vattr *)); 535int nfsm_strtmbuf __P((struct mbuf **,char **,char *,long)); 536int nfs_bioread __P((struct vnode *,struct uio *,int,struct ucred *)); 537int nfsm_uiotombuf __P((struct uio *,struct mbuf **,int,caddr_t *)); 538void nfsrv_init __P((int)); 539void nfs_clearcommit __P((struct mount *)); 540int nfsrv_errmap __P((struct nfsrv_descript *, int)); 541void nfsrvw_coalesce __P((struct nfsrv_descript *,struct nfsrv_descript *)); | 536int nfs_getattrcache __P((struct vnode *,struct vattr *)); 537int nfsm_strtmbuf __P((struct mbuf **,char **,char *,long)); 538int nfs_bioread __P((struct vnode *,struct uio *,int,struct ucred *)); 539int nfsm_uiotombuf __P((struct uio *,struct mbuf **,int,caddr_t *)); 540void nfsrv_init __P((int)); 541void nfs_clearcommit __P((struct mount *)); 542int nfsrv_errmap __P((struct nfsrv_descript *, int)); 543void nfsrvw_coalesce __P((struct nfsrv_descript *,struct nfsrv_descript *)); |
544void nfsrv_rcv __P((struct socket *so, caddr_t arg, int waitflag)); |
|
542void nfsrvw_sort __P((gid_t [],int)); 543void nfsrv_setcred __P((struct ucred *,struct ucred *)); 544int nfs_writebp __P((struct buf *,int)); 545int nfsrv_vput __P(( struct vnode * )); 546int nfsrv_vrele __P(( struct vnode * )); 547int nfsrv_vmio __P(( struct vnode * )); | 545void nfsrvw_sort __P((gid_t [],int)); 546void nfsrv_setcred __P((struct ucred *,struct ucred *)); 547int nfs_writebp __P((struct buf *,int)); 548int nfsrv_vput __P(( struct vnode * )); 549int nfsrv_vrele __P(( struct vnode * )); 550int nfsrv_vmio __P(( struct vnode * )); |
551void nfsrv_wakenfsd __P((struct nfssvc_sock *slp)); |
|
548int nfsrv_writegather __P((struct nfsrv_descript **, struct nfssvc_sock *, 549 struct proc *, struct mbuf **)); 550int nfs_fsinfo __P((struct nfsmount *, struct vnode *, struct ucred *, 551 struct proc *p)); 552 | 552int nfsrv_writegather __P((struct nfsrv_descript **, struct nfssvc_sock *, 553 struct proc *, struct mbuf **)); 554int nfs_fsinfo __P((struct nfsmount *, struct vnode *, struct ucred *, 555 struct proc *p)); 556 |
557int nfsrv3_access __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 558 struct proc *procp, struct mbuf **mrq)); 559int nfsrv_commit __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 560 struct proc *procp, struct mbuf **mrq)); 561int nfsrv_create __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 562 struct proc *procp, struct mbuf **mrq)); 563int nfsrv_fsinfo __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 564 struct proc *procp, struct mbuf **mrq)); 565int nfsrv_getattr __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 566 struct proc *procp, struct mbuf **mrq)); 567int nfsrv_link __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 568 struct proc *procp, struct mbuf **mrq)); 569int nfsrv_lookup __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 570 struct proc *procp, struct mbuf **mrq)); 571int nfsrv_mkdir __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 572 struct proc *procp, struct mbuf **mrq)); 573int nfsrv_mknod __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 574 struct proc *procp, struct mbuf **mrq)); 575int nfsrv_noop __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 576 struct proc *procp, struct mbuf **mrq)); 577int nfsrv_null __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 578 struct proc *procp, struct mbuf **mrq)); 579int nfsrv_pathconf __P((struct nfsrv_descript *nfsd, 580 struct nfssvc_sock *slp, struct proc *procp, 581 struct mbuf **mrq)); 582int nfsrv_read __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 583 struct proc *procp, struct mbuf **mrq)); 584int nfsrv_readdir __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 585 struct proc *procp, struct mbuf **mrq)); 586int nfsrv_readdirplus __P((struct nfsrv_descript *nfsd, 587 struct nfssvc_sock *slp, struct proc *procp, 588 struct mbuf **mrq)); 589int nfsrv_readlink __P((struct nfsrv_descript *nfsd, 590 struct nfssvc_sock *slp, struct proc *procp, 591 struct mbuf **mrq)); 592int nfsrv_remove __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 593 struct proc *procp, struct mbuf **mrq)); 594int nfsrv_rename __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 595 struct proc *procp, struct mbuf **mrq)); 596int nfsrv_rmdir __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 597 struct proc *procp, struct mbuf **mrq)); 598int nfsrv_setattr __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 599 struct proc *procp, struct mbuf **mrq)); 600int nfsrv_statfs __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 601 struct proc *procp, struct mbuf **mrq)); 602int nfsrv_symlink __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 603 struct proc *procp, struct mbuf **mrq)); 604int nfsrv_write __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 605 struct proc *procp, struct mbuf **mrq)); 606 |
|
553#endif /* KERNEL */ 554 555#endif | 607#endif /* KERNEL */ 608 609#endif |