Lines Matching refs:bm_offset
2971 u32 bm_offset; /* offset to the bitmap, from here */ member
3004 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()
3259 bdev->md.bm_offset = be32_to_cpu(buffer->bm_offset); in drbd_md_read()
3266 if (be32_to_cpu(buffer->bm_offset) != bdev->md.bm_offset) { in drbd_md_read()
3268 be32_to_cpu(buffer->bm_offset), bdev->md.bm_offset); in drbd_md_read()