Lines Matching full:chunks
31 * zbud pages are divided into "chunks". The size of the chunks is fixed at
33 * into chunks allows organizing unbuddied zbud pages into a manageable number
34 * of unbuddied lists according to the number of free chunks available in the
64 * allocation granularity will be in chunks of size PAGE_SIZE/64. As one chunk
66 * 63 which shows the max number of free chunks in zbud page, also there will be
112 * @first_chunks: the size of the first buddy in chunks, 0 if free
113 * @last_chunks: the size of the last buddy in chunks, 0 if free
230 /* Converts an allocation size in bytes to size in zbud chunks */
286 /* Returns the number of free chunks in a zbud page */
358 int chunks, i, freechunks; in zbud_alloc() local
367 chunks = size_to_chunks(size); in zbud_alloc()
371 for_each_unbuddied_list(i, chunks) { in zbud_alloc()
396 zhdr->first_chunks = chunks; in zbud_alloc()
398 zhdr->last_chunks = chunks; in zbud_alloc()