Home
last modified time | relevance | path

Searched refs:PCPU_MIN_ALLOC_SIZE (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/mm/
Dpercpu-stats.c75 chunk->end_offset / PCPU_MIN_ALLOC_SIZE - 1); in chunk_map_stats()
80 start = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in chunk_map_stats()
102 alloc_sizes[as_len++] *= (end - start) * PCPU_MIN_ALLOC_SIZE; in chunk_map_stats()
130 P("contig_bytes", chunk_md->contig_hint * PCPU_MIN_ALLOC_SIZE); in chunk_map_stats()
Dpercpu.c244 if (chunk->free_bytes < PCPU_MIN_ALLOC_SIZE || in pcpu_chunk_slot()
248 return pcpu_size_to_slot(chunk_md->contig_hint * PCPU_MIN_ALLOC_SIZE); in pcpu_chunk_slot()
1027 page_start = PFN_DOWN(bit_off * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated()
1028 page_end = PFN_UP((bit_off + bits) * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated()
1035 *next_off = re * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_is_populated()
1200 chunk->free_bytes -= alloc_bits * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
1213 return bit_off * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
1237 bit_off = off / PCPU_MIN_ALLOC_SIZE; in pcpu_free_area()
1245 freed = bits * PCPU_MIN_ALLOC_SIZE; in pcpu_free_area()
1369 offset_bits = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
[all …]
Dpercpu-internal.h116 return pages * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_nr_pages_to_map_bits()
/Linux-v5.10/include/linux/
Dpercpu.h27 #define PCPU_MIN_ALLOC_SIZE (1 << PCPU_MIN_ALLOC_SHIFT) macro