statfs.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * Definitions for the statfs(2) call.
  3.  *
  4.  * This file is subject to the terms and conditions of the GNU General Public
  5.  * License.  See the file "COPYING" in the main directory of this archive
  6.  * for more details.
  7.  *
  8.  * Copyright (C) 1995 by Ralf Baechle
  9.  */
  10. #ifndef __ASM_MIPS_STATFS_H
  11. #define __ASM_MIPS_STATFS_H
  12. #include <linux/posix_types.h>
  13. #ifndef __KERNEL_STRICT_NAMES
  14. #include <linux/types.h>
  15. typedef __kernel_fsid_t        fsid_t;
  16. #endif
  17. struct statfs {
  18. long f_type;
  19. #define f_fstyp f_type
  20. long f_bsize;
  21. long f_frsize; /* Fragment size - unsupported */
  22. long f_blocks;
  23. long f_bfree;
  24. long f_files;
  25. long f_ffree;
  26. /* Linux specials */
  27. long f_bavail;
  28. __kernel_fsid_t f_fsid;
  29. long f_namelen;
  30. long f_spare[6];
  31. };
  32. #endif /* __ASM_MIPS_STATFS_H */