Searched refs:dc_head (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/uts/common/fs/ |
H A D | dnlc.c | 322 static dchead_t dc_head; /* anchor of cached directories */ variable 403 mutex_init(&dc_head.dch_lock, NULL, MUTEX_DEFAULT, NULL); in dnlc_init() 404 dc_head.dch_next = (dircache_t *)&dc_head; in dnlc_init() 405 dc_head.dch_prev = (dircache_t *)&dc_head; in dnlc_init() 1172 mutex_enter(&dc_head.dch_lock); in dnlc_dir_start() 1178 mutex_exit(&dc_head.dch_lock); in dnlc_dir_start() 1188 mutex_exit(&dc_head.dch_lock); in dnlc_dir_start() 1213 dcp->dc_next = dc_head.dch_next; in dnlc_dir_start() 1214 dcp->dc_prev = (dircache_t *)&dc_head; in dnlc_dir_start() 1216 dc_head.dch_next = dcp; in dnlc_dir_start() [all …]
|
/titanic_44/usr/src/stand/lib/fs/common/ |
H A D | cache.c | 373 static head_t dc_head = cache_head(dc_head, cmp_dcache, dc_t, DCACHE_SIZE); variable 394 dcp = (dc_t *)get_cache(dc_hash[DC_HASH(dev, name, x_len)], &dc_head); in get_dcache() 414 (dc_t *)set_cache(&dc_hash[DC_HASH(dev, name, len)], &dc_head, 0); in set_dcache() 451 &dc_head, 1); in set_rdcache() 591 (void) reclaim_cache(&dc_head, dev); in release_cache() 602 static head_t *hdp[] = { &ic_head, &dc_head, &bc_head, 0}; in print_cache_data()
|