kern_history_ent
struct kern_history_ent pmaphistbuf[UVMHIST_PMAPHIST_SIZE];
static struct kern_history_ent usbhistbuf[USBHIST_SIZE];
struct kern_history_ent *in_evt;
(NAME).e = (struct kern_history_ent *) \
kmem_zalloc(sizeof(struct kern_history_ent) * (N), KM_SLEEP); \
.n = sizeof(BUF) / sizeof(struct kern_history_ent), \
.e = (struct kern_history_ent *) (BUF), \
struct kern_history_ent * const _e_ = &(NAME).e[_i_]; \
kernhist_entry_print(const struct kern_history_ent *e, void (*pr)(const char *, ...) __printflike(1, 2))
struct kern_history_ent *e; /* the allocated entries */
static struct kern_history_ent pmapexechistbuf[10000];
static struct kern_history_ent pmaphistbuf[10000];
static struct kern_history_ent pmapxtabhistbuf[5000];
static struct kern_history_ent maphistbuf[UVMHIST_MAPHIST_SIZE];
static struct kern_history_ent pdhistbuf[UVMHIST_PDHIST_SIZE];
struct kern_history_ent *histents, *e;
histsize = sizeof(struct kern_history_ent) * histp->n;