Searched refs:qgroup_reserve (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | delalloc-space.c | 281 u64 *meta_reserve, u64 *qgroup_reserve) in calc_inode_reservations() argument 295 *qgroup_reserve = nr_extents * fs_info->nodesize; in calc_inode_reservations() 304 u64 meta_reserve, qgroup_reserve; in btrfs_delalloc_reserve_metadata() local 342 &meta_reserve, &qgroup_reserve); in btrfs_delalloc_reserve_metadata() 343 ret = btrfs_qgroup_reserve_meta_prealloc(root, qgroup_reserve, true, in btrfs_delalloc_reserve_metadata() 349 btrfs_qgroup_free_meta_prealloc(root, qgroup_reserve); in btrfs_delalloc_reserve_metadata() 372 block_rsv->qgroup_rsv_reserved += qgroup_reserve; in btrfs_delalloc_reserve_metadata()
|
D | qgroup.c | 3082 static int qgroup_reserve(struct btrfs_root *root, u64 num_bytes, bool enforce, in qgroup_reserve() function 3767 ret = qgroup_reserve(root, to_reserve, true, BTRFS_QGROUP_RSV_DATA); in qgroup_reserve_data() 3991 ret = qgroup_reserve(root, num_bytes, enforce, type); in btrfs_qgroup_reserve_meta()
|