Home
last modified time | relevance | path

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

/Linux-v6.6/mm/
Dzbud.c73 #define NCHUNKS ((PAGE_SIZE - ZHDR_SIZE_ALIGNED) >> CHUNK_SHIFT) macro
99 struct list_head unbuddied[NCHUNKS];
133 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
187 return NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()
Dz3fold.c61 #define NCHUNKS (TOTAL_CHUNKS - ZHDR_CHUNKS) macro
192 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
533 nfree = NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()
923 pool->unbuddied = __alloc_percpu(sizeof(struct list_head) * NCHUNKS, in z3fold_create_pool()