Searched refs:free_bytes (Results 1 – 7 of 7) sorted by relevance
182 int64_t free_bytes; in xlog_grant_space_left() local185 free_bytes = log->l_logsize - READ_ONCE(log->l_tail_space) - in xlog_grant_space_left()187 if (free_bytes > 0) in xlog_grant_space_left()188 return free_bytes; in xlog_grant_space_left()225 int *free_bytes) in xlog_grant_head_wake() argument232 if (*free_bytes < need_bytes) in xlog_grant_head_wake()235 *free_bytes -= need_bytes; in xlog_grant_head_wake()305 int free_bytes; in xlog_grant_head_check() local317 free_bytes = xlog_grant_space_left(log, head); in xlog_grant_head_check()320 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()[all …]
408 int32_t free_bytes; in xfs_ail_calc_push_target() local439 free_bytes = log->l_logsize - xlog_lsn_sub(log, max_lsn, min_lsn); in xfs_ail_calc_push_target()440 if (free_bytes >= log->l_logsize >> 2) in xfs_ail_calc_push_target()
55 int free_bytes; /* free bytes in the chunk */ member
125 P("free_bytes", chunk->free_bytes); in chunk_map_stats()
1881 u64 free_bytes = 0; in btrfs_account_ro_block_groups_free_space() local1898 free_bytes += (block_group->length - in btrfs_account_ro_block_groups_free_space()1905 return free_bytes; in btrfs_account_ro_block_groups_free_space()
1596 u64 *free_bytes) in btrfs_calc_avail_data_space() argument1618 *free_bytes = 0; in btrfs_calc_avail_data_space()1697 *free_bytes = avail_space; in btrfs_calc_avail_data_space()
1522 u32 oldest_off, next_free_off, free_bytes; in current_log_avail() local1555 free_bytes = in current_log_avail()1560 free_bytes >>= log->page_bits; in current_log_avail()1561 return free_bytes * log->reserved; in current_log_avail()