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
108 * @first_chunks: the size of the first buddy in chunks, 0 if free
109 * @last_chunks: the size of the last buddy in chunks, 0 if free
126 /* Converts an allocation size in bytes to size in zbud chunks */
180 /* Returns the number of free chunks in a zbud page */
249 int chunks, i, freechunks;
258 chunks = size_to_chunks(size);
262 for_each_unbuddied_list(i, chunks) {
287 zhdr->first_chunks = chunks;
289 zhdr->last_chunks = chunks;