Diff for /src/sys/sys/namei.h between versions 1.10 and 1.11

version 1.10, 2004/03/16 17:53:51 version 1.11, 2004/04/02 05:46:02
Line 50 Line 50
 #endif  #endif
 #endif  #endif
   
   #if defined(_KERNEL) || defined(_KERNEL_STRUCTURES)
   #ifndef _SYS_NCHSTATS_H_
   #include <sys/nchstats.h>
   #endif
   #endif
   
 struct componentname {  struct componentname {
         /*          /*
          * Arguments to lookup.           * Arguments to lookup.
Line 155  struct nameidata { Line 161  struct nameidata {
         /* (WANTDNCP)       0x00400000 */          /* (WANTDNCP)       0x00400000 */
         /* (WANTNCP)        0x00800000 */          /* (WANTNCP)        0x00800000 */
 #define CNP_PARAMASK        0x001fff00 /* mask of parameter descriptors */  #define CNP_PARAMASK        0x001fff00 /* mask of parameter descriptors */
   
 /*  /*
  * Initialization of an nameidata structure.   * Initialization of an nameidata structure.
  */   */
Line 212  int relookup (struct vnode *dvp, struct Line 219  int relookup (struct vnode *dvp, struct
             struct componentname *cnp);              struct componentname *cnp);
 #endif  #endif
   
 /*  
  * Stats on usefulness of namei caches.  
  */  
 struct  nchstats {  
         long    ncs_goodhits;           /* hits that we can really use */  
         long    ncs_neghits;            /* negative hits that we can use */  
         long    ncs_badhits;            /* hits we must drop */  
         long    ncs_falsehits;          /* hits with id mismatch */  
         long    ncs_miss;               /* misses */  
         long    ncs_long;               /* long names that ignore cache */  
         long    ncs_pass2;              /* names found with passes == 2 */  
         long    ncs_2passes;            /* number of times we attempt it */  
 };  
   
 extern struct nchstats nchstats;  
   
 #endif /* !_SYS_NAMEI_H_ */  #endif /* !_SYS_NAMEI_H_ */

Removed from v.1.10  
changed lines
  Added in v.1.11