Searched refs:bm_offset (Results 1 – 4 of 4) sorted by relevance
2970 u32 bm_offset; /* offset to the bitmap, from here */ member3003 buffer->bm_offset = cpu_to_be32(device->ldev->md.bm_offset); in drbd_md_write()3117 if (in_core->bm_offset > in_core->al_offset) in check_offsets_and_sizes()3120 on_disk_bm_sect = in_core->al_offset - in_core->bm_offset; in check_offsets_and_sizes()3124 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()3127 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()3128 on_disk_bm_sect = in_core->md_size_sect - in_core->bm_offset; in check_offsets_and_sizes()3135 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()3156 if (in_core->bm_offset & 7) in check_offsets_and_sizes()3173 in_core->al_offset, in_core->bm_offset, in_core->md_size_sect, in check_offsets_and_sizes()[all …]
616 bitmap_sectors = ldev->md.md_size_sect - ldev->md.bm_offset; in drbd_md_on_disk_bits()618 bitmap_sectors = ldev->md.al_offset - ldev->md.bm_offset; in drbd_md_on_disk_bits()988 device->ldev->md.md_offset + device->ldev->md.bm_offset; in bm_page_io_async()
581 s32 bm_offset; /* signed relative sector offset to bitmap */ member1799 return bdev->md.md_offset + bdev->md.bm_offset; in drbd_md_first_sector()1854 - bdev->md.bm_offset)); in drbd_get_max_capacity()
841 bdev->md.bm_offset = MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()847 bdev->md.bm_offset = MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()865 bdev->md.bm_offset = -md_size_sect + MD_4kB_SECT; in drbd_md_set_sector_offsets()936 s32 bm_offset; in drbd_determine_dev_size() member968 prev.bm_offset = md->bm_offset; in drbd_determine_dev_size()1079 md->bm_offset = prev.bm_offset; in drbd_determine_dev_size()