home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / fs / bfs_compact.h next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  894 b   |  26 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _FS_BFS_COMPACT_H
  11. #define _FS_BFS_COMPACT_H
  12.  
  13. #ident    "@(#)/usr/include/sys/fs/bfs_compact.sl 1.1 4.0 12/08/90 31406 AT&T-USL"
  14.  
  15. #define BFS_CCT_READ(bvp, offset, len, buf,cr) \
  16.     vn_rdwr(UIO_READ, bvp, (caddr_t)buf, len, offset, \
  17.                 UIO_SYSSPACE, 0, 0, cr, 0)
  18.  
  19. #define BFS_CCT_WRITE(bvp, offset, len, buf,cr) \
  20.     vn_rdwr(UIO_WRITE, bvp, (caddr_t)buf, len, offset, \
  21.                 UIO_SYSSPACE, IO_SYNC, BFS_ULT, cr, (int *)0)
  22.  
  23. #define BFS_SANITYWSTART (BFS_SUPEROFF + (sizeof(long)*3))
  24.  
  25. #endif    /* _FS_BFS_COMPACT_H */
  26.