Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dpercpu-stats.c71 chunk->end_offset / PCPU_MIN_ALLOC_SIZE - 1); in chunk_map_stats()
76 start = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in chunk_map_stats()
98 alloc_sizes[as_len++] *= (end - start) * PCPU_MIN_ALLOC_SIZE; in chunk_map_stats()
126 P("contig_bytes", chunk_md->contig_hint * PCPU_MIN_ALLOC_SIZE); in chunk_map_stats()
Dpercpu-internal.h109 return pages * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_nr_pages_to_map_bits()
137 extra_size += size / PCPU_MIN_ALLOC_SIZE * sizeof(struct obj_cgroup *); in pcpu_obj_full_size()
Dpercpu.c246 if (chunk->free_bytes < PCPU_MIN_ALLOC_SIZE || in pcpu_chunk_slot()
250 return pcpu_size_to_slot(chunk_md->contig_hint * PCPU_MIN_ALLOC_SIZE); in pcpu_chunk_slot()
1078 start = PFN_DOWN(bit_off * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated()
1079 end = PFN_UP((bit_off + bits) * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated()
1087 *next_off = end * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_is_populated()
1249 chunk->free_bytes -= alloc_bits * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
1262 return bit_off * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
1286 bit_off = off / PCPU_MIN_ALLOC_SIZE; in pcpu_free_area()
1294 freed = bits * PCPU_MIN_ALLOC_SIZE; in pcpu_free_area()
1411 offset_bits = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
[all …]
/linux-6.6.21/include/linux/
Dpercpu.h27 #define PCPU_MIN_ALLOC_SIZE (1 << PCPU_MIN_ALLOC_SHIFT) macro