Searched refs:CHUNK_SIZE (Results 1 – 2 of 2) sorted by relevance
71 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro72 #define ZHDR_SIZE_ALIGNED CHUNK_SIZE146 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()278 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in zbud_alloc()
61 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro62 #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()