Lines Matching defs:cache
6 #include "free-space-cache.h"
108 /* Free space cache stuff */
111 /* Block group cache stuff */
228 struct btrfs_block_group *cache);
229 void btrfs_get_block_group(struct btrfs_block_group *cache);
230 void btrfs_put_block_group(struct btrfs_block_group *cache);
237 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache,
239 int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache);
240 int btrfs_cache_block_group(struct btrfs_block_group *cache,
244 struct btrfs_block_group *cache);
258 int btrfs_inc_block_group_ro(struct btrfs_block_group *cache,
260 void btrfs_dec_block_group_ro(struct btrfs_block_group *cache);
266 int btrfs_add_reserved_bytes(struct btrfs_block_group *cache,
268 void btrfs_free_reserved_bytes(struct btrfs_block_group *cache,
293 static inline int btrfs_block_group_done(struct btrfs_block_group *cache)
296 return cache->cached == BTRFS_CACHE_FINISHED ||
297 cache->cached == BTRFS_CACHE_ERROR;
300 void btrfs_freeze_block_group(struct btrfs_block_group *cache);
301 void btrfs_unfreeze_block_group(struct btrfs_block_group *cache);