Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dzbud.c73 #define NCHUNKS ((PAGE_SIZE - ZHDR_SIZE_ALIGNED) >> CHUNK_SHIFT) macro
95 struct list_head unbuddied[NCHUNKS];
235 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
291 return NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()
Dz3fold.c99 #define NCHUNKS ((PAGE_SIZE - ZHDR_SIZE_ALIGNED) >> CHUNK_SHIFT) macro
162 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
338 nfree = NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()
425 if (fchunks < NCHUNKS && in do_compact_page()
471 pool->unbuddied = __alloc_percpu(sizeof(struct list_head)*NCHUNKS, 2); in z3fold_create_pool()