Home
last modified time | relevance | path

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

/mm/
Dzbud.c71 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro
72 #define ZHDR_SIZE_ALIGNED CHUNK_SIZE
146 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
278 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in zbud_alloc()
Dz3fold.c61 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro
62 #define ZHDR_SIZE_ALIGNED round_up(sizeof(struct z3fold_header), CHUNK_SIZE)
206 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
1089 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in z3fold_alloc()
1800 BUILD_BUG_ON(ZHDR_SIZE_ALIGNED > PAGE_SIZE - CHUNK_SIZE); in init_z3fold()