Home | History | Annotate | Download | only in nfsd
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef LINUX_NFSD_STATS_H
     13 #define LINUX_NFSD_STATS_H
     14 
     15 #include <linux/nfs4.h>
     16 
     17 struct nfsd_stats {
     18  unsigned int rchits;
     19  unsigned int rcmisses;
     20  unsigned int rcnocache;
     21  unsigned int fh_stale;
     22  unsigned int fh_lookup;
     23  unsigned int fh_anon;
     24  unsigned int fh_nocache_dir;
     25  unsigned int fh_nocache_nondir;
     26  unsigned int io_read;
     27  unsigned int io_write;
     28  unsigned int th_cnt;
     29  unsigned int th_usage[10];
     30  unsigned int th_fullcnt;
     31  unsigned int ra_size;
     32  unsigned int ra_depth[11];
     33 
     34 };
     35 
     36 #define NFSD_USAGE_WRAP (HZ*1000000)
     37 
     38 #endif
     39