Searched defs:cache_head (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnetgroup.c66 static struct cache_entry *cache_head; variable in typeref:struct:cache_entry
227 for (ce = cache_head; ce; ce = ce->cache_next) {
240 for (prev = NULL, ce = cache_head; ce;
249 cache_head = NULL;
322 entry->cache_next = cache_head;
323 cache_head = entry;
334 cache_free(cache_head);
335 cache_head = NULL;
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc_impl.h65 typedef struct cache_head { struct
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvcauth_des.c87 static struct cache_entry *cache_head; /* cache (in LRU order) */ variable in typeref:struct:cache_entry
499 cache_head = &_rpc_authdes_cache[0];
505 cache_head->index = 0;
507 cache_head->next = &_rpc_authdes_cache[1];
508 cache_head->prev = cache_tail;
509 cache_tail->next = cache_head;
524 return (cache_head->index); /* list in lru order */
547 } else if (cache_head == curr) {
548 cache_head = cache_head
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dbridge_rcm.c81 static link_cache_t cache_head; variable
147 cache_head.vc_next = &cache_tail;
148 cache_head.vc_prev = NULL;
149 cache_tail.vc_prev = &cache_head;
243 node = cache_head.vc_next;
250 node = cache_head.vc_next;
607 node = cache_head.vc_next;
640 node->vc_next = cache_head.vc_next;
641 node->vc_prev = &cache_head;
749 node = cache_head
[all...]
H A Dnetwork_rcm.c73 static net_cache_t cache_head; variable
140 cache_head.next = &cache_tail;
141 cache_head.prev = NULL;
142 cache_tail.prev = &cache_head;
235 probe = cache_head.next;
240 probe = cache_head.next;
580 probe = cache_head.next;
614 node->next = cache_head.next;
615 node->prev = &cache_head;
736 probe = cache_head
[all...]
H A Dibpart_rcm.c95 static link_cache_t cache_head; variable
170 cache_head.pc_next = &cache_tail;
171 cache_head.pc_prev = NULL;
172 cache_tail.pc_prev = &cache_head;
264 node = cache_head.pc_next;
276 node = cache_head.pc_next;
792 node = cache_head.pc_next;
832 node->pc_next = cache_head.pc_next;
833 node->pc_prev = &cache_head;
1001 node = cache_head
[all...]
H A Dvlan_rcm.c95 static link_cache_t cache_head; variable
170 cache_head.vc_next = &cache_tail;
171 cache_head.vc_prev = NULL;
172 cache_tail.vc_prev = &cache_head;
264 node = cache_head.vc_next;
276 node = cache_head.vc_next;
776 node = cache_head.vc_next;
816 node->vc_next = cache_head.vc_next;
817 node->vc_prev = &cache_head;
973 node = cache_head
[all...]
H A Dvnic_rcm.c95 static link_cache_t cache_head; variable
170 cache_head.vc_next = &cache_tail;
171 cache_head.vc_prev = NULL;
172 cache_tail.vc_prev = &cache_head;
264 node = cache_head.vc_next;
276 node = cache_head.vc_next;
779 node = cache_head.vc_next;
819 node->vc_next = cache_head.vc_next;
820 node->vc_prev = &cache_head;
985 node = cache_head
[all...]
H A Dttymux_rcm.c70 static rsrc_t cache_head; variable
159 rsrc = cache_head.next;
176 rsrc = cache_head.next;
210 node->next = cache_head.next;
211 node->prev = &cache_head;
874 for (rs = cache_head.next; rs != &cache_tail; rs = rs->next) {
897 for (rs = cache_head.next; rs != &cache_tail; rs = rs->next) {
931 src = (next != NULL) ? next->next : cache_head.next;
1193 cache_head.next = &cache_tail;
1194 cache_head
[all...]
H A Daggr_rcm.c96 static link_cache_t cache_head; variable
176 cache_head.vc_next = &cache_tail;
177 cache_head.vc_prev = NULL;
178 cache_tail.vc_prev = &cache_head;
226 node = cache_head.vc_next;
230 node = cache_head.vc_next;
331 node = cache_head.vc_next;
344 node = cache_head.vc_next;
851 node = cache_head.vc_next;
881 node->vc_next = cache_head
[all...]
H A Dip_rcm.c154 static ip_cache_t cache_head; variable
250 cache_head.ip_next = &cache_tail;
251 cache_head.ip_prev = NULL;
252 cache_tail.ip_prev = &cache_head;
354 probe = cache_head.ip_next;
364 probe = cache_head.ip_next;
971 probe = cache_head.ip_next;
1026 node->ip_next = cache_head.ip_next;
1027 node->ip_prev = &cache_head;
1288 probe = cache_head
[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/cmd/fs.d/autofs/
H A Dautod_nfs.c129 static struct cache_entry *cache_head = NULL; variable in typeref:struct:cache_entry
3729 entry->cache_next = cache_head;
3730 cache_head = entry;
3755 for (ce = cache_head; ce; ce = ce->cache_next) {
3759 for (prev = NULL, ce = cache_head; ce;
3766 cache_head = NULL;
3830 cache_free(cache_head);
3831 cache_head = NULL;

Completed in 157 milliseconds