BM_EXT_SHIFT 334 drivers/block/drbd/drbd_bitmap.c #define S2W(s) ((s)<<(BM_EXT_SHIFT-BM_BLOCK_SHIFT-LN2_BPL)) BM_EXT_SHIFT 1254 drivers/block/drbd/drbd_int.h #define BM_EXT_SIZE (1<<BM_EXT_SHIFT) BM_EXT_SHIFT 1256 drivers/block/drbd/drbd_int.h #if (BM_EXT_SHIFT != 24) || (BM_BLOCK_SHIFT != 12) BM_EXT_SHIFT 1270 drivers/block/drbd/drbd_int.h #define BM_SECT_TO_EXT(x) ((x)>>(BM_EXT_SHIFT-9)) BM_EXT_SHIFT 1271 drivers/block/drbd/drbd_int.h #define BM_BIT_TO_EXT(x) ((x) >> (BM_EXT_SHIFT - BM_BLOCK_SHIFT)) BM_EXT_SHIFT 1274 drivers/block/drbd/drbd_int.h #define BM_EXT_TO_SECT(x) ((sector_t)(x) << (BM_EXT_SHIFT-9)) BM_EXT_SHIFT 1278 drivers/block/drbd/drbd_int.h #define BM_BITS_PER_EXT (1UL << (BM_EXT_SHIFT - BM_BLOCK_SHIFT)) BM_EXT_SHIFT 1284 drivers/block/drbd/drbd_int.h #define AL_EXT_PER_BM_SECT (1 << (BM_EXT_SHIFT - AL_EXTENT_SHIFT)) BM_EXT_SHIFT 1307 drivers/block/drbd/drbd_int.h ((MD_128MB_SECT - MD_32kB_SECT - MD_4kB_SECT) * (1LL<<(BM_EXT_SHIFT-9)))