Home
last modified time | relevance | path

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

/Linux-v4.19/fs/xfs/
Dxfs_log.c224 int *free_bytes) in xlog_grant_head_wake() argument
231 if (*free_bytes < need_bytes) in xlog_grant_head_wake()
234 *free_bytes -= need_bytes; in xlog_grant_head_wake()
302 int free_bytes; in xlog_grant_head_check() local
314 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
317 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()
318 free_bytes < *need_bytes) { in xlog_grant_head_check()
323 } else if (free_bytes < *need_bytes) { in xlog_grant_head_check()
1070 int free_bytes; in xfs_log_space_wake() local
1079 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
[all …]
/Linux-v4.19/mm/
Dpercpu-internal.h31 int free_bytes; /* free bytes in the chunk */ member
Dpercpu.c234 if (chunk->free_bytes < PCPU_MIN_ALLOC_SIZE || chunk->contig_bits == 0) in pcpu_chunk_slot()
237 return pcpu_size_to_slot(chunk->free_bytes); in pcpu_chunk_slot()
1005 chunk->free_bytes -= alloc_bits * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
1047 chunk->free_bytes += bits * PCPU_MIN_ALLOC_SIZE; in pcpu_free_area()
1134 chunk->free_bytes = map_size; in pcpu_alloc_first_chunk()
1197 chunk->free_bytes = chunk->nr_pages * PAGE_SIZE; in pcpu_alloc_chunk()
1740 if (chunk->free_bytes == pcpu_unit_size) { in free_percpu()
Dpercpu-stats.c125 P("free_bytes", chunk->free_bytes); in chunk_map_stats()
/Linux-v4.19/tools/perf/
Dbuiltin-kmem.c283 u64 free_bytes; member
899 pstat->free_bytes += bytes; in perf_evsel__process_page_free_event()
907 pstat->free_bytes += bytes; in perf_evsel__process_page_free_event()
/Linux-v4.19/fs/btrfs/
Dsuper.c1949 u64 *free_bytes) in btrfs_calc_avail_data_space() argument
1971 *free_bytes = 0; in btrfs_calc_avail_data_space()
2066 *free_bytes = avail_space; in btrfs_calc_avail_data_space()
Dextent-tree.c9327 u64 free_bytes = 0; in btrfs_account_ro_block_groups_free_space() local
9344 free_bytes += (block_group->key.offset - in btrfs_account_ro_block_groups_free_space()
9352 return free_bytes; in btrfs_account_ro_block_groups_free_space()