Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dspace-info.c468 u64 cur_free_bytes = 0; in may_commit_transaction() local
475 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()