Searched refs:CHUNK_BLOCK_RATIO (Results 1 – 2 of 2) sorted by relevance
109 #define CHUNK_BLOCK_RATIO(bitmap) ((bitmap)->mddev->bitmap_info.chunksize >> BITMAP_BLOCK_SHIFT) macro111 #define CHUNK_BLOCK_MASK(bitmap) (CHUNK_BLOCK_RATIO(bitmap) - 1)116 (CHUNK_BLOCK_RATIO(bitmap) << PAGE_COUNTER_SHIFT >> 1)
1746 chunks = (blocks + CHUNK_BLOCK_RATIO(bitmap) - 1) >> in bitmap_create()