2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
17 #define min(a, b) (((a) < (b)) ? (a) : (b))
18 #define bcopyin copyin /* Aux has identical bcopyin */
20 #define BLKDEV_IOSIZE BSIZE
21 /*#define MAXBSIZE NFS_MAXDATA*/
24 /*#define IO_SYNC FSYNC*/
25 #define IO_APPEND FAPPEND
26 /*#define IO_NDELAY FNDELAY*/
28 /*#define v_pdata v_data*/
29 #define v_op v_gnode->gn_ops
30 #define iunlock(x) irele(x)
34 * if _SUN is defined, this is in vnode.h (at least today... who knows where
35 * they will hide it tomorrow)
37 enum vcexcl
{ NONEXCL
, EXCL
}; /* (non)exclusive create */
40 struct buf
*getblk(), *geteblk(), *breada(), *bread();
41 #define b_actf av_forw
42 #define dbtob(db) ((unsigned)(db) << 9) /* (db * 512) */