• Home
  • Raw
  • Download

Lines Matching refs:cache

264 	struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache;  in nilfs_palloc_get_desc_block()  local
269 bhp, &cache->prev_desc, &cache->lock); in nilfs_palloc_get_desc_block()
283 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_bitmap_block() local
288 &cache->prev_bitmap, &cache->lock); in nilfs_palloc_get_bitmap_block()
299 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_bitmap_block() local
304 &cache->prev_bitmap, &cache->lock); in nilfs_palloc_delete_bitmap_block()
317 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_entry_block() local
322 &cache->prev_entry, &cache->lock); in nilfs_palloc_get_entry_block()
332 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_entry_block() local
336 &cache->prev_entry, &cache->lock); in nilfs_palloc_delete_entry_block()
839 struct nilfs_palloc_cache *cache) in nilfs_palloc_setup_cache() argument
841 NILFS_MDT(inode)->mi_palloc_cache = cache; in nilfs_palloc_setup_cache()
842 spin_lock_init(&cache->lock); in nilfs_palloc_setup_cache()
847 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_clear_cache() local
849 spin_lock(&cache->lock); in nilfs_palloc_clear_cache()
850 brelse(cache->prev_desc.bh); in nilfs_palloc_clear_cache()
851 brelse(cache->prev_bitmap.bh); in nilfs_palloc_clear_cache()
852 brelse(cache->prev_entry.bh); in nilfs_palloc_clear_cache()
853 cache->prev_desc.bh = NULL; in nilfs_palloc_clear_cache()
854 cache->prev_bitmap.bh = NULL; in nilfs_palloc_clear_cache()
855 cache->prev_entry.bh = NULL; in nilfs_palloc_clear_cache()
856 spin_unlock(&cache->lock); in nilfs_palloc_clear_cache()