Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libnsl/rpc/
H A Dsvcauth_des.c90 static struct cache_entry *cache_tail; /* cache (in LRU order) */ variable
509 cache_tail = &_rpc_authdes_cache[authdes_cachesz - 1]; in cache_init()
515 cache_tail->index = authdes_cachesz - 1; in cache_init()
517 cache_head->prev = cache_tail; in cache_init()
518 cache_tail->next = cache_head; in cache_init()
519 cache_tail->prev = &_rpc_authdes_cache[authdes_cachesz - 2]; in cache_init()
554 if (cache_tail == curr) { /* no work to do */ in cache_ref()
558 cache_tail = curr; in cache_ref()
563 curr->prev = cache_tail; in cache_ref()
565 cache_tail->next = curr; /* fix the tail */ in cache_ref()
[all …]
/titanic_50/usr/src/cmd/rcm_daemon/common/
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 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 Dttymux_rcm.c71 static rsrc_t cache_tail; variable
160 while (rsrc != &cache_tail) { in cache_lookup()
177 while (rsrc != &cache_tail) { in cache_lookup_bydevt()
874 for (rs = cache_head.next; rs != &cache_tail; rs = rs->next) { in rsrc_available()
897 for (rs = cache_head.next; rs != &cache_tail; rs = rs->next) { in rsrc_unavailable()
933 while (src != &cache_tail) { in get_next_user()
1193 cache_head.next = &cache_tail; in rcm_mod_init()
1195 cache_tail.prev = &cache_head; in rcm_mod_init()
1196 cache_tail.next = NULL; in rcm_mod_init()
1219 while (rsrc != &cache_tail) { in rcm_mod_fini()
[all …]
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.c155 static ip_cache_t cache_tail; variable
250 cache_head.ip_next = &cache_tail; in rcm_mod_init()
252 cache_tail.ip_prev = &cache_head; in rcm_mod_init()
253 cache_tail.ip_next = NULL; in rcm_mod_init()
355 while (probe != &cache_tail) { in ip_unregister()
972 while (probe != &cache_tail) { in cache_lookup()
1289 while (probe != &cache_tail) { in update_cache()
1315 while (probe != &cache_tail) { in update_cache()
1390 while (probe != &cache_tail) { in free_cache()