/titanic_41/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | netgroup.c | 66 static struct cache_entry *cache_head; variable 227 for (ce = cache_head; ce; ce = ce->cache_next) { in cache_check() 240 for (prev = NULL, ce = cache_head; ce; in cache_check() 249 cache_head = NULL; in cache_check() 322 entry->cache_next = cache_head; in cache_enter() 323 cache_head = entry; in cache_enter() 334 cache_free(cache_head); in netgrp_cache_flush() 335 cache_head = NULL; in netgrp_cache_flush()
|
/titanic_41/usr/src/cmd/rcm_daemon/common/ |
H A D | bridge_rcm.c | 81 static link_cache_t cache_head; variable 147 cache_head.vc_next = &cache_tail; in rcm_mod_init() 148 cache_head.vc_prev = NULL; in rcm_mod_init() 149 cache_tail.vc_prev = &cache_head; in rcm_mod_init() 243 node = cache_head.vc_next; in bridge_unregister() 250 node = cache_head.vc_next; in bridge_unregister() 607 node = cache_head.vc_next; in cache_lookup() 640 node->vc_next = cache_head.vc_next; in cache_insert() 641 node->vc_prev = &cache_head; in cache_insert() 749 node = cache_head.vc_next; in cache_update() [all …]
|
H A D | network_rcm.c | 73 static net_cache_t cache_head; variable 140 cache_head.next = &cache_tail; in rcm_mod_init() 141 cache_head.prev = NULL; in rcm_mod_init() 142 cache_tail.prev = &cache_head; in rcm_mod_init() 235 probe = cache_head.next; in net_unregister() 240 probe = cache_head.next; in net_unregister() 580 probe = cache_head.next; in cache_lookup() 614 node->next = cache_head.next; in cache_insert() 615 node->prev = &cache_head; in cache_insert() 736 probe = cache_head.next; in update_cache() [all …]
|
H A D | ttymux_rcm.c | 70 static rsrc_t cache_head; variable 159 rsrc = cache_head.next; in cache_lookup() 176 rsrc = cache_head.next; in cache_lookup_bydevt() 210 node->next = cache_head.next; in cache_insert() 211 node->prev = &cache_head; in cache_insert() 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() 931 src = (next != NULL) ? next->next : cache_head.next; in get_next_user() 1193 cache_head.next = &cache_tail; in rcm_mod_init() 1194 cache_head.prev = NULL; in rcm_mod_init() [all …]
|
H A D | vlan_rcm.c | 95 static link_cache_t cache_head; variable 170 cache_head.vc_next = &cache_tail; in rcm_mod_init() 171 cache_head.vc_prev = NULL; in rcm_mod_init() 172 cache_tail.vc_prev = &cache_head; in rcm_mod_init() 264 node = cache_head.vc_next; in vlan_unregister() 276 node = cache_head.vc_next; in vlan_unregister() 776 node = cache_head.vc_next; in cache_lookup() 816 node->vc_next = cache_head.vc_next; in cache_insert() 817 node->vc_prev = &cache_head; in cache_insert() 973 node = cache_head.vc_next; in cache_update() [all …]
|
H A D | ibpart_rcm.c | 95 static link_cache_t cache_head; variable 170 cache_head.pc_next = &cache_tail; in rcm_mod_init() 171 cache_head.pc_prev = NULL; in rcm_mod_init() 172 cache_tail.pc_prev = &cache_head; in rcm_mod_init() 264 node = cache_head.pc_next; in ibpart_unregister() 276 node = cache_head.pc_next; in ibpart_unregister() 792 node = cache_head.pc_next; in cache_lookup() 832 node->pc_next = cache_head.pc_next; in cache_insert() 833 node->pc_prev = &cache_head; in cache_insert() 1001 node = cache_head.pc_next; in cache_update() [all …]
|
H A D | vnic_rcm.c | 95 static link_cache_t cache_head; variable 170 cache_head.vc_next = &cache_tail; in rcm_mod_init() 171 cache_head.vc_prev = NULL; in rcm_mod_init() 172 cache_tail.vc_prev = &cache_head; in rcm_mod_init() 264 node = cache_head.vc_next; in vnic_unregister() 276 node = cache_head.vc_next; in vnic_unregister() 779 node = cache_head.vc_next; in cache_lookup() 819 node->vc_next = cache_head.vc_next; in cache_insert() 820 node->vc_prev = &cache_head; in cache_insert() 985 node = cache_head.vc_next; in cache_update() [all …]
|
H A D | aggr_rcm.c | 96 static link_cache_t cache_head; variable 176 cache_head.vc_next = &cache_tail; in rcm_mod_init() 177 cache_head.vc_prev = NULL; in rcm_mod_init() 178 cache_tail.vc_prev = &cache_head; in rcm_mod_init() 226 node = cache_head.vc_next; in rcm_mod_fini() 230 node = cache_head.vc_next; in rcm_mod_fini() 331 node = cache_head.vc_next; in aggr_unregister() 344 node = cache_head.vc_next; in aggr_unregister() 851 node = cache_head.vc_next; in cache_lookup() 881 node->vc_next = cache_head.vc_next; in cache_insert() [all …]
|
H A D | ip_rcm.c | 154 static ip_cache_t cache_head; variable 250 cache_head.ip_next = &cache_tail; in rcm_mod_init() 251 cache_head.ip_prev = NULL; in rcm_mod_init() 252 cache_tail.ip_prev = &cache_head; in rcm_mod_init() 354 probe = cache_head.ip_next; in ip_unregister() 364 probe = cache_head.ip_next; in ip_unregister() 971 probe = cache_head.ip_next; in cache_lookup() 1026 node->ip_next = cache_head.ip_next; in cache_insert() 1027 node->ip_prev = &cache_head; in cache_insert() 1288 probe = cache_head.ip_next; in update_cache() [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | svcauth_des.c | 89 static struct cache_entry *cache_head; /* cache (in LRU order) */ variable 508 cache_head = &_rpc_authdes_cache[0]; in cache_init() 514 cache_head->index = 0; in cache_init() 516 cache_head->next = &_rpc_authdes_cache[1]; in cache_init() 517 cache_head->prev = cache_tail; in cache_init() 518 cache_tail->next = cache_head; in cache_init() 533 return (cache_head->index); /* list in lru order */ in cache_victim() 556 } else if (cache_head == curr) { in cache_ref() 557 cache_head = cache_head->next; in cache_ref() 562 curr->next = cache_head; /* fix thy self... */ in cache_ref() [all …]
|
/titanic_41/usr/src/stand/lib/fs/common/ |
H A D | cache.c | 82 #define cache_head(h, f, t, n) \ macro 278 static head_t ic_head = cache_head(ic_head, cmp_icache, ic_t, ICACHE_SIZE); 373 static head_t dc_head = cache_head(dc_head, cmp_dcache, dc_t, DCACHE_SIZE); 501 static head_t bc_head = cache_head(bc_head, cmp_bcache, bc_t, BCACHE_SIZE);
|
/titanic_41/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc_impl.h | 65 typedef struct cache_head { struct
|
/titanic_41/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 131 static struct cache_entry *cache_head = NULL; variable 3784 entry->cache_next = cache_head; 3785 cache_head = entry; 3810 for (ce = cache_head; ce; ce = ce->cache_next) { 3814 for (prev = NULL, ce = cache_head; ce; 3821 cache_head = NULL; 3885 cache_free(cache_head); in cache_flush() 3886 cache_head = NULL; in cache_flush()
|