Home
last modified time | relevance | path

Searched refs:qgroup_reserve (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Ddelalloc-space.c284 u64 *meta_reserve, u64 *qgroup_reserve) in calc_inode_reservations() argument
304 *qgroup_reserve = nr_extents * fs_info->nodesize; in calc_inode_reservations()
313 u64 meta_reserve, qgroup_reserve; in btrfs_delalloc_reserve_metadata() local
348 &meta_reserve, &qgroup_reserve); in btrfs_delalloc_reserve_metadata()
349 ret = btrfs_qgroup_reserve_meta_prealloc(root, qgroup_reserve, true, in btrfs_delalloc_reserve_metadata()
355 btrfs_qgroup_free_meta_prealloc(root, qgroup_reserve); in btrfs_delalloc_reserve_metadata()
379 block_rsv->qgroup_rsv_reserved += qgroup_reserve; in btrfs_delalloc_reserve_metadata()
H A Dqgroup.c3152 static int qgroup_reserve(struct btrfs_root *root, u64 num_bytes, bool enforce, in qgroup_reserve() function
3823 ret = qgroup_reserve(root, to_reserve, true, BTRFS_QGROUP_RSV_DATA); in qgroup_reserve_data()
4052 ret = qgroup_reserve(root, num_bytes, enforce, type); in btrfs_qgroup_reserve_meta()