Lines Matching +full:full +full:- +full:size
1 /* SPDX-License-Identifier: GPL-2.0 */
32 u64 size; member
36 bool full; member
42 * Qgroup equivalent for @size @reserved
44 * Unlike normal @size/@reserved for inode rsv, qgroup doesn't care
45 * about things like csum size nor how many tree blocks it will need to
103 * Fast path to check if the reserve is full, may be carefully used outside of
108 return data_race(rsv->full); in btrfs_block_rsv_full()
120 spin_lock(&rsv->lock); in btrfs_block_rsv_reserved()
121 ret = rsv->reserved; in btrfs_block_rsv_reserved()
122 spin_unlock(&rsv->lock); in btrfs_block_rsv_reserved()
128 * Get the size of a block reserve in a context where getting a stale value is
136 spin_lock(&rsv->lock); in btrfs_block_rsv_size()
137 ret = rsv->size; in btrfs_block_rsv_size()
138 spin_unlock(&rsv->lock); in btrfs_block_rsv_size()