ret_tidhash
ret_tidhash_t *ret_tidhash;
ret_tidhash = p->p_ret_tidhash;
while (ret_tidhash != NULL) {
ret_tidhash_t *next = ret_tidhash->rth_next;
kmem_free(ret_tidhash->rth_tidhash,
ret_tidhash->rth_tidhash_sz * sizeof (tidhash_t));
kmem_free(ret_tidhash, sizeof (*ret_tidhash));
ret_tidhash = next;
while (ret_tidhash != NULL) {
ret_tidhash_t *next = ret_tidhash->rth_next;
kmem_free(ret_tidhash->rth_tidhash,
ret_tidhash->rth_tidhash_sz * sizeof (tidhash_t));
kmem_free(ret_tidhash, sizeof (*ret_tidhash));
ret_tidhash = next;
ret_tidhash_t *ret_tidhash;
ret_tidhash = p->p_ret_tidhash;
ret_tidhash_t *ret_tidhash = NULL;
if (ret_tidhash == NULL)
ret_tidhash = kmem_zalloc(sizeof (ret_tidhash_t),
ret_tidhash->rth_tidhash = old_hash;
ret_tidhash->rth_tidhash_sz = old_hashsz;
ret_tidhash->rth_next = p->p_ret_tidhash;
p->p_ret_tidhash = ret_tidhash;
ret_tidhash = NULL;
if (ret_tidhash != NULL)
kmem_free(ret_tidhash, sizeof (ret_tidhash_t));
struct ret_tidhash *rth_next;