Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dz3fold.c128 struct list_head *unbuddied; member
401 struct list_head *unbuddied; in do_compact_page() local
423 unbuddied = get_cpu_ptr(pool->unbuddied); in do_compact_page()
430 list_add(&zhdr->buddy, &unbuddied[fchunks]); in do_compact_page()
434 put_cpu_ptr(pool->unbuddied); in do_compact_page()
471 pool->unbuddied = __alloc_percpu(sizeof(struct list_head)*NCHUNKS, 2); in z3fold_create_pool()
472 if (!pool->unbuddied) in z3fold_create_pool()
475 struct list_head *unbuddied = in z3fold_create_pool() local
476 per_cpu_ptr(pool->unbuddied, cpu); in z3fold_create_pool()
478 INIT_LIST_HEAD(&unbuddied[i]); in z3fold_create_pool()
[all …]
Dzbud.c95 struct list_head unbuddied[NCHUNKS]; member
315 INIT_LIST_HEAD(&pool->unbuddied[i]); in zbud_create_pool()
371 if (!list_empty(&pool->unbuddied[i])) { in zbud_alloc()
372 zhdr = list_first_entry(&pool->unbuddied[i], in zbud_alloc()
402 list_add(&zhdr->buddy, &pool->unbuddied[freechunks]); in zbud_alloc()
460 list_add(&zhdr->buddy, &pool->unbuddied[freechunks]); in zbud_free()
558 list_add(&zhdr->buddy, &pool->unbuddied[freechunks]); in zbud_reclaim_page()