Searched refs:cur_free_bytes (Results 1 – 1 of 1) sorted by relevance
583 u64 cur_free_bytes = 0; in may_commit_transaction() local590 cur_free_bytes = btrfs_space_info_used(space_info, true); in may_commit_transaction()591 if (cur_free_bytes < space_info->total_bytes) in may_commit_transaction()592 cur_free_bytes = space_info->total_bytes - cur_free_bytes; in may_commit_transaction()594 cur_free_bytes = 0; in may_commit_transaction()605 if (bytes_needed > cur_free_bytes) in may_commit_transaction()606 bytes_needed -= cur_free_bytes; in may_commit_transaction()