Searched refs:bm_offset (Results 1 – 4 of 4) sorted by relevance
3086 u32 bm_offset; /* offset to the bitmap, from here */ member3119 buffer->bm_offset = cpu_to_be32(device->ldev->md.bm_offset); in drbd_md_write()3233 if (in_core->bm_offset > in_core->al_offset) in check_offsets_and_sizes()3236 on_disk_bm_sect = in_core->al_offset - in_core->bm_offset; in check_offsets_and_sizes()3240 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()3243 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()3244 on_disk_bm_sect = in_core->md_size_sect - in_core->bm_offset; in check_offsets_and_sizes()3251 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()3272 if (in_core->bm_offset & 7) in check_offsets_and_sizes()3289 in_core->al_offset, in_core->bm_offset, in_core->md_size_sect, in check_offsets_and_sizes()[all …]
618 bitmap_sectors = ldev->md.md_size_sect - ldev->md.bm_offset; in drbd_md_on_disk_bits()620 bitmap_sectors = ldev->md.al_offset - ldev->md.bm_offset; in drbd_md_on_disk_bits()989 device->ldev->md.md_offset + device->ldev->md.bm_offset; in bm_page_io_async()
839 bdev->md.bm_offset = MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()845 bdev->md.bm_offset = MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()863 bdev->md.bm_offset = -md_size_sect + MD_4kB_SECT; in drbd_md_set_sector_offsets()934 s32 bm_offset; in drbd_determine_dev_size() member966 prev.bm_offset = md->bm_offset; in drbd_determine_dev_size()1077 md->bm_offset = prev.bm_offset; in drbd_determine_dev_size()
582 s32 bm_offset; /* signed relative sector offset to bitmap */ member1834 return bdev->md.md_offset + bdev->md.bm_offset; in drbd_md_first_sector()1890 - bdev->md.bm_offset)); in drbd_get_max_capacity()