Lines Matching full:chunks
30 * zbud pages are divided into "chunks". The size of the chunks is fixed at
32 * into chunks allows organizing unbuddied zbud pages into a manageable number
33 * of unbuddied lists according to the number of free chunks available in the
63 * allocation granularity will be in chunks of size PAGE_SIZE/64. As one chunk
65 * 63 which shows the max number of free chunks in zbud page, also there will be
111 * @first_chunks: the size of the first buddy in chunks, 0 if free
112 * @last_chunks: the size of the last buddy in chunks, 0 if free
228 /* Converts an allocation size in bytes to size in zbud chunks */
284 /* Returns the number of free chunks in a zbud page */
356 int chunks, i, freechunks; in zbud_alloc() local
365 chunks = size_to_chunks(size); in zbud_alloc()
370 for_each_unbuddied_list(i, chunks) { in zbud_alloc()
395 zhdr->first_chunks = chunks; in zbud_alloc()
397 zhdr->last_chunks = chunks; in zbud_alloc()