Searched refs:free_bytes (Results 1 – 8 of 8) 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 …]
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
246 if (chunk->free_bytes < PCPU_MIN_ALLOC_SIZE || in pcpu_chunk_slot() 1249 chunk->free_bytes -= alloc_bits * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area() 1301 chunk->free_bytes += freed; in pcpu_free_area() 1400 chunk->free_bytes = map_size; in pcpu_alloc_first_chunk() 1472 chunk->free_bytes = chunk->nr_pages * PAGE_SIZE; in pcpu_alloc_chunk() 2180 if (reintegrate || chunk->free_bytes == pcpu_unit_size) in pcpu_reclaim_populated() 2268 if (!chunk->isolated && chunk->free_bytes == pcpu_unit_size) { in free_percpu()
1975 u64 free_bytes = 0; in btrfs_account_ro_block_groups_free_space() local1992 free_bytes += (block_group->length - in btrfs_account_ro_block_groups_free_space()1999 return free_bytes; in btrfs_account_ro_block_groups_free_space()
1609 u64 *free_bytes) in btrfs_calc_avail_data_space() argument1631 *free_bytes = 0; in btrfs_calc_avail_data_space()1709 *free_bytes = avail_space; in btrfs_calc_avail_data_space()
298 u64 free_bytes; member925 pstat->free_bytes += bytes; in evsel__process_page_free_event()933 pstat->free_bytes += bytes; in evsel__process_page_free_event()
1524 u32 oldest_off, next_free_off, free_bytes; in current_log_avail() local1557 free_bytes = in current_log_avail()1562 free_bytes >>= log->page_bits; in current_log_avail()1563 return free_bytes * log->reserved; in current_log_avail()