Lines Matching defs:cache
6 #include "free-space-cache.h"
155 /* Free space cache stuff */
158 /* Block group cache stuff */
285 struct btrfs_block_group *cache);
286 void btrfs_get_block_group(struct btrfs_block_group *cache);
287 void btrfs_put_block_group(struct btrfs_block_group *cache);
295 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache,
297 int btrfs_cache_block_group(struct btrfs_block_group *cache, bool wait);
300 struct btrfs_block_group *cache);
318 int btrfs_inc_block_group_ro(struct btrfs_block_group *cache,
320 void btrfs_dec_block_group_ro(struct btrfs_block_group *cache);
326 int btrfs_add_reserved_bytes(struct btrfs_block_group *cache,
329 void btrfs_free_reserved_bytes(struct btrfs_block_group *cache,
358 static inline int btrfs_block_group_done(struct btrfs_block_group *cache)
361 return cache->cached == BTRFS_CACHE_FINISHED ||
362 cache->cached == BTRFS_CACHE_ERROR;
365 void btrfs_freeze_block_group(struct btrfs_block_group *cache);
366 void btrfs_unfreeze_block_group(struct btrfs_block_group *cache);