Lines Matching refs:btrfs_block_rsv
24 struct btrfs_block_rsv { struct
54 void btrfs_init_block_rsv(struct btrfs_block_rsv *rsv, enum btrfs_rsv_type type); argument
56 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info,
59 struct btrfs_block_rsv *rsv,
62 struct btrfs_block_rsv *rsv);
64 struct btrfs_block_rsv *block_rsv, u64 num_bytes,
66 int btrfs_block_rsv_check(struct btrfs_block_rsv *block_rsv, int min_percent);
68 struct btrfs_block_rsv *block_rsv, u64 min_reserved,
70 int btrfs_block_rsv_migrate(struct btrfs_block_rsv *src_rsv,
71 struct btrfs_block_rsv *dst_rsv, u64 num_bytes,
73 int btrfs_block_rsv_use_bytes(struct btrfs_block_rsv *block_rsv, u64 num_bytes);
74 void btrfs_block_rsv_add_bytes(struct btrfs_block_rsv *block_rsv,
77 struct btrfs_block_rsv *block_rsv,
82 struct btrfs_block_rsv *btrfs_use_block_rsv(struct btrfs_trans_handle *trans,
86 struct btrfs_block_rsv *block_rsv, in btrfs_unuse_block_rsv()
97 static inline bool btrfs_block_rsv_full(const struct btrfs_block_rsv *rsv) in btrfs_block_rsv_full()