Home
last modified time | relevance | path

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

/linux/mm/
A 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()
A Dpercpu.c250 if (chunk->free_bytes < PCPU_MIN_ALLOC_SIZE || in pcpu_chunk_slot()
1075 page_start = PFN_DOWN(bit_off * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated()
1083 *next_off = re * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_is_populated()
1245 chunk->free_bytes -= alloc_bits * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
1258 return bit_off * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area()
1282 bit_off = off / PCPU_MIN_ALLOC_SIZE; in pcpu_free_area()
1290 freed = bits * PCPU_MIN_ALLOC_SIZE; in pcpu_free_area()
1426 offset_bits = chunk->end_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
1749 if (unlikely(align < PCPU_MIN_ALLOC_SIZE)) in pcpu_alloc()
1750 align = PCPU_MIN_ALLOC_SIZE; in pcpu_alloc()
[all …]
A Dpercpu-internal.h101 return pages * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_nr_pages_to_map_bits()
/linux/include/linux/
A Dpercpu.h26 #define PCPU_MIN_ALLOC_SIZE (1 << PCPU_MIN_ALLOC_SHIFT) macro

Completed in 14 milliseconds