home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / linux / gfs_ioctl.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  1.0 KB  |  34 lines

  1. /******************************************************************************
  2. *******************************************************************************
  3. **
  4. **  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
  5. **  Copyright (C) 2004-2006 Red Hat, Inc.  All rights reserved.
  6. **
  7. **  This copyrighted material is made available to anyone wishing to use,
  8. **  modify, copy, or redistribute it subject to the terms and conditions
  9. **  of the GNU General Public License v.2.
  10. **
  11. *******************************************************************************
  12. ******************************************************************************/
  13.  
  14. #ifndef __GFS_IOCTL_DOT_H__
  15. #define __GFS_IOCTL_DOT_H__
  16.  
  17. #define _GFSC_(x)               (('G' << 8) | (x))
  18.  
  19. /* Ioctls implemented */
  20.  
  21. #define GFS_IOCTL_IDENTIFY      _GFSC_(35)
  22. #define GFS_IOCTL_SUPER         _GFSC_(45)
  23.  
  24. struct gfs_ioctl {
  25.     unsigned int gi_argc;
  26.     char **gi_argv;
  27.  
  28.         char __user *gi_data;
  29.     unsigned int gi_size;
  30.     uint64_t gi_offset;
  31. };
  32.  
  33. #endif /* ___GFS_IOCTL_DOT_H__ */
  34.