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
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
123 * @first_chunks: the size of the first buddy in chunks, 0 if free
124 * @last_chunks: the size of the last buddy in chunks, 0 if free
143 /* Converts an allocation size in bytes to size in zbud chunks */
199 /* Returns the number of free chunks in a zbud page */
271 int chunks, i, freechunks; in zbud_alloc() local
280 chunks = size_to_chunks(size); in zbud_alloc()
284 for_each_unbuddied_list(i, chunks) { in zbud_alloc()
309 zhdr->first_chunks = chunks; in zbud_alloc()
311 zhdr->last_chunks = chunks; in zbud_alloc()