Searched refs:BM_EXT_SHIFT (Results 1 – 2 of 2) sorted by relevance
1187 #define BM_EXT_SHIFT 24 /* 16 MiB per resync extent */ macro1188 #define BM_EXT_SIZE (1<<BM_EXT_SHIFT)1190 #if (BM_EXT_SHIFT != 24) || (BM_BLOCK_SHIFT != 12)1204 #define BM_SECT_TO_EXT(x) ((x)>>(BM_EXT_SHIFT-9))1205 #define BM_BIT_TO_EXT(x) ((x) >> (BM_EXT_SHIFT - BM_BLOCK_SHIFT))1208 #define BM_EXT_TO_SECT(x) ((sector_t)(x) << (BM_EXT_SHIFT-9))1212 #define BM_BITS_PER_EXT (1UL << (BM_EXT_SHIFT - BM_BLOCK_SHIFT))1218 #define AL_EXT_PER_BM_SECT (1 << (BM_EXT_SHIFT - AL_EXTENT_SHIFT))1241 ((MD_128MB_SECT - MD_32kB_SECT - MD_4kB_SECT) * (1LL<<(BM_EXT_SHIFT-9)))
334 #define S2W(s) ((s)<<(BM_EXT_SHIFT-BM_BLOCK_SHIFT-LN2_BPL))