574int nfs_init __P((struct vfsconf *vfsp)); 575int nfs_reply __P((struct nfsreq *)); 576int nfs_getreq __P((struct nfsrv_descript *,struct nfsd *,int)); 577int nfs_send __P((struct socket *, struct sockaddr *, struct mbuf *, 578 struct nfsreq *)); 579int nfs_rephead __P((int, struct nfsrv_descript *, struct nfssvc_sock *, 580 int, int, u_quad_t *, struct mbuf **, struct mbuf **, 581 caddr_t *)); 582int nfs_sndlock __P((int *, struct nfsreq *)); 583void nfs_sndunlock __P((int *flagp)); 584int nfs_disct __P((struct mbuf **, caddr_t *, int, int, caddr_t *)); 585int nfs_vinvalbuf __P((struct vnode *, int, struct ucred *, struct proc *, 586 int)); 587int nfs_readrpc __P((struct vnode *, struct uio *, struct ucred *)); 588int nfs_writerpc __P((struct vnode *, struct uio *, struct ucred *, int *, 589 int *)); 590int nfs_readdirrpc __P((struct vnode *, struct uio *, struct ucred *)); 591int nfs_asyncio __P((struct buf *, struct ucred *)); 592int nfs_doio __P((struct buf *, struct ucred *, struct proc *)); 593int nfs_readlinkrpc __P((struct vnode *, struct uio *, struct ucred *)); 594int nfs_sigintr __P((struct nfsmount *, struct nfsreq *, struct proc *)); 595int nfs_readdirplusrpc __P((struct vnode *, struct uio *, struct ucred *)); 596int nfsm_disct __P((struct mbuf **, caddr_t *, int, int, caddr_t *)); 597void nfsm_srvfattr __P((struct nfsrv_descript *, struct vattr *, 598 struct nfs_fattr *)); 599void nfsm_srvwcc __P((struct nfsrv_descript *, int, struct vattr *, int, 600 struct vattr *, struct mbuf **, char **)); 601void nfsm_srvpostopattr __P((struct nfsrv_descript *, int, struct vattr *, 602 struct mbuf **, char **)); 603int netaddr_match __P((int, union nethostaddr *, struct sockaddr *)); 604int nfs_request __P((struct vnode *, struct mbuf *, int, struct proc *, 605 struct ucred *, struct mbuf **, struct mbuf **, 606 caddr_t *)); 607int nfs_loadattrcache __P((struct vnode **, struct mbuf **, caddr_t *, 608 struct vattr *)); 609int nfs_namei __P((struct nameidata *, fhandle_t *, int, 610 struct nfssvc_sock *, struct sockaddr *, struct mbuf **, 611 caddr_t *, struct vnode **, struct proc *, int, int)); 612void nfsm_adj __P((struct mbuf *, int, int)); 613int nfsm_mbuftouio __P((struct mbuf **, struct uio *, int, caddr_t *)); 614void nfsrv_initcache __P((void)); 615int nfs_getauth __P((struct nfsmount *, struct nfsreq *, struct ucred *, 616 char **, int *, char *, int *, NFSKERBKEY_T)); 617int nfs_getnickauth __P((struct nfsmount *, struct ucred *, char **, 618 int *, char *, int)); 619int nfs_savenickauth __P((struct nfsmount *, struct ucred *, int, 620 NFSKERBKEY_T, struct mbuf **, char **, 621 struct mbuf *)); 622int nfs_adv __P((struct mbuf **, caddr_t *, int, int)); 623void nfs_nhinit __P((void)); 624void nfs_timer __P((void*)); 625u_long nfs_hash __P((nfsfh_t *, int)); 626int nfsrv_dorec __P((struct nfssvc_sock *, struct nfsd *, 627 struct nfsrv_descript **)); 628int nfsrv_getcache __P((struct nfsrv_descript *, struct nfssvc_sock *, 629 struct mbuf **)); 630void nfsrv_updatecache __P((struct nfsrv_descript *, int, struct mbuf *)); 631void nfsrv_cleancache __P((void)); 632int nfs_connect __P((struct nfsmount *, struct nfsreq *)); 633void nfs_disconnect __P((struct nfsmount *)); 634int nfs_getattrcache __P((struct vnode *, struct vattr *)); 635int nfsm_strtmbuf __P((struct mbuf **, char **, char *, long)); 636int nfs_bioread __P((struct vnode *, struct uio *, int, struct ucred *, 637 int)); 638int nfsm_uiotombuf __P((struct uio *, struct mbuf **, int, caddr_t *)); 639void nfsrv_init __P((int)); 640void nfs_clearcommit __P((struct mount *)); 641int nfsrv_errmap __P((struct nfsrv_descript *, int)); 642void nfsrvw_sort __P((gid_t *, int)); 643void nfsrv_setcred __P((struct ucred *, struct ucred *)); 644int nfs_writebp __P((struct buf *, int)); 645int nfsrv_object_create __P((struct vnode *)); 646void nfsrv_wakenfsd __P((struct nfssvc_sock *slp)); 647int nfsrv_writegather __P((struct nfsrv_descript **, struct nfssvc_sock *, 648 struct proc *, struct mbuf **)); 649int nfs_fsinfo __P((struct nfsmount *, struct vnode *, struct ucred *, 650 struct proc *p)); 651 652int nfsrv3_access __P((struct nfsrv_descript *nfsd, 653 struct nfssvc_sock *slp, 654 struct proc *procp, struct mbuf **mrq)); 655int nfsrv_commit __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 656 struct proc *procp, struct mbuf **mrq)); 657int nfsrv_create __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 658 struct proc *procp, struct mbuf **mrq)); 659int nfsrv_fhtovp __P((fhandle_t *, int, struct vnode **, struct ucred *, 660 struct nfssvc_sock *, struct sockaddr *, int *, 661 int, int)); 662int nfsrv_setpublicfs __P((struct mount *, struct netexport *, 663 struct export_args *)); 664int nfs_ispublicfh __P((fhandle_t *)); 665int nfsrv_fsinfo __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 666 struct proc *procp, struct mbuf **mrq)); 667int nfsrv_getattr __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 668 struct proc *procp, struct mbuf **mrq)); 669int nfsrv_link __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 670 struct proc *procp, struct mbuf **mrq)); 671int nfsrv_lookup __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 672 struct proc *procp, struct mbuf **mrq)); 673int nfsrv_mkdir __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 674 struct proc *procp, struct mbuf **mrq)); 675int nfsrv_mknod __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 676 struct proc *procp, struct mbuf **mrq)); 677int nfsrv_noop __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 678 struct proc *procp, struct mbuf **mrq)); 679int nfsrv_null __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 680 struct proc *procp, struct mbuf **mrq)); 681int nfsrv_pathconf __P((struct nfsrv_descript *nfsd, 682 struct nfssvc_sock *slp, struct proc *procp, 683 struct mbuf **mrq)); 684int nfsrv_read __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 685 struct proc *procp, struct mbuf **mrq)); 686int nfsrv_readdir __P((struct nfsrv_descript *nfsd, 687 struct nfssvc_sock *slp, 688 struct proc *procp, struct mbuf **mrq)); 689int nfsrv_readdirplus __P((struct nfsrv_descript *nfsd, 690 struct nfssvc_sock *slp, struct proc *procp, 691 struct mbuf **mrq)); 692int nfsrv_readlink __P((struct nfsrv_descript *nfsd, 693 struct nfssvc_sock *slp, struct proc *procp, 694 struct mbuf **mrq)); 695int nfsrv_remove __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 696 struct proc *procp, struct mbuf **mrq)); 697int nfsrv_rename __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 698 struct proc *procp, struct mbuf **mrq)); 699int nfsrv_rmdir __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 700 struct proc *procp, struct mbuf **mrq)); 701int nfsrv_setattr __P((struct nfsrv_descript *nfsd, 702 struct nfssvc_sock *slp, 703 struct proc *procp, struct mbuf **mrq)); 704int nfsrv_statfs __P((struct nfsrv_descript *nfsd, 705 struct nfssvc_sock *slp, 706 struct proc *procp, struct mbuf **mrq)); 707int nfsrv_symlink __P((struct nfsrv_descript *nfsd, 708 struct nfssvc_sock *slp, 709 struct proc *procp, struct mbuf **mrq)); 710int nfsrv_write __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 711 struct proc *procp, struct mbuf **mrq)); 712void nfsrv_rcv __P((struct socket *so, caddr_t arg, int waitflag)); 713void nfsrv_slpderef __P((struct nfssvc_sock *slp)); 714#endif /* KERNEL */ 715 716#endif
| 575int nfs_init __P((struct vfsconf *vfsp)); 576int nfs_reply __P((struct nfsreq *)); 577int nfs_getreq __P((struct nfsrv_descript *,struct nfsd *,int)); 578int nfs_send __P((struct socket *, struct sockaddr *, struct mbuf *, 579 struct nfsreq *)); 580int nfs_rephead __P((int, struct nfsrv_descript *, struct nfssvc_sock *, 581 int, int, u_quad_t *, struct mbuf **, struct mbuf **, 582 caddr_t *)); 583int nfs_sndlock __P((int *, struct nfsreq *)); 584void nfs_sndunlock __P((int *flagp)); 585int nfs_disct __P((struct mbuf **, caddr_t *, int, int, caddr_t *)); 586int nfs_vinvalbuf __P((struct vnode *, int, struct ucred *, struct proc *, 587 int)); 588int nfs_readrpc __P((struct vnode *, struct uio *, struct ucred *)); 589int nfs_writerpc __P((struct vnode *, struct uio *, struct ucred *, int *, 590 int *)); 591int nfs_readdirrpc __P((struct vnode *, struct uio *, struct ucred *)); 592int nfs_asyncio __P((struct buf *, struct ucred *)); 593int nfs_doio __P((struct buf *, struct ucred *, struct proc *)); 594int nfs_readlinkrpc __P((struct vnode *, struct uio *, struct ucred *)); 595int nfs_sigintr __P((struct nfsmount *, struct nfsreq *, struct proc *)); 596int nfs_readdirplusrpc __P((struct vnode *, struct uio *, struct ucred *)); 597int nfsm_disct __P((struct mbuf **, caddr_t *, int, int, caddr_t *)); 598void nfsm_srvfattr __P((struct nfsrv_descript *, struct vattr *, 599 struct nfs_fattr *)); 600void nfsm_srvwcc __P((struct nfsrv_descript *, int, struct vattr *, int, 601 struct vattr *, struct mbuf **, char **)); 602void nfsm_srvpostopattr __P((struct nfsrv_descript *, int, struct vattr *, 603 struct mbuf **, char **)); 604int netaddr_match __P((int, union nethostaddr *, struct sockaddr *)); 605int nfs_request __P((struct vnode *, struct mbuf *, int, struct proc *, 606 struct ucred *, struct mbuf **, struct mbuf **, 607 caddr_t *)); 608int nfs_loadattrcache __P((struct vnode **, struct mbuf **, caddr_t *, 609 struct vattr *)); 610int nfs_namei __P((struct nameidata *, fhandle_t *, int, 611 struct nfssvc_sock *, struct sockaddr *, struct mbuf **, 612 caddr_t *, struct vnode **, struct proc *, int, int)); 613void nfsm_adj __P((struct mbuf *, int, int)); 614int nfsm_mbuftouio __P((struct mbuf **, struct uio *, int, caddr_t *)); 615void nfsrv_initcache __P((void)); 616int nfs_getauth __P((struct nfsmount *, struct nfsreq *, struct ucred *, 617 char **, int *, char *, int *, NFSKERBKEY_T)); 618int nfs_getnickauth __P((struct nfsmount *, struct ucred *, char **, 619 int *, char *, int)); 620int nfs_savenickauth __P((struct nfsmount *, struct ucred *, int, 621 NFSKERBKEY_T, struct mbuf **, char **, 622 struct mbuf *)); 623int nfs_adv __P((struct mbuf **, caddr_t *, int, int)); 624void nfs_nhinit __P((void)); 625void nfs_timer __P((void*)); 626u_long nfs_hash __P((nfsfh_t *, int)); 627int nfsrv_dorec __P((struct nfssvc_sock *, struct nfsd *, 628 struct nfsrv_descript **)); 629int nfsrv_getcache __P((struct nfsrv_descript *, struct nfssvc_sock *, 630 struct mbuf **)); 631void nfsrv_updatecache __P((struct nfsrv_descript *, int, struct mbuf *)); 632void nfsrv_cleancache __P((void)); 633int nfs_connect __P((struct nfsmount *, struct nfsreq *)); 634void nfs_disconnect __P((struct nfsmount *)); 635int nfs_getattrcache __P((struct vnode *, struct vattr *)); 636int nfsm_strtmbuf __P((struct mbuf **, char **, char *, long)); 637int nfs_bioread __P((struct vnode *, struct uio *, int, struct ucred *, 638 int)); 639int nfsm_uiotombuf __P((struct uio *, struct mbuf **, int, caddr_t *)); 640void nfsrv_init __P((int)); 641void nfs_clearcommit __P((struct mount *)); 642int nfsrv_errmap __P((struct nfsrv_descript *, int)); 643void nfsrvw_sort __P((gid_t *, int)); 644void nfsrv_setcred __P((struct ucred *, struct ucred *)); 645int nfs_writebp __P((struct buf *, int)); 646int nfsrv_object_create __P((struct vnode *)); 647void nfsrv_wakenfsd __P((struct nfssvc_sock *slp)); 648int nfsrv_writegather __P((struct nfsrv_descript **, struct nfssvc_sock *, 649 struct proc *, struct mbuf **)); 650int nfs_fsinfo __P((struct nfsmount *, struct vnode *, struct ucred *, 651 struct proc *p)); 652 653int nfsrv3_access __P((struct nfsrv_descript *nfsd, 654 struct nfssvc_sock *slp, 655 struct proc *procp, struct mbuf **mrq)); 656int nfsrv_commit __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 657 struct proc *procp, struct mbuf **mrq)); 658int nfsrv_create __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 659 struct proc *procp, struct mbuf **mrq)); 660int nfsrv_fhtovp __P((fhandle_t *, int, struct vnode **, struct ucred *, 661 struct nfssvc_sock *, struct sockaddr *, int *, 662 int, int)); 663int nfsrv_setpublicfs __P((struct mount *, struct netexport *, 664 struct export_args *)); 665int nfs_ispublicfh __P((fhandle_t *)); 666int nfsrv_fsinfo __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 667 struct proc *procp, struct mbuf **mrq)); 668int nfsrv_getattr __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 669 struct proc *procp, struct mbuf **mrq)); 670int nfsrv_link __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 671 struct proc *procp, struct mbuf **mrq)); 672int nfsrv_lookup __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 673 struct proc *procp, struct mbuf **mrq)); 674int nfsrv_mkdir __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 675 struct proc *procp, struct mbuf **mrq)); 676int nfsrv_mknod __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 677 struct proc *procp, struct mbuf **mrq)); 678int nfsrv_noop __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 679 struct proc *procp, struct mbuf **mrq)); 680int nfsrv_null __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 681 struct proc *procp, struct mbuf **mrq)); 682int nfsrv_pathconf __P((struct nfsrv_descript *nfsd, 683 struct nfssvc_sock *slp, struct proc *procp, 684 struct mbuf **mrq)); 685int nfsrv_read __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 686 struct proc *procp, struct mbuf **mrq)); 687int nfsrv_readdir __P((struct nfsrv_descript *nfsd, 688 struct nfssvc_sock *slp, 689 struct proc *procp, struct mbuf **mrq)); 690int nfsrv_readdirplus __P((struct nfsrv_descript *nfsd, 691 struct nfssvc_sock *slp, struct proc *procp, 692 struct mbuf **mrq)); 693int nfsrv_readlink __P((struct nfsrv_descript *nfsd, 694 struct nfssvc_sock *slp, struct proc *procp, 695 struct mbuf **mrq)); 696int nfsrv_remove __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 697 struct proc *procp, struct mbuf **mrq)); 698int nfsrv_rename __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 699 struct proc *procp, struct mbuf **mrq)); 700int nfsrv_rmdir __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 701 struct proc *procp, struct mbuf **mrq)); 702int nfsrv_setattr __P((struct nfsrv_descript *nfsd, 703 struct nfssvc_sock *slp, 704 struct proc *procp, struct mbuf **mrq)); 705int nfsrv_statfs __P((struct nfsrv_descript *nfsd, 706 struct nfssvc_sock *slp, 707 struct proc *procp, struct mbuf **mrq)); 708int nfsrv_symlink __P((struct nfsrv_descript *nfsd, 709 struct nfssvc_sock *slp, 710 struct proc *procp, struct mbuf **mrq)); 711int nfsrv_write __P((struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, 712 struct proc *procp, struct mbuf **mrq)); 713void nfsrv_rcv __P((struct socket *so, caddr_t arg, int waitflag)); 714void nfsrv_slpderef __P((struct nfssvc_sock *slp)); 715#endif /* KERNEL */ 716 717#endif
|