Searched refs:cur_free_bytes (Results 1 – 1 of 1) sorted by relevance
468 u64 cur_free_bytes = 0; in may_commit_transaction() local475 cur_free_bytes = btrfs_space_info_used(space_info, true); in may_commit_transaction()476 if (cur_free_bytes < space_info->total_bytes) in may_commit_transaction()477 cur_free_bytes = space_info->total_bytes - cur_free_bytes; in may_commit_transaction()479 cur_free_bytes = 0; in may_commit_transaction()489 if (bytes_needed > cur_free_bytes) in may_commit_transaction()490 bytes_needed -= cur_free_bytes; in may_commit_transaction()