Lines Matching refs:ipr_hash
323 if (ipr->ipr_hash == NULL)
327 ASSERT(ipr->ipr_hash[i].hash_head == NULL);
329 kmem_free(ipr->ipr_hash, ipr->ipr_nchains *
331 ipr->ipr_hash = NULL;
348 mutex_destroy(&(ipr->ipr_hash[chain].hash_lock));
485 ipr->ipr_hash = kmem_zalloc(nchains *
487 if (ipr->ipr_hash == NULL)
541 mutex_init(&(ipr->ipr_hash[chain].hash_lock),
853 h1 = active->iph_root[dir].ipr_hash;
854 h2 = inactive->iph_root[dir].ipr_hash;
855 active->iph_root[dir].ipr_hash = h2;
856 inactive->iph_root[dir].ipr_hash = h1;
986 spr->ipr_hash[chain].hash_head,
987 &dpr->ipr_hash[chain].hash_head))
2053 root->ipr_hash[selector_hash(sel, root)].hash_head, sel,
3556 head = pr->ipr_hash[sp->ipsl_key.ipsl_pol_hval].hash_head;
3676 head = pr->ipr_hash[selkey->ipsl_pol_hval].hash_head;
3838 HASH_LOCK(pr->ipr_hash, hval);
3839 HASH_INSERT(ipp, ipsp_hash, pr->ipr_hash, hval);
3840 HASH_UNLOCK(pr->ipr_hash, hval);
3864 for (ip = ipr->ipr_hash[chain].hash_head; ip != NULL;
3869 ipr->ipr_hash[chain].hash_head = NULL;
3927 mutex_destroy(&(ipr->ipr_hash[chain].hash_lock));
3940 ipr->ipr_hash = NULL;