Home
last modified time | relevance | path

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

/mm/
Dz3fold.c60 #define CHUNK_SHIFT (PAGE_SHIFT - NCHUNKS_ORDER) macro
61 #define CHUNK_SIZE (1 << CHUNK_SHIFT)
63 #define ZHDR_CHUNKS (ZHDR_SIZE_ALIGNED >> CHUNK_SHIFT)
64 #define TOTAL_CHUNKS (PAGE_SIZE >> CHUNK_SHIFT)
206 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
646 return memmove(beg + (dst_chunk << CHUNK_SHIFT), in mchunk_memmove()
647 beg + (zhdr->start_middle << CHUNK_SHIFT), in mchunk_memmove()
648 zhdr->middle_chunks << CHUNK_SHIFT); in mchunk_memmove()
676 sz = zhdr->first_chunks << CHUNK_SHIFT; in compact_single_buddy()
680 p += zhdr->start_middle << CHUNK_SHIFT; in compact_single_buddy()
[all …]
Dzbud.c70 #define CHUNK_SHIFT (PAGE_SHIFT - NCHUNKS_ORDER) macro
71 #define CHUNK_SIZE (1 << CHUNK_SHIFT)
73 #define NCHUNKS ((PAGE_SIZE - ZHDR_SIZE_ALIGNED) >> CHUNK_SHIFT)
146 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
189 handle += PAGE_SIZE - (zhdr->last_chunks << CHUNK_SHIFT); in encode_handle()