Searched refs:free_bytes (Results 1 – 6 of 6) sorted by relevance
133 int64_t free_bytes; in xlog_grant_space_left() local136 free_bytes = log->l_logsize - READ_ONCE(log->l_tail_space) - in xlog_grant_space_left()138 if (free_bytes > 0) in xlog_grant_space_left()139 return free_bytes; in xlog_grant_space_left()176 int *free_bytes) in xlog_grant_head_wake() argument183 if (*free_bytes < need_bytes) in xlog_grant_head_wake()186 *free_bytes -= need_bytes; in xlog_grant_head_wake()256 int free_bytes; in xlog_grant_head_check() local268 free_bytes = xlog_grant_space_left(log, head); in xlog_grant_head_check()271 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()[all …]
414 int32_t free_bytes; in xfs_ail_calc_push_target() local445 free_bytes = log->l_logsize - xlog_lsn_sub(log, max_lsn, min_lsn); in xfs_ail_calc_push_target()446 if (free_bytes >= log->l_logsize >> 2) in xfs_ail_calc_push_target()
2009 u64 free_bytes = 0; in btrfs_account_ro_block_groups_free_space() local2026 free_bytes += (block_group->length - in btrfs_account_ro_block_groups_free_space()2033 return free_bytes; in btrfs_account_ro_block_groups_free_space()
1604 u64 *free_bytes) in btrfs_calc_avail_data_space() argument1626 *free_bytes = 0; in btrfs_calc_avail_data_space()1703 *free_bytes = avail_space; in btrfs_calc_avail_data_space()
299 u64 free_bytes;946 pstat->free_bytes += bytes; in evsel__process_page_free_event() 954 pstat->free_bytes += bytes; in perf_kmem__skip_sample() 298 u64 free_bytes; global() member
1560 u32 oldest_off, next_free_off, free_bytes; in current_log_avail() local1593 free_bytes = in current_log_avail()1598 free_bytes >>= log->page_bits; in current_log_avail()1599 return free_bytes * log->reserved; in current_log_avail()