[BACK]Return to subr_pool.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/subr_pool.c between version 1.87.2.6 and 1.87.2.7

version 1.87.2.6, 2005/11/10 14:09:45 version 1.87.2.7, 2005/12/11 10:29:12
Line 1581  pool_print(struct pool *pp, const char *
Line 1581  pool_print(struct pool *pp, const char *
 }  }
   
 void  void
   pool_printall(const char *modif, void (*pr)(const char *, ...))
   {
           struct pool *pp;
   
           if (simple_lock_try(&pool_head_slock) == 0) {
                   (*pr)("WARNING: pool_head_slock is locked\n");
           } else {
                   simple_unlock(&pool_head_slock);
           }
   
           LIST_FOREACH(pp, &pool_head, pr_poollist) {
                   pool_printit(pp, modif, pr);
           }
   }
   
   void
 pool_printit(struct pool *pp, const char *modif, void (*pr)(const char *, ...))  pool_printit(struct pool *pp, const char *modif, void (*pr)(const char *, ...))
 {  {
   

Legend:
Removed from v.1.87.2.6  
changed lines
  Added in v.1.87.2.7

CVSweb <webmaster@jp.NetBSD.org>