|
Lines 55-63
Link Here
|
| 55 |
long ks_memuse; /* total memory held in bytes */ |
55 |
long ks_memuse; /* total memory held in bytes */ |
| 56 |
long ks_limit; /* most that are allowed to exist */ |
56 |
long ks_limit; /* most that are allowed to exist */ |
| 57 |
long ks_size; /* sizes of this thing that are allocated */ |
57 |
long ks_size; /* sizes of this thing that are allocated */ |
| 58 |
long ks_inuse; /* # of packets of this type currently in use */ |
58 |
u_int32_t ks_inuse; /* # of packets of this type currently in use */ |
| 59 |
int64_t ks_calls; /* total packets of this type ever allocated */ |
59 |
u_int64_t ks_calls; /* total packets of this type ever allocated */ |
| 60 |
long ks_maxused; /* maximum number ever used */ |
60 |
u_int32_t ks_maxused; /* maximum number ever used */ |
| 61 |
u_long ks_magic; /* if it's not magic, don't touch it */ |
61 |
u_long ks_magic; /* if it's not magic, don't touch it */ |
| 62 |
const char *ks_shortdesc; /* short description */ |
62 |
const char *ks_shortdesc; /* short description */ |
| 63 |
u_short ks_limblocks; /* number of times blocked for hitting limit */ |
63 |
u_short ks_limblocks; /* number of times blocked for hitting limit */ |
|
Lines 102-108
Link Here
|
| 102 |
struct kmembuckets { |
102 |
struct kmembuckets { |
| 103 |
caddr_t kb_next; /* list of free blocks */ |
103 |
caddr_t kb_next; /* list of free blocks */ |
| 104 |
caddr_t kb_last; /* last free block */ |
104 |
caddr_t kb_last; /* last free block */ |
| 105 |
int64_t kb_calls; /* total calls to allocate this size */ |
105 |
u_int64_t kb_calls; /* total calls to allocate this size */ |
| 106 |
long kb_total; /* total number of blocks allocated */ |
106 |
long kb_total; /* total number of blocks allocated */ |
| 107 |
long kb_elmpercl; /* # of elements in this sized allocation */ |
107 |
long kb_elmpercl; /* # of elements in this sized allocation */ |
| 108 |
long kb_totalfree; /* # of free elements in this bucket */ |
108 |
long kb_totalfree; /* # of free elements in this bucket */ |