Lines Matching defs:tnrhc_hash
232 tnrhc_hash_t *tnrhc_hash;
240 tnrhc_hash = &tnrhc_table[rhent->rh_prefix][
249 tnrhc_hash = &tnrhc_table_v6[rhent->rh_prefix][
257 mutex_enter(&tnrhc_hash->tnrh_lock);
258 prevp = &tnrhc_hash->tnrh_list;
274 mutex_exit(&tnrhc_hash->tnrh_lock);
339 tnrhc_hash_t *tnrhc_hash;
350 tnrhc_hash = &tnrhc_table[prefix][
353 mutex_enter(&tnrhc_hash->tnrh_lock);
354 for (rhp = &tnrhc_hash->tnrh_list; (rh = *rhp) != NULL;
370 tnrhc_hash = &tnrhc_table_v6[prefix][
373 mutex_enter(&tnrhc_hash->tnrh_lock);
374 for (rhp = &tnrhc_hash->tnrh_list; (rh = *rhp) != NULL;
397 new->rhc_next = tnrhc_hash->tnrh_list;
398 tnrhc_hash->tnrh_list = new;
400 mutex_exit(&tnrhc_hash->tnrh_lock);
1046 tnrhc_hash_t *tnrhc_hash;
1078 tnrhc_hash = &tnrhc_table[i][
1081 mutex_enter(&tnrhc_hash->tnrh_lock);
1082 for (rh = tnrhc_hash->tnrh_list; rh != NULL;
1092 mutex_exit(&tnrhc_hash->tnrh_lock);
1105 tnrhc_hash = &tnrhc_table_v6[i][
1108 mutex_enter(&tnrhc_hash->tnrh_lock);
1109 for (rh = tnrhc_hash->tnrh_list; rh != NULL;
1119 mutex_exit(&tnrhc_hash->tnrh_lock);
1234 tnrhc_hash_t *tnrhc_hash;
1239 tnrhc_hash = (sa->ta_family == AF_INET) ? &tnrhc_table[0][0] :
1242 mutex_enter(&tnrhc_hash->tnrh_lock);
1243 rh = tnrhc_hash->tnrh_list;
1252 tnrhc_hash->tnrh_list = rh;
1264 mutex_exit(&tnrhc_hash->tnrh_lock);