nfsmount.h (22975) | nfsmount.h (25663) |
---|---|
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 * @(#)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 --- 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 * @(#)nfsmount.h 8.3 (Berkeley) 3/30/95 |
37 * $Id$ | 37 * $Id: nfsmount.h,v 1.11 1997/02/22 09:42:48 peter Exp $ |
38 */ 39 40 41#ifndef _NFS_NFSMOUNT_H_ 42#define _NFS_NFSMOUNT_H_ 43 44/* 45 * Mount structure. --- 44 unchanged lines hidden (view full) --- 90}; 91 92#if defined(KERNEL) || defined(_KERNEL) 93/* 94 * Convert mount ptr to nfsmount ptr. 95 */ 96#define VFSTONFS(mp) ((struct nfsmount *)((mp)->mnt_data)) 97 | 38 */ 39 40 41#ifndef _NFS_NFSMOUNT_H_ 42#define _NFS_NFSMOUNT_H_ 43 44/* 45 * Mount structure. --- 44 unchanged lines hidden (view full) --- 90}; 91 92#if defined(KERNEL) || defined(_KERNEL) 93/* 94 * Convert mount ptr to nfsmount ptr. 95 */ 96#define VFSTONFS(mp) ((struct nfsmount *)((mp)->mnt_data)) 97 |
98#ifdef NFS_DEBUG 99 100extern int nfs_debug; 101#define NFS_DEBUG_ASYNCIO 1 102 103#define NFS_DPF(cat, args) \ 104 do { \ 105 if (nfs_debug & NFS_DEBUG_##cat) printf args; \ 106 } while (0) 107 108#else 109 110#define NFS_DPF(cat, args) 111 112#endif 113 | |
114#endif /* KERNEL */ 115 116#endif | 98#endif /* KERNEL */ 99 100#endif |