Lines Matching refs:up
161 struct crec **up = hash_bucket(cache_get_name(crecp)); in cache_hash() local
165 while (*up && ((*up)->flags & F_REVERSE)) in cache_hash()
166 up = &((*up)->hash_next); in cache_hash()
169 while (*up && !((*up)->flags & F_IMMORTAL)) in cache_hash()
170 up = &((*up)->hash_next); in cache_hash()
172 crecp->hash_next = *up; in cache_hash()
173 *up = crecp; in cache_hash()
272 struct crec *crecp, **up; in cache_scan_free() local
276 for (up = hash_bucket(name), crecp = *up; crecp; crecp = crecp->hash_next) in cache_scan_free()
279 *up = crecp->hash_next; in cache_scan_free()
292 *up = crecp->hash_next; in cache_scan_free()
297 up = &crecp->hash_next; in cache_scan_free()
308 for (crecp = hash_table[i], up = &hash_table[i]; in cache_scan_free()
313 *up = crecp->hash_next; in cache_scan_free()
325 *up = crecp->hash_next; in cache_scan_free()
330 up = &crecp->hash_next; in cache_scan_free()
505 struct crec *next, **up, **insert = NULL, **chainp = &ans; in cache_find_by_name() local
508 for (up = hash_bucket(name), crecp = *up; crecp; crecp = next) in cache_find_by_name()
536 *up = crecp->hash_next; in cache_find_by_name()
545 insert = up; in cache_find_by_name()
548 up = &crecp->hash_next; in cache_find_by_name()
553 up = &crecp->hash_next; in cache_find_by_name()
558 *up = crecp->hash_next; in cache_find_by_name()
598 struct crec **up, **chainp = &ans; in cache_find_by_addr() local
601 for (crecp = hash_table[i], up = &hash_table[i]; in cache_find_by_addr()
620 up = &crecp->hash_next; in cache_find_by_addr()
624 *up = crecp->hash_next; in cache_find_by_addr()
870 struct crec *cache, **up, *tmp; in cache_reload() local
877 for (cache = hash_table[i], up = &hash_table[i]; cache; cache = tmp) in cache_reload()
882 *up = cache->hash_next; in cache_reload()
887 *up = cache->hash_next; in cache_reload()
896 up = &cache->hash_next; in cache_reload()
1020 struct crec *cache, **up; in cache_unhash_dhcp() local
1024 for (cache = hash_table[i], up = &hash_table[i]; cache; cache = cache->hash_next) in cache_unhash_dhcp()
1027 *up = cache->hash_next; in cache_unhash_dhcp()
1032 up = &cache->hash_next; in cache_unhash_dhcp()