Lines Matching refs:btrfs_block_rsv

76 static int block_rsv_use_bytes(struct btrfs_block_rsv *block_rsv,
2762 struct btrfs_block_rsv *global_rsv; in btrfs_check_space_for_delayed_refs()
4327 static inline u64 calc_global_rsv_need_space(struct btrfs_block_rsv *global) in calc_global_rsv_need_space()
4335 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in should_alloc_chunk()
4576 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in can_overcommit()
4767 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_block_rsv; in may_commit_transaction()
5227 struct btrfs_block_rsv *block_rsv, in reserve_metadata_bytes()
5232 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in reserve_metadata_bytes()
5256 static struct btrfs_block_rsv *get_block_rsv( in get_block_rsv()
5261 struct btrfs_block_rsv *block_rsv = NULL; in get_block_rsv()
5277 static int block_rsv_use_bytes(struct btrfs_block_rsv *block_rsv, in block_rsv_use_bytes()
5292 static void block_rsv_add_bytes(struct btrfs_block_rsv *block_rsv, in block_rsv_add_bytes()
5305 struct btrfs_block_rsv *dest, u64 num_bytes, in btrfs_cond_migrate_bytes()
5308 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in btrfs_cond_migrate_bytes()
5431 struct btrfs_block_rsv *block_rsv, in block_rsv_release_bytes()
5432 struct btrfs_block_rsv *dest, u64 num_bytes, in block_rsv_release_bytes()
5486 int btrfs_block_rsv_migrate(struct btrfs_block_rsv *src, in btrfs_block_rsv_migrate()
5487 struct btrfs_block_rsv *dst, u64 num_bytes, in btrfs_block_rsv_migrate()
5500 void btrfs_init_block_rsv(struct btrfs_block_rsv *rsv, unsigned short type) in btrfs_init_block_rsv()
5508 struct btrfs_block_rsv *rsv, in btrfs_init_metadata_block_rsv()
5516 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_block_rsv()
5519 struct btrfs_block_rsv *block_rsv; in btrfs_alloc_block_rsv()
5530 struct btrfs_block_rsv *rsv) in btrfs_free_block_rsv()
5539 struct btrfs_block_rsv *block_rsv, u64 num_bytes, in btrfs_block_rsv_add()
5556 int btrfs_block_rsv_check(struct btrfs_block_rsv *block_rsv, int min_factor) in btrfs_block_rsv_check()
5574 struct btrfs_block_rsv *block_rsv, u64 min_reserved, in btrfs_block_rsv_refill()
5617 struct btrfs_block_rsv *block_rsv = &inode->block_rsv; in btrfs_inode_rsv_refill()
5665 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in btrfs_inode_rsv_release()
5666 struct btrfs_block_rsv *block_rsv = &inode->block_rsv; in btrfs_inode_rsv_release()
5688 struct btrfs_block_rsv *block_rsv, in btrfs_block_rsv_release()
5691 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in btrfs_block_rsv_release()
5701 struct btrfs_block_rsv *block_rsv = &fs_info->global_block_rsv; in update_global_block_rsv()
5819 struct btrfs_block_rsv *rsv, int items, in btrfs_subvolume_reserve_metadata()
5826 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in btrfs_subvolume_reserve_metadata()
5853 struct btrfs_block_rsv *rsv) in btrfs_subvolume_release_metadata()
5861 struct btrfs_block_rsv *block_rsv = &inode->block_rsv; in btrfs_calculate_inode_block_rsv_size()
6517 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in unpin_extent_range()
8187 static struct btrfs_block_rsv *
8192 struct btrfs_block_rsv *block_rsv; in use_block_rsv()
8193 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in use_block_rsv()
8243 struct btrfs_block_rsv *block_rsv, u32 blocksize) in unuse_block_rsv()
8262 struct btrfs_block_rsv *block_rsv; in btrfs_alloc_tree_block()
8897 struct btrfs_block_rsv *block_rsv, int update_ref, in btrfs_drop_snapshot()