Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A Ddrbd_main.c2976 u32 bm_offset; /* offset to the bitmap, from here */ member
3009 buffer->bm_offset = cpu_to_be32(device->ldev->md.bm_offset); in drbd_md_write()
3123 if (in_core->bm_offset > in_core->al_offset) in check_offsets_and_sizes()
3126 on_disk_bm_sect = in_core->al_offset - in_core->bm_offset; in check_offsets_and_sizes()
3130 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3133 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()
3134 on_disk_bm_sect = in_core->md_size_sect - in_core->bm_offset; in check_offsets_and_sizes()
3141 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()
3162 if (in_core->bm_offset & 7) in check_offsets_and_sizes()
3179 in_core->al_offset, in_core->bm_offset, in_core->md_size_sect, in check_offsets_and_sizes()
[all …]
H A 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()
H A Ddrbd_int.h510 s32 bm_offset; /* signed relative sector offset to bitmap */ member
1732 return bdev->md.md_offset + bdev->md.bm_offset; in drbd_md_first_sector()
1787 - bdev->md.bm_offset)); in drbd_get_max_capacity()
H A 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()