nfs_var.h (222389) | nfs_var.h (222719) |
---|---|
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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/fs/nfs/nfs_var.h 222389 2011-05-27 22:05:10Z rmacklem $ | 32 * $FreeBSD: head/sys/fs/nfs/nfs_var.h 222719 2011-06-05 18:17:37Z rmacklem $ |
33 */ 34 35/* 36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs 37 */ 38 39struct uio; 40struct ucred; --- 355 unchanged lines hidden (view full) --- 396 struct nfsvattr *, int *, void *); 397int nfsrpc_readdir(vnode_t, struct uio *, nfsuint64 *, struct ucred *, 398 NFSPROC_T *, struct nfsvattr *, int *, int *, void *); 399int nfsrpc_readdirplus(vnode_t, struct uio *, nfsuint64 *, 400 struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, int *, void *); 401int nfsrpc_commit(vnode_t, u_quad_t, int, struct ucred *, 402 NFSPROC_T *, u_char *, struct nfsvattr *, int *, void *); 403int nfsrpc_advlock(vnode_t, off_t, int, struct flock *, int, | 33 */ 34 35/* 36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs 37 */ 38 39struct uio; 40struct ucred; --- 355 unchanged lines hidden (view full) --- 396 struct nfsvattr *, int *, void *); 397int nfsrpc_readdir(vnode_t, struct uio *, nfsuint64 *, struct ucred *, 398 NFSPROC_T *, struct nfsvattr *, int *, int *, void *); 399int nfsrpc_readdirplus(vnode_t, struct uio *, nfsuint64 *, 400 struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, int *, void *); 401int nfsrpc_commit(vnode_t, u_quad_t, int, struct ucred *, 402 NFSPROC_T *, u_char *, struct nfsvattr *, int *, void *); 403int nfsrpc_advlock(vnode_t, off_t, int, struct flock *, int, |
404 struct ucred *, NFSPROC_T *); | 404 struct ucred *, NFSPROC_T *, void *, int); |
405int nfsrpc_lockt(struct nfsrv_descript *, vnode_t, 406 struct nfsclclient *, u_int64_t, u_int64_t, struct flock *, | 405int nfsrpc_lockt(struct nfsrv_descript *, vnode_t, 406 struct nfsclclient *, u_int64_t, u_int64_t, struct flock *, |
407 struct ucred *, NFSPROC_T *); | 407 struct ucred *, NFSPROC_T *, void *, int); |
408int nfsrpc_lock(struct nfsrv_descript *, struct nfsmount *, vnode_t, 409 u_int8_t *, int, struct nfscllockowner *, int, int, u_int64_t, 410 u_int64_t, short, struct ucred *, NFSPROC_T *, int); 411int nfsrpc_statfs(vnode_t, struct nfsstatfs *, struct nfsfsinfo *, 412 struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, void *); 413int nfsrpc_fsinfo(vnode_t, struct nfsfsinfo *, struct ucred *, 414 NFSPROC_T *, struct nfsvattr *, int *, void *); 415int nfsrpc_pathconf(vnode_t, struct nfsv3_pathconf *, --- 18 unchanged lines hidden (view full) --- 434void nfscl_ownerrelease(struct nfsclowner *, int, int, int); 435void nfscl_openrelease(struct nfsclopen *, int, int); 436int nfscl_getcl(vnode_t, struct ucred *, NFSPROC_T *, 437 struct nfsclclient **); 438struct nfsclclient *nfscl_findcl(struct nfsmount *); 439void nfscl_clientrelease(struct nfsclclient *); 440void nfscl_freelock(struct nfscllock *, int); 441int nfscl_getbytelock(vnode_t, u_int64_t, u_int64_t, short, | 408int nfsrpc_lock(struct nfsrv_descript *, struct nfsmount *, vnode_t, 409 u_int8_t *, int, struct nfscllockowner *, int, int, u_int64_t, 410 u_int64_t, short, struct ucred *, NFSPROC_T *, int); 411int nfsrpc_statfs(vnode_t, struct nfsstatfs *, struct nfsfsinfo *, 412 struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, void *); 413int nfsrpc_fsinfo(vnode_t, struct nfsfsinfo *, struct ucred *, 414 NFSPROC_T *, struct nfsvattr *, int *, void *); 415int nfsrpc_pathconf(vnode_t, struct nfsv3_pathconf *, --- 18 unchanged lines hidden (view full) --- 434void nfscl_ownerrelease(struct nfsclowner *, int, int, int); 435void nfscl_openrelease(struct nfsclopen *, int, int); 436int nfscl_getcl(vnode_t, struct ucred *, NFSPROC_T *, 437 struct nfsclclient **); 438struct nfsclclient *nfscl_findcl(struct nfsmount *); 439void nfscl_clientrelease(struct nfsclclient *); 440void nfscl_freelock(struct nfscllock *, int); 441int nfscl_getbytelock(vnode_t, u_int64_t, u_int64_t, short, |
442 struct ucred *, NFSPROC_T *, struct nfsclclient *, int, u_int8_t *, 443 u_int8_t *, struct nfscllockowner **, int *, int *); | 442 struct ucred *, NFSPROC_T *, struct nfsclclient *, int, void *, int, 443 u_int8_t *, u_int8_t *, struct nfscllockowner **, int *, int *); |
444int nfscl_relbytelock(vnode_t, u_int64_t, u_int64_t, 445 struct ucred *, NFSPROC_T *, int, struct nfsclclient *, | 444int nfscl_relbytelock(vnode_t, u_int64_t, u_int64_t, 445 struct ucred *, NFSPROC_T *, int, struct nfsclclient *, |
446 struct nfscllockowner **, int *); | 446 void *, int, struct nfscllockowner **, int *); |
447int nfscl_checkwritelocked(vnode_t, struct flock *, | 447int nfscl_checkwritelocked(vnode_t, struct flock *, |
448 struct ucred *, NFSPROC_T *); | 448 struct ucred *, NFSPROC_T *, void *, int); |
449void nfscl_lockrelease(struct nfscllockowner *, int, int); 450void nfscl_fillclid(u_int64_t, char *, u_int8_t *, u_int16_t); | 449void nfscl_lockrelease(struct nfscllockowner *, int, int); 450void nfscl_fillclid(u_int64_t, char *, u_int8_t *, u_int16_t); |
451void nfscl_filllockowner(NFSPROC_T *, u_int8_t *); | 451void nfscl_filllockowner(void *, u_int8_t *, int); |
452void nfscl_freeopen(struct nfsclopen *, int); 453void nfscl_umount(struct nfsmount *, NFSPROC_T *); 454void nfscl_renewthread(struct nfsclclient *, NFSPROC_T *); 455void nfscl_initiate_recovery(struct nfsclclient *); 456int nfscl_hasexpired(struct nfsclclient *, u_int32_t, NFSPROC_T *); 457void nfscl_dumpstate(struct nfsmount *, int, int, int, int); 458void nfscl_dupopen(vnode_t, int); 459int nfscl_getclose(vnode_t, struct nfsclclient **); 460int nfscl_doclose(vnode_t, struct nfsclclient **, NFSPROC_T *); 461void nfsrpc_doclose(struct nfsmount *, struct nfsclopen *, NFSPROC_T *); 462int nfscl_deleg(mount_t, struct nfsclclient *, u_int8_t *, int, 463 struct ucred *, NFSPROC_T *, struct nfscldeleg **); 464void nfscl_lockinit(struct nfsv4lock *); 465void nfscl_lockexcl(struct nfsv4lock *, void *); 466void nfscl_lockunlock(struct nfsv4lock *); 467void nfscl_lockderef(struct nfsv4lock *); 468void nfscl_docb(struct nfsrv_descript *, NFSPROC_T *); | 452void nfscl_freeopen(struct nfsclopen *, int); 453void nfscl_umount(struct nfsmount *, NFSPROC_T *); 454void nfscl_renewthread(struct nfsclclient *, NFSPROC_T *); 455void nfscl_initiate_recovery(struct nfsclclient *); 456int nfscl_hasexpired(struct nfsclclient *, u_int32_t, NFSPROC_T *); 457void nfscl_dumpstate(struct nfsmount *, int, int, int, int); 458void nfscl_dupopen(vnode_t, int); 459int nfscl_getclose(vnode_t, struct nfsclclient **); 460int nfscl_doclose(vnode_t, struct nfsclclient **, NFSPROC_T *); 461void nfsrpc_doclose(struct nfsmount *, struct nfsclopen *, NFSPROC_T *); 462int nfscl_deleg(mount_t, struct nfsclclient *, u_int8_t *, int, 463 struct ucred *, NFSPROC_T *, struct nfscldeleg **); 464void nfscl_lockinit(struct nfsv4lock *); 465void nfscl_lockexcl(struct nfsv4lock *, void *); 466void nfscl_lockunlock(struct nfsv4lock *); 467void nfscl_lockderef(struct nfsv4lock *); 468void nfscl_docb(struct nfsrv_descript *, NFSPROC_T *); |
469void nfscl_releasealllocks(struct nfsclclient *, vnode_t, NFSPROC_T *); | 469void nfscl_releasealllocks(struct nfsclclient *, vnode_t, NFSPROC_T *, void *, 470 int); |
470int nfscl_lockt(vnode_t, struct nfsclclient *, u_int64_t, | 471int nfscl_lockt(vnode_t, struct nfsclclient *, u_int64_t, |
471 u_int64_t, struct flock *, NFSPROC_T *); | 472 u_int64_t, struct flock *, NFSPROC_T *, void *, int); |
472int nfscl_mustflush(vnode_t); 473int nfscl_nodeleg(vnode_t, int); 474int nfscl_removedeleg(vnode_t, NFSPROC_T *, nfsv4stateid_t *); 475int nfscl_getref(struct nfsmount *); 476void nfscl_relref(struct nfsmount *); 477int nfscl_renamedeleg(vnode_t, nfsv4stateid_t *, int *, vnode_t, 478 nfsv4stateid_t *, int *, NFSPROC_T *); 479void nfscl_reclaimnode(vnode_t); --- 121 unchanged lines hidden --- | 473int nfscl_mustflush(vnode_t); 474int nfscl_nodeleg(vnode_t, int); 475int nfscl_removedeleg(vnode_t, NFSPROC_T *, nfsv4stateid_t *); 476int nfscl_getref(struct nfsmount *); 477void nfscl_relref(struct nfsmount *); 478int nfscl_renamedeleg(vnode_t, nfsv4stateid_t *, int *, vnode_t, 479 nfsv4stateid_t *, int *, NFSPROC_T *); 480void nfscl_reclaimnode(vnode_t); --- 121 unchanged lines hidden --- |