Lines Matching refs:used
34 * 3) btrfs_calc*_size. These are the worst case calculations we used based
315 * space is actually usable. For raid56, the space info used
339 u64 used;
345 used = btrfs_space_info_used(space_info, true);
348 if (used + bytes < space_info->total_bytes + avail)
379 u64 used = btrfs_space_info_used(space_info, true);
384 if ((used + ticket->bytes <= space_info->total_bytes) ||
426 "space_info total=%llu, used=%llu, pinned=%llu, reserved=%llu, may_use=%llu, readonly=%llu",
458 "block group %llu has %llu bytes, %llu used %llu pinned %llu reserved %s",
459 cache->start, cache->length, cache->used, cache->pinned,
756 u64 used;
765 used = btrfs_space_info_used(space_info, true);
773 if (space_info->total_bytes + avail < used)
774 to_reclaim += used - (space_info->total_bytes + avail);
784 used = btrfs_space_info_used(space_info, true);
792 if (used > expected)
793 to_reclaim = used - expected;
803 u64 used)
814 return (used >= thresh && !btrfs_fs_closing(fs_info) &&
1318 u64 used;
1332 used = btrfs_space_info_used(space_info, true);
1350 ((used + orig_bytes <= space_info->total_bytes) ||
1387 used += orig_bytes;
1394 need_do_async_reclaim(fs_info, space_info, used) &&