Home
last modified time | relevance | path

Searched refs:cache_head (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnetgroup.c66 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()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dnetwork_rcm.c73 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()
235 probe = cache_head.next; in net_unregister()
240 probe = cache_head.next; in net_unregister()
580 probe = cache_head.next; in cache_lookup()
615 node->prev = &cache_head; in cache_insert()
736 probe = cache_head.next; in update_cache()
752 probe = cache_head.next; in update_cache()
800 probe = cache_head.next; in free_cache()
[all …]
H A Dbridge_rcm.c81 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()
641 node->vc_prev = &cache_head; in cache_insert()
749 node = cache_head.vc_next; in cache_update()
811 node = cache_head.vc_next; in cache_free()
[all …]
H A Dvlan_rcm.c95 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()
817 node->vc_prev = &cache_head; in cache_insert()
973 node = cache_head.vc_next; in cache_update()
1049 node = cache_head.vc_next; in cache_free()
[all …]
H A Dibpart_rcm.c95 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()
833 node->pc_prev = &cache_head; in cache_insert()
1001 node = cache_head.pc_next; in cache_update()
1078 node = cache_head.pc_next; in cache_free()
[all …]
H A Dvnic_rcm.c95 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()
820 node->vc_prev = &cache_head; in cache_insert()
985 node = cache_head.vc_next; in cache_update()
1061 node = cache_head.vc_next; in cache_free()
[all …]
H A Daggr_rcm.c96 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()
882 node->vc_prev = &cache_head; in cache_insert()
[all …]
H A Dip_rcm.c155 static ip_cache_t cache_head; variable
251 cache_head.ip_next = &cache_tail; in rcm_mod_init()
252 cache_head.ip_prev = NULL; in rcm_mod_init()
355 probe = cache_head.ip_next; in ip_unregister()
365 probe = cache_head.ip_next; in ip_unregister()
972 probe = cache_head.ip_next; in cache_lookup()
1028 node->ip_prev = &cache_head; in cache_insert()
1289 probe = cache_head.ip_next; in update_cache()
1314 probe = cache_head.ip_next; in update_cache()
1390 probe = cache_head.ip_next; in free_cache()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvcauth_des.c90 static struct cache_entry *cache_head; /* cache (in LRU order) */ variable
509 cache_head = &_rpc_authdes_cache[0]; in cache_init()
515 cache_head->index = 0; in cache_init()
517 cache_head->next = &_rpc_authdes_cache[1]; in cache_init()
518 cache_head->prev = cache_tail; in cache_init()
519 cache_tail->next = cache_head; in cache_init()
534 return (cache_head->index); /* list in lru order */ in cache_victim()
557 } else if (cache_head == curr) { in cache_ref()
558 cache_head = cache_head->next; in cache_ref()
563 curr->next = cache_head; /* fix thy self... */ in cache_ref()
[all …]
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c82 #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);
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc_impl.h63 typedef struct cache_head { struct
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c129 static struct cache_entry *cache_head = NULL; variable
3702 entry->cache_next = cache_head; in cache_enter()
3703 cache_head = entry; in cache_enter()
3725 for (ce = cache_head; ce; ce = ce->cache_next) { in cache_check()
3729 for (prev = NULL, ce = cache_head; ce; in cache_check()
3736 cache_head = NULL; in cache_check()
3799 cache_free(cache_head); in cache_flush()
3800 cache_head = NULL; in cache_flush()