Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/
H A Dxfs_log.c183 int64_t free_bytes; in xlog_grant_space_left() local
188 if (free_bytes > 0) in xlog_grant_space_left()
189 return free_bytes; in xlog_grant_space_left()
226 int *free_bytes) in xlog_grant_head_wake() argument
233 if (*free_bytes < need_bytes) in xlog_grant_head_wake()
236 *free_bytes -= need_bytes; in xlog_grant_head_wake()
306 int free_bytes; in xlog_grant_head_check() local
318 free_bytes = xlog_grant_space_left(log, head); in xlog_grant_head_check()
322 free_bytes < *need_bytes) { in xlog_grant_head_check()
327 } else if (free_bytes < *need_bytes) { in xlog_grant_head_check()
[all …]
H A Dxfs_trans_ail.c408 int32_t free_bytes; in xfs_ail_calc_push_target() local
439 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()
/linux-6.15/mm/
H A Dpercpu-internal.h55 int free_bytes; /* free bytes in the chunk */ member
H A Dpercpu-stats.c125 P("free_bytes", chunk->free_bytes); in chunk_map_stats()
H A Dpercpu.c246 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()
1297 chunk->free_bytes += freed; in pcpu_free_area()
1394 chunk->free_bytes = map_size; in pcpu_alloc_first_chunk()
1466 chunk->free_bytes = chunk->nr_pages * PAGE_SIZE; in pcpu_alloc_chunk()
2170 if (reintegrate || chunk->free_bytes == pcpu_unit_size) in pcpu_reclaim_populated()
2251 if (!chunk->isolated && chunk->free_bytes == pcpu_unit_size) { in free_percpu()
/linux-6.15/fs/btrfs/
H A Dspace-info.c1881 u64 free_bytes = 0; in btrfs_account_ro_block_groups_free_space() local
1898 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()
H A Dsuper.c1599 u64 *free_bytes) in btrfs_calc_avail_data_space() argument
1621 *free_bytes = 0; in btrfs_calc_avail_data_space()
1700 *free_bytes = avail_space; in btrfs_calc_avail_data_space()
/linux-6.15/tools/perf/
H A Dbuiltin-kmem.c298 u64 free_bytes; member
925 pstat->free_bytes += bytes; in evsel__process_page_free_event()
933 pstat->free_bytes += bytes; in evsel__process_page_free_event()
/linux-6.15/fs/ntfs3/
H A Dfslog.c1522 u32 oldest_off, next_free_off, free_bytes; in current_log_avail() local
1555 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()