Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/mm/
H A Dzbud.c33 * 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
81 * @unbuddied: array of lists tracking zbud pages that only contain one buddy;
95 * Reuse unbuddied[0] as buddied on the ground that
96 * unbuddied[0] is unused.
99 struct list_head unbuddied[NCHUNKS]; member
107 * @buddy: links the zbud page into the unbuddied/buddied lists in the pool
210 INIT_LIST_HEAD(&pool->unbuddied[i]); in zbud_create_pool()
235 * satisfy the allocation request. A search of the unbuddied lists is
261 /* First, try to find an unbuddied zbu in zbud_alloc()
[all...]
H A Dz3fold.c128 * @lock: protects pool unbuddied lists
130 * @unbuddied: per-cpu array of lists tracking z3fold pages that contain 2-
147 struct list_head *unbuddied; member
537 /* Add to the appropriate unbuddied list */
543 struct list_head *unbuddied; in add_to_unbuddied() local
547 unbuddied = this_cpu_ptr(pool->unbuddied); in add_to_unbuddied()
549 list_add(&zhdr->buddy, &unbuddied[freechunks]); in add_to_unbuddied()
790 struct list_head *unbuddied; in __z3fold_alloc() local
795 /* First, try to find an unbuddied z3fol in __z3fold_alloc()
928 struct list_head *unbuddied = z3fold_create_pool() local
[all...]
/kernel/linux/linux-5.10/mm/
H A Dzbud.c33 * 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
80 * @unbuddied: array of lists tracking zbud pages that only contain one buddy;
96 struct list_head unbuddied[NCHUNKS]; member
110 * @buddy: links the zbud page into the unbuddied/buddied lists in the pool
317 INIT_LIST_HEAD(&pool->unbuddied[i]); in zbud_create_pool()
344 * satisfy the allocation request. A search of the unbuddied lists is
370 /* First, try to find an unbuddied zbud page. */ in zbud_alloc()
372 if (!list_empty(&pool->unbuddied[i])) { in zbud_alloc()
373 zhdr = list_first_entry(&pool->unbuddied[ in zbud_alloc()
[all...]
H A Dz3fold.c135 * @lock: protects pool unbuddied/lru lists
137 * @unbuddied: per-cpu array of lists tracking z3fold pages that contain 2-
159 struct list_head *unbuddied; member
620 /* Add to the appropriate unbuddied list */
626 struct list_head *unbuddied = get_cpu_ptr(pool->unbuddied); in add_to_unbuddied() local
630 list_add(&zhdr->buddy, &unbuddied[freechunks]); in add_to_unbuddied()
633 put_cpu_ptr(pool->unbuddied); in add_to_unbuddied()
879 struct list_head *unbuddied; in __z3fold_alloc() local
883 /* First, try to find an unbuddied z3fol in __z3fold_alloc()
1009 struct list_head *unbuddied = z3fold_create_pool() local
[all...]

Completed in 5 milliseconds