nfsmount.h (131691) | nfsmount.h (138496) |
---|---|
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 --- 16 unchanged lines hidden (view full) --- 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 * @(#)nfsmount.h 8.3 (Berkeley) 3/30/95 | 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 --- 16 unchanged lines hidden (view full) --- 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 * @(#)nfsmount.h 8.3 (Berkeley) 3/30/95 |
33 * $FreeBSD: head/sys/nfsclient/nfsmount.h 131691 2004-07-06 09:12:03Z alfred $ | 33 * $FreeBSD: head/sys/nfsclient/nfsmount.h 138496 2004-12-06 21:11:15Z ps $ |
34 */ 35 36#ifndef _NFSCLIENT_NFSMOUNT_H_ 37#define _NFSCLIENT_NFSMOUNT_H_ 38 | 34 */ 35 36#ifndef _NFSCLIENT_NFSMOUNT_H_ 37#define _NFSCLIENT_NFSMOUNT_H_ 38 |
39struct nfs_tcp_mountstate { 40 int rpcresid; 41#define NFS_TCP_EXPECT_RPCMARKER 0x0001 /* Expect to see a RPC/TCP marker next */ 42#define NFS_TCP_FORCE_RECONNECT 0x0002 /* Force a TCP reconnect */ 43 int flags; 44 struct mtx mtx; 45}; 46 |
|
39/* 40 * Mount structure. 41 * One allocated on every NFS mount. 42 * Holds NFS specific information for mount. 43 */ 44struct nfsmount { 45 int nm_flag; /* Flags for soft/hard... */ 46 int nm_state; /* Internal state flags */ --- 27 unchanged lines hidden (view full) --- 74 TAILQ_HEAD(, buf) nm_bufq; /* async io buffer queue */ 75 short nm_bufqlen; /* number of buffers in queue */ 76 short nm_bufqwant; /* process wants to add to the queue */ 77 int nm_bufqiods; /* number of iods processing queue */ 78 u_int64_t nm_maxfilesize; /* maximum file size */ 79 struct nfs_rpcops *nm_rpcops; 80 int nm_tprintf_initial_delay; /* initial delay */ 81 int nm_tprintf_delay; /* interval for messages */ | 47/* 48 * Mount structure. 49 * One allocated on every NFS mount. 50 * Holds NFS specific information for mount. 51 */ 52struct nfsmount { 53 int nm_flag; /* Flags for soft/hard... */ 54 int nm_state; /* Internal state flags */ --- 27 unchanged lines hidden (view full) --- 82 TAILQ_HEAD(, buf) nm_bufq; /* async io buffer queue */ 83 short nm_bufqlen; /* number of buffers in queue */ 84 short nm_bufqwant; /* process wants to add to the queue */ 85 int nm_bufqiods; /* number of iods processing queue */ 86 u_int64_t nm_maxfilesize; /* maximum file size */ 87 struct nfs_rpcops *nm_rpcops; 88 int nm_tprintf_initial_delay; /* initial delay */ 89 int nm_tprintf_delay; /* interval for messages */ |
90 struct nfs_tcp_mountstate nm_nfstcpstate; |
|
82 83 /* NFSv4 */ 84 uint64_t nm_clientid; 85 fsid_t nm_fsid; 86 u_int nm_lease_time; 87 time_t nm_last_renewal; 88}; 89 --- 17 unchanged lines hidden --- | 91 92 /* NFSv4 */ 93 uint64_t nm_clientid; 94 fsid_t nm_fsid; 95 u_int nm_lease_time; 96 time_t nm_last_renewal; 97}; 98 --- 17 unchanged lines hidden --- |