Lines Matching refs:btrfs_block_rsv
13 struct btrfs_block_rsv;
31 struct btrfs_block_rsv { struct
61 void btrfs_init_block_rsv(struct btrfs_block_rsv *rsv, enum btrfs_rsv_type type); argument
63 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info,
66 struct btrfs_block_rsv *rsv,
69 struct btrfs_block_rsv *rsv);
71 struct btrfs_block_rsv *block_rsv, u64 num_bytes,
73 int btrfs_block_rsv_check(struct btrfs_block_rsv *block_rsv, int min_percent);
75 struct btrfs_block_rsv *block_rsv, u64 num_bytes,
77 int btrfs_block_rsv_migrate(struct btrfs_block_rsv *src_rsv,
78 struct btrfs_block_rsv *dst_rsv, u64 num_bytes,
80 int btrfs_block_rsv_use_bytes(struct btrfs_block_rsv *block_rsv, u64 num_bytes);
81 void btrfs_block_rsv_add_bytes(struct btrfs_block_rsv *block_rsv,
84 struct btrfs_block_rsv *block_rsv,
89 struct btrfs_block_rsv *btrfs_use_block_rsv(struct btrfs_trans_handle *trans,
93 struct btrfs_block_rsv *rsv);
95 struct btrfs_block_rsv *block_rsv, in btrfs_unuse_block_rsv()
106 static inline bool btrfs_block_rsv_full(const struct btrfs_block_rsv *rsv) in btrfs_block_rsv_full()
116 static inline u64 btrfs_block_rsv_reserved(struct btrfs_block_rsv *rsv) in btrfs_block_rsv_reserved()
132 static inline u64 btrfs_block_rsv_size(struct btrfs_block_rsv *rsv) in btrfs_block_rsv_size()