Searched refs:cache_ctl (Results 1 – 3 of 3) sorted by relevance
593 volatile uint cache_ctl; in l2cache_init() local600 cache_ctl = l2cache->l2ctl; in l2cache_init()603 if (cache_ctl & MPC85xx_L2CTL_L2E) { in l2cache_init()620 l2siz_field = (cache_ctl >> 28) & 0x3; in l2cache_init()624 printf(" unknown size (0x%08x)\n", cache_ctl); in l2cache_init()632 cache_ctl = 0xc4000000; in l2cache_init()635 cache_ctl = 0xc0000000; /* set L2E=1, L2I=1, & L2SRAM=0 */ in l2cache_init()643 cache_ctl = 0xc8000000; in l2cache_init()647 cache_ctl = 0xc0000000; in l2cache_init()653 cache_ctl = 0xc0000000; in l2cache_init()[all …]
130 struct ceph_readdir_cache_control *cache_ctl) in __dcache_find_get_entry() argument141 if (!cache_ctl->page || ptr_pgoff != page_index(cache_ctl->page)) { in __dcache_find_get_entry()142 ceph_readdir_cache_release(cache_ctl); in __dcache_find_get_entry()143 cache_ctl->page = find_lock_page(&dir->i_data, ptr_pgoff); in __dcache_find_get_entry()144 if (!cache_ctl->page) { in __dcache_find_get_entry()150 unlock_page(cache_ctl->page); in __dcache_find_get_entry()151 cache_ctl->dentries = kmap(cache_ctl->page); in __dcache_find_get_entry()154 cache_ctl->index = idx & idx_mask; in __dcache_find_get_entry()161 dentry = cache_ctl->dentries[cache_ctl->index]; in __dcache_find_get_entry()190 struct ceph_readdir_cache_control cache_ctl = {}; in __dcache_readdir() local[all …]
1877 struct ceph_readdir_cache_control cache_ctl = {}; in ceph_readdir_prepopulate() local1926 cache_ctl.index = req->r_readdir_cache_idx; in ceph_readdir_prepopulate()2043 if (err == 0 && skipped == 0 && cache_ctl.index >= 0) { in ceph_readdir_prepopulate()2045 &cache_ctl, req); in ceph_readdir_prepopulate()2055 req->r_readdir_cache_idx = cache_ctl.index; in ceph_readdir_prepopulate()2057 ceph_readdir_cache_release(&cache_ctl); in ceph_readdir_prepopulate()