Searched refs:unbuddied (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/mm/
H A Dzbud.c32 * 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
79 * @unbuddied: array of lists tracking zbud pages that only contain one buddy;
95 struct list_head unbuddied[NCHUNKS]; member in struct:zbud_pool
105 * @buddy: links the zbud page into the unbuddied/buddied lists in the pool
300 INIT_LIST_HEAD(&pool->unbuddied[i]); zbud_create_pool()
327 * satisfy the allocation request. A search of the unbuddied lists is
353 /* First, try to find an unbuddied zbud page. */ zbud_alloc()
356 if (!list_empty(&pool->unbuddied[i])) { for_each_unbuddied_list()
357 zhdr = list_first_entry(&pool->unbuddied[i], for_each_unbuddied_list()
368 /* Couldn't find unbuddied zbud page, create new one */
385 /* Add to unbuddied list */
387 list_add(&zhdr->buddy, &pool->unbuddied[freechunks]);
443 /* Add to unbuddied list */ zbud_free()
445 list_add(&zhdr->buddy, &pool->unbuddied[freechunks]); zbud_free()
544 /* add to unbuddied list */ zbud_reclaim_page()
546 list_add(&zhdr->buddy, &pool->unbuddied[freechunks]); zbud_reclaim_page()

Completed in 53 milliseconds