Home
last modified time | relevance | path

Searched refs:cache_tail (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvcauth_des.c91 static struct cache_entry *cache_tail; /* cache (in LRU order) */ variable
510 cache_tail = &_rpc_authdes_cache[authdes_cachesz - 1]; in cache_init()
516 cache_tail->index = authdes_cachesz - 1; in cache_init()
518 cache_head->prev = cache_tail; in cache_init()
519 cache_tail->next = cache_head; in cache_init()
520 cache_tail->prev = &_rpc_authdes_cache[authdes_cachesz - 2]; in cache_init()
555 if (cache_tail == curr) { /* no work to do */ in cache_ref()
559 cache_tail = curr; in cache_ref()
564 curr->prev = cache_tail; in cache_ref()
566 cache_tail->next = curr; /* fix the tail */ in cache_ref()
[all …]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dnetwork_rcm.c74 static net_cache_t cache_tail; variable
140 cache_head.next = &cache_tail; in rcm_mod_init()
142 cache_tail.prev = &cache_head; in rcm_mod_init()
143 cache_tail.next = NULL; in rcm_mod_init()
236 while (probe != &cache_tail) { in net_unregister()
581 while (probe != &cache_tail) { in cache_lookup()
737 while (probe != &cache_tail) { in update_cache()
753 while (probe != &cache_tail) { in update_cache()
801 while (probe != &cache_tail) { in free_cache()
H A Dbridge_rcm.c82 static link_cache_t cache_tail; variable
147 cache_head.vc_next = &cache_tail; in rcm_mod_init()
149 cache_tail.vc_prev = &cache_head; in rcm_mod_init()
150 cache_tail.vc_next = NULL; in rcm_mod_init()
244 while (node != &cache_tail) { in bridge_unregister()
608 for (; node != &cache_tail; node = node->vc_next) { in cache_lookup()
750 for (; node != &cache_tail; node = node->vc_next) in cache_update()
766 for (node = cache_head.vc_next; node != &cache_tail; node = nnode) { in cache_update()
812 while (node != &cache_tail) { in cache_free()
H A Dvlan_rcm.c96 static link_cache_t cache_tail; variable
170 cache_head.vc_next = &cache_tail; in rcm_mod_init()
172 cache_tail.vc_prev = &cache_head; in rcm_mod_init()
173 cache_tail.vc_next = NULL; in rcm_mod_init()
265 while (node != &cache_tail) { in vlan_unregister()
777 for (; node != &cache_tail; node = node->vc_next) { in cache_lookup()
974 for (; node != &cache_tail; node = node->vc_next) { in cache_update()
987 for (node = cache_head.vc_next; node != &cache_tail; node = nnode) { in cache_update()
1050 while (node != &cache_tail) { in cache_free()
H A Dibpart_rcm.c96 static link_cache_t cache_tail; variable
170 cache_head.pc_next = &cache_tail; in rcm_mod_init()
172 cache_tail.pc_prev = &cache_head; in rcm_mod_init()
173 cache_tail.pc_next = NULL; in rcm_mod_init()
265 while (node != &cache_tail) { in ibpart_unregister()
793 for (; node != &cache_tail; node = node->pc_next) { in cache_lookup()
1002 for (; node != &cache_tail; node = node->pc_next) { in cache_update()
1016 for (node = cache_head.pc_next; node != &cache_tail; node = nnode) { in cache_update()
1079 while (node != &cache_tail) { in cache_free()
H A Dvnic_rcm.c96 static link_cache_t cache_tail; variable
170 cache_head.vc_next = &cache_tail; in rcm_mod_init()
172 cache_tail.vc_prev = &cache_head; in rcm_mod_init()
173 cache_tail.vc_next = NULL; in rcm_mod_init()
265 while (node != &cache_tail) { in vnic_unregister()
780 for (; node != &cache_tail; node = node->vc_next) { in cache_lookup()
986 for (; node != &cache_tail; node = node->vc_next) { in cache_update()
999 for (node = cache_head.vc_next; node != &cache_tail; node = nnode) { in cache_update()
1062 while (node != &cache_tail) { in cache_free()
H A Daggr_rcm.c97 static link_cache_t cache_tail; variable
176 cache_head.vc_next = &cache_tail; in rcm_mod_init()
178 cache_tail.vc_prev = &cache_head; in rcm_mod_init()
179 cache_tail.vc_next = NULL; in rcm_mod_init()
227 while (node != &cache_tail) { in rcm_mod_fini()
332 while (node != &cache_tail) { in aggr_unregister()
852 for (; node != &cache_tail; node = node->vc_next) { in cache_lookup()
1083 for (; node != &cache_tail; node = node->vc_next) in cache_update()
1093 for (node = cache_head.vc_next; node != &cache_tail; node = next) { in cache_update()
H A Dip_rcm.c156 static ip_cache_t cache_tail; variable
251 cache_head.ip_next = &cache_tail; in rcm_mod_init()
253 cache_tail.ip_prev = &cache_head; in rcm_mod_init()
254 cache_tail.ip_next = NULL; in rcm_mod_init()
356 while (probe != &cache_tail) { in ip_unregister()
973 while (probe != &cache_tail) { in cache_lookup()
1290 while (probe != &cache_tail) { in update_cache()
1316 while (probe != &cache_tail) { in update_cache()
1391 while (probe != &cache_tail) { in free_cache()