Lines Matching refs:rhp
663 struct tsol_rhent *rhp; in nss_get_rh() local
668 rhp = &rh; in nss_get_rh()
671 while ((rhp = (struct tsol_rhent *) in nss_get_rh()
680 rhp->rh_template); in nss_get_rh()
682 (void) strncpy(tp.name, rhp->rh_template, TNTNAMSIZ - 1); in nss_get_rh()
687 rhp->rh_template); in nss_get_rh()
689 rhp->rh_template); in nss_get_rh()
693 af = rhp->rh_address.ta_family; in nss_get_rh()
706 newflag = rhtable_search_and_update(rhp, 1); in nss_get_rh()
722 newflag = rhtable_search_and_update_v6(rhp, 1); in nss_get_rh()
1284 struct tnd_tnrhdb_c *rhp; in update_cache_table() local
1311 rhp = (struct tnd_tnrhdb_c *)rhtable_lookup(saddrp, i); in update_cache_table()
1312 if (rhp != NULL) { in update_cache_table()
1313 (void) strcpy(result, rhp->rh_ent.rh_template); in update_cache_table()
1316 add_cache_entry(addr, result, i, rhp); in update_cache_table()
1346 struct tnd_tnrhdb_c *rhp; in update_cache_table_v6() local
1365 rhp = (struct tnd_tnrhdb_c *) in update_cache_table_v6()
1367 if (rhp != NULL) { in update_cache_table_v6()
1368 (void) strcpy(result, rhp->rh_ent.rh_template); in update_cache_table_v6()
1371 add_cache_entry_v6(addr, result, i, rhp); in update_cache_table_v6()