Searched refs:bm_offset (Results 1 – 4 of 4) sorted by relevance
2971 u32 bm_offset; /* offset to the bitmap, from here */ member3004 buffer->bm_offset = cpu_to_be32(device->ldev->md.bm_offset); in drbd_md_write()3118 if (in_core->bm_offset > in_core->al_offset) in check_offsets_and_sizes()3121 on_disk_bm_sect = in_core->al_offset - in_core->bm_offset; in check_offsets_and_sizes()3125 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()3128 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()3129 on_disk_bm_sect = in_core->md_size_sect - in_core->bm_offset; in check_offsets_and_sizes()3136 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()3157 if (in_core->bm_offset & 7) in check_offsets_and_sizes()3174 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()1002 first_bm_sect = 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 */ member1797 return bdev->md.md_offset + bdev->md.bm_offset; in drbd_md_first_sector()1852 - 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()