Home
last modified time | relevance | path

Searched refs:bm_offset (Results 1 – 4 of 4) sorted by relevance

/drivers/block/drbd/
Ddrbd_main.c2983 u32 bm_offset; /* offset to the bitmap, from here */ member
3016 buffer->bm_offset = cpu_to_be32(device->ldev->md.bm_offset); in drbd_md_write()
3130 if (in_core->bm_offset > in_core->al_offset) in check_offsets_and_sizes()
3133 on_disk_bm_sect = in_core->al_offset - in_core->bm_offset; in check_offsets_and_sizes()
3137 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3140 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()
3141 on_disk_bm_sect = in_core->md_size_sect - in_core->bm_offset; in check_offsets_and_sizes()
3148 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()
3169 if (in_core->bm_offset & 7) in check_offsets_and_sizes()
3186 in_core->al_offset, in_core->bm_offset, in_core->md_size_sect, in check_offsets_and_sizes()
[all …]
Ddrbd_bitmap.c616 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()
Ddrbd_int.h514 s32 bm_offset; /* signed relative sector offset to bitmap */ member
1742 return bdev->md.md_offset + bdev->md.bm_offset; in drbd_md_first_sector()
1797 - bdev->md.bm_offset)); in drbd_get_max_capacity()
Ddrbd_nl.c841 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() member
968 prev.bm_offset = md->bm_offset; in drbd_determine_dev_size()
1079 md->bm_offset = prev.bm_offset; in drbd_determine_dev_size()