Home
last modified time | relevance | path

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

/mm/
Dzbud.c72 #define ZHDR_SIZE_ALIGNED CHUNK_SIZE macro
73 #define NCHUNKS ((PAGE_SIZE - ZHDR_SIZE_ALIGNED) >> CHUNK_SHIFT)
187 handle += ZHDR_SIZE_ALIGNED; in encode_handle()
278 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in zbud_alloc()
352 if ((handle - ZHDR_SIZE_ALIGNED) & ~PAGE_MASK) in zbud_free()
621 BUILD_BUG_ON(sizeof(struct zbud_header) > ZHDR_SIZE_ALIGNED); in init_zbud()
Dz3fold.c62 #define ZHDR_SIZE_ALIGNED round_up(sizeof(struct z3fold_header), CHUNK_SIZE) macro
63 #define ZHDR_CHUNKS (ZHDR_SIZE_ALIGNED >> CHUNK_SHIFT)
675 p += ZHDR_SIZE_ALIGNED; in compact_single_buddy()
708 q += ZHDR_SIZE_ALIGNED; in compact_single_buddy()
1089 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in z3fold_alloc()
1504 addr += ZHDR_SIZE_ALIGNED; in z3fold_map()
1800 BUILD_BUG_ON(ZHDR_SIZE_ALIGNED > PAGE_SIZE - CHUNK_SIZE); in init_z3fold()