Lines Matching defs:cache
3234 struct btrfs_block_group *cache;
3238 cache = btrfs_lookup_block_group(fs_info, chunk_offset);
3239 ASSERT(cache);
3240 chunk_type = cache->flags;
3241 btrfs_put_block_group(cache);
3443 struct btrfs_block_group *cache;
3449 cache = btrfs_lookup_block_group(fs_info, chunk_offset);
3450 chunk_used = cache->used;
3455 user_thresh_min = div_factor_fine(cache->length,
3461 user_thresh_max = cache->length;
3463 user_thresh_max = div_factor_fine(cache->length,
3469 btrfs_put_block_group(cache);
3476 struct btrfs_block_group *cache;
3480 cache = btrfs_lookup_block_group(fs_info, chunk_offset);
3481 chunk_used = cache->used;
3486 user_thresh = cache->length;
3488 user_thresh = div_factor_fine(cache->length, bargs->usage);
3493 btrfs_put_block_group(cache);