hrmstat
struct hrmstat *a_hrm; /* ref and mod bits */
struct hrmstat *hrm_anext; /* as statistics block list */
struct hrmstat *hrm_hnext; /* list for hashed blocks */
extern struct hrmstat **hrm_hashtab;
struct hrmstat *hrm;
hrm = (struct hrmstat *)hrm_balloc();
struct hrmstat *hrm;
struct hrmstat *prev_ahrm;
struct hrmstat *hrm_tmplist;
struct hrmstat *hrm_next;
struct hrmstat *hrm, *l;
hrm = kmem_zalloc(sizeof (struct hrmstat) * hrm_incr, KM_SLEEP);
hrm->hrm_base = sizeof (struct hrmstat) * hrm_incr;
hrm_hashin(struct hrmstat *hrm)
hrm_hashout(struct hrmstat *hrm)
struct hrmstat *list, **prev_hrm;
hrm_link(struct hrmstat *hrm)
static struct hrmstat *
struct hrmstat *hrm;
hrm_setbits(struct hrmstat *hrm, caddr_t addr, uint_t bits)
struct hrmstat *hrm;
struct hrmstat *hrm_memlist; /* tracks memory alloced for hrm_blist blocks */
struct hrmstat **hrm_hashtab; /* hash table for finding blocks quickly */
struct hrmstat *hrm_blist;
static struct hrmstat *hrm_balloc(void);
static void hrm_link(struct hrmstat *);
static void hrm_setbits(struct hrmstat *, caddr_t, uint_t);
static void hrm_hashout(struct hrmstat *);
hrm_hashtab = kmem_zalloc(HRM_HASHSIZE * sizeof (struct hrmstat *),
hrm_hashtab = kmem_zalloc(HRM_HASHSIZE * sizeof (struct hrmstat *),