Lines Matching +refs:val +refs:current
228 tsol_tnrhc_t *current;
259 while ((current = *prevp) != NULL) {
260 if (TNADDR_EQ(&rhent->rh_address, ¤t->rhc_host))
262 prevp = ¤t->rhc_next;
265 if (current != NULL) {
267 *prevp = current->rhc_next;
268 mutex_enter(¤t->rhc_lock);
269 current->rhc_next = NULL;
270 current->rhc_invalid = 1;
271 mutex_exit(¤t->rhc_lock);
272 TNRHC_RELE(current);
275 return (current == NULL ? ENOENT : 0);
624 tpc_delete(mod_hash_key_t key, mod_hash_val_t *val, void *arg)
626 tsol_tpc_t *tpc = (tsol_tpc_t *)val;