Home
last modified time | relevance | path

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

/Linux-v4.19/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->contig_bits * PCPU_MIN_ALLOC_SIZE); in chunk_map_stats()
Dpercpu.c234 if (chunk->free_bytes < PCPU_MIN_ALLOC_SIZE || chunk->contig_bits == 0) in pcpu_chunk_slot()
532 int page_start = PFN_UP(bit_off * PCPU_MIN_ALLOC_SIZE); in pcpu_cnt_pop_pages()
533 int page_end = PFN_DOWN((bit_off + bits) * PCPU_MIN_ALLOC_SIZE); in pcpu_cnt_pop_pages()
895 page_start = PFN_DOWN(bit_off * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated()
896 page_end = PFN_UP((bit_off + bits) * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated()
903 *next_off = re * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_is_populated()
1005 chunk->free_bytes -= alloc_bits * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
1018 return bit_off * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
1038 bit_off = off / PCPU_MIN_ALLOC_SIZE; in pcpu_free_area()
1047 chunk->free_bytes += bits * PCPU_MIN_ALLOC_SIZE; in pcpu_free_area()
[all …]
Dpercpu-internal.h87 return pages * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_nr_pages_to_map_bits()
/Linux-v4.19/include/linux/
Dpercpu.h27 #define PCPU_MIN_ALLOC_SIZE (1 << PCPU_MIN_ALLOC_SHIFT) macro