Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/
Dxfs_log.c241 int *free_bytes) in xlog_grant_head_wake() argument
271 if (*free_bytes < need_bytes) { in xlog_grant_head_wake()
277 *free_bytes -= need_bytes; in xlog_grant_head_wake()
346 int free_bytes; in xlog_grant_head_check() local
358 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
361 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()
362 free_bytes < *need_bytes) { in xlog_grant_head_check()
367 } else if (free_bytes < *need_bytes) { in xlog_grant_head_check()
1143 int free_bytes; in xfs_log_space_wake() local
1152 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
[all …]
/linux-6.6.21/mm/
Dpercpu-internal.h42 int free_bytes; /* free bytes in the chunk */ member
Dpercpu-stats.c125 P("free_bytes", chunk->free_bytes); in chunk_map_stats()
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()
1407 chunk->free_bytes = map_size; in pcpu_alloc_first_chunk()
1479 chunk->free_bytes = chunk->nr_pages * PAGE_SIZE; in pcpu_alloc_chunk()
2210 if (reintegrate || chunk->free_bytes == pcpu_unit_size) in pcpu_reclaim_populated()
2285 if (!chunk->isolated && chunk->free_bytes == pcpu_unit_size) { in free_percpu()
/linux-6.6.21/fs/btrfs/
Dspace-info.c1828 u64 free_bytes = 0; in btrfs_account_ro_block_groups_free_space() local
1845 free_bytes += (block_group->length - in btrfs_account_ro_block_groups_free_space()
1852 return free_bytes; in btrfs_account_ro_block_groups_free_space()
Dsuper.c1917 u64 *free_bytes) in btrfs_calc_avail_data_space() argument
1939 *free_bytes = 0; in btrfs_calc_avail_data_space()
2018 *free_bytes = avail_space; in btrfs_calc_avail_data_space()
/linux-6.6.21/tools/perf/
Dbuiltin-kmem.c298 u64 free_bytes; member
923 pstat->free_bytes += bytes; in evsel__process_page_free_event()
931 pstat->free_bytes += bytes; in evsel__process_page_free_event()
/linux-6.6.21/fs/ntfs3/
Dfslog.c1502 u32 oldest_off, next_free_off, free_bytes; in current_log_avail() local
1535 free_bytes = in current_log_avail()
1540 free_bytes >>= log->page_bits; in current_log_avail()
1541 return free_bytes * log->reserved; in current_log_avail()