Lines Matching defs:rsv
5 #include "block-rsv.h"
15 * how large we want our block rsv to be, ->reserved is how much space is
47 * There is some logic here to refill the delayed refs rsv or the global rsv
174 void btrfs_init_block_rsv(struct btrfs_block_rsv *rsv, unsigned short type)
176 memset(rsv, 0, sizeof(*rsv));
177 spin_lock_init(&rsv->lock);
178 rsv->type = type;
182 struct btrfs_block_rsv *rsv,
185 btrfs_init_block_rsv(rsv, type);
186 rsv->space_info = btrfs_find_space_info(fs_info,
204 struct btrfs_block_rsv *rsv)
206 if (!rsv)
208 btrfs_block_rsv_release(fs_info, rsv, (u64)-1, NULL);
209 kfree(rsv);
284 * If we are the delayed_rsv then push to the global rsv, otherwise dump
285 * into the delayed rsv if it is not full.
359 * The global block rsv is based on the size of the extent tree, the
515 "BTRFS: block rsv %d returned %d\n",