Lines Matching refs:btrfs_block_rsv

105 				    struct btrfs_block_rsv *block_rsv,  in block_rsv_release_bytes()
106 struct btrfs_block_rsv *dest, u64 num_bytes, in block_rsv_release_bytes()
162 int btrfs_block_rsv_migrate(struct btrfs_block_rsv *src, in btrfs_block_rsv_migrate()
163 struct btrfs_block_rsv *dst, u64 num_bytes, in btrfs_block_rsv_migrate()
176 void btrfs_init_block_rsv(struct btrfs_block_rsv *rsv, enum btrfs_rsv_type type) in btrfs_init_block_rsv()
184 struct btrfs_block_rsv *rsv, in btrfs_init_metadata_block_rsv()
192 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_block_rsv()
195 struct btrfs_block_rsv *block_rsv; in btrfs_alloc_block_rsv()
206 struct btrfs_block_rsv *rsv) in btrfs_free_block_rsv()
215 struct btrfs_block_rsv *block_rsv, u64 num_bytes, in btrfs_block_rsv_add()
231 int btrfs_block_rsv_check(struct btrfs_block_rsv *block_rsv, int min_percent) in btrfs_block_rsv_check()
246 struct btrfs_block_rsv *block_rsv, u64 num_bytes, in btrfs_block_rsv_refill()
275 struct btrfs_block_rsv *block_rsv, u64 num_bytes, in btrfs_block_rsv_release()
278 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in btrfs_block_rsv_release()
279 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_block_rsv_release()
280 struct btrfs_block_rsv *target = NULL; in btrfs_block_rsv_release()
298 int btrfs_block_rsv_use_bytes(struct btrfs_block_rsv *block_rsv, u64 num_bytes) in btrfs_block_rsv_use_bytes()
313 void btrfs_block_rsv_add_bytes(struct btrfs_block_rsv *block_rsv, in btrfs_block_rsv_add_bytes()
327 struct btrfs_block_rsv *block_rsv = &fs_info->global_block_rsv; in btrfs_update_global_block_rsv()
462 static struct btrfs_block_rsv *get_block_rsv( in get_block_rsv()
467 struct btrfs_block_rsv *block_rsv = NULL; in get_block_rsv()
483 struct btrfs_block_rsv *btrfs_use_block_rsv(struct btrfs_trans_handle *trans, in btrfs_use_block_rsv()
488 struct btrfs_block_rsv *block_rsv; in btrfs_use_block_rsv()
489 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in btrfs_use_block_rsv()
557 struct btrfs_block_rsv *rsv) in btrfs_check_trunc_cache_free_space()