acache4
hp = &acache4[acache4hash(rp, cr)];
acache4 = kmem_alloc(acache4size * sizeof (*acache4), KM_SLEEP);
acache4[i].next = (acache4_t *)&acache4[i];
acache4[i].prev = (acache4_t *)&acache4[i];
rw_init(&acache4[i].lock, NULL, RW_DEFAULT, NULL);
rw_destroy(&acache4[i].lock);
kmem_free(acache4, acache4size * sizeof (*acache4));
static acache4_hash_t *acache4;
hp = &acache4[acache4hash(rp, cr)];
struct acache4 *next;
struct acache4 *prev;
struct acache4 *next; /* next and prev must be first */
struct acache4 *prev;
struct acache4 *list;