Lines Matching refs:bm_offset
3114 u32 bm_offset; /* offset to the bitmap, from here */ member
3147 buffer->bm_offset = cpu_to_be32(device->ldev->md.bm_offset); in drbd_md_write()
3261 if (in_core->bm_offset > in_core->al_offset) in check_offsets_and_sizes()
3264 on_disk_bm_sect = in_core->al_offset - in_core->bm_offset; in check_offsets_and_sizes()
3268 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3271 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()
3272 on_disk_bm_sect = in_core->md_size_sect - in_core->bm_offset; in check_offsets_and_sizes()
3279 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()
3300 if (in_core->bm_offset & 7) in check_offsets_and_sizes()
3317 in_core->al_offset, in_core->bm_offset, in_core->md_size_sect, in check_offsets_and_sizes()
3402 bdev->md.bm_offset = be32_to_cpu(buffer->bm_offset); in drbd_md_read()
3409 if (be32_to_cpu(buffer->bm_offset) != bdev->md.bm_offset) { in drbd_md_read()
3411 be32_to_cpu(buffer->bm_offset), bdev->md.bm_offset); in drbd_md_read()