|
|
Xinu for VAX
/* bpdump.c - bpdump */
#include <conf.h>
#include <kernel.h>
#include <mark.h>
#include <bufpool.h>
/*------------------------------------------------------------------------
* bpdump - dump the buffer pool table
*------------------------------------------------------------------------
*/
bpdump()
{
int i;
struct bpool *bpptr;
for (i=0 ; i<NBPOOLS ; i++) {
bpptr = &bptab[i];
kprintf("Buffer Pool %2d: buf size=%4d, sem=%2d, count=%d\n",
i, bpptr->bpsize, bpptr->bpsem, scount(bpptr->bpsem));
}
return(OK);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.