[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.107 and 1.108

version 1.107, 2005/11/02 14:32:54 version 1.108, 2005/12/01 13:21:05
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.107  
changed lines
  Added in v.1.108

CVSweb <webmaster@jp.NetBSD.org>