Searched refs:qgroup_reserve (Results 1 – 2 of 2) sorted by relevance
/fs/btrfs/ |
D | delalloc-space.c | 284 u64 *qgroup_reserve) in calc_inode_reservations() argument 298 *qgroup_reserve = nr_extents * fs_info->nodesize; in calc_inode_reservations() 306 u64 meta_reserve, qgroup_reserve; in btrfs_delalloc_reserve_metadata() local 345 &qgroup_reserve); in btrfs_delalloc_reserve_metadata() 346 ret = btrfs_qgroup_reserve_meta_prealloc(root, qgroup_reserve, true); in btrfs_delalloc_reserve_metadata() 372 block_rsv->qgroup_rsv_reserved += qgroup_reserve; in btrfs_delalloc_reserve_metadata() 379 btrfs_qgroup_free_meta_prealloc(root, qgroup_reserve); in btrfs_delalloc_reserve_metadata()
|
D | qgroup.c | 3014 static int qgroup_reserve(struct btrfs_root *root, u64 num_bytes, bool enforce, in qgroup_reserve() function 3714 ret = qgroup_reserve(root, to_reserve, true, BTRFS_QGROUP_RSV_DATA); in qgroup_reserve_data() 3941 ret = qgroup_reserve(root, num_bytes, enforce, type); in btrfs_qgroup_reserve_meta()
|