Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/mm/
H A Dzbud.c64 * in allocated page is occupied by zbud header, NCHUNKS will be calculated to
73 #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()
H A Dz3fold.c50 * NCHUNKS will be calculated to 63 (or 62 in case CONFIG_DEBUG_SPINLOCK=y),
61 #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()
/kernel/linux/linux-5.10/mm/
H A Dzbud.c65 * in allocated page is occupied by zbud header, NCHUNKS will be calculated to
74 #define NCHUNKS ((PAGE_SIZE - ZHDR_SIZE_ALIGNED) >> CHUNK_SHIFT) macro
96 struct list_head unbuddied[NCHUNKS];
237 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
293 return NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()
H A Dz3fold.c54 * NCHUNKS will be calculated to 63 (or 62 in case CONFIG_DEBUG_SPINLOCK=y),
65 #define NCHUNKS ((PAGE_SIZE - ZHDR_SIZE_ALIGNED) >> CHUNK_SHIFT) macro
208 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
616 nfree = NCHUNKS - zhdr->first_chunks - zhdr->last_chunks; in num_free_chunks()
1005 pool->unbuddied = __alloc_percpu(sizeof(struct list_head)*NCHUNKS, 2); in z3fold_create_pool()

Completed in 7 milliseconds