Searched refs:al_offset (Results 1 – 5 of 5) sorted by relevance
2968 u32 al_offset; /* offset to this block */ member2999 buffer->al_offset = cpu_to_be32(device->ldev->md.al_offset); in drbd_md_write()3117 if (in_core->al_offset < 0) { in check_offsets_and_sizes()3118 if (in_core->bm_offset > in_core->al_offset) in check_offsets_and_sizes()3120 on_disk_al_sect = -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()3123 if (in_core->al_offset != MD_4kB_SECT) 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()3135 || in_core->al_offset != MD_4kB_SECT in check_offsets_and_sizes()3174 in_core->al_offset, in_core->bm_offset, in_core->md_size_sect, in check_offsets_and_sizes()[all …]
615 if (ldev->md.al_offset == 8) in drbd_md_on_disk_bits()618 bitmap_sectors = ldev->md.al_offset - ldev->md.bm_offset; in drbd_md_on_disk_bits()983 return bdev->md.md_offset + bdev->md.al_offset -1; in drbd_md_last_bitmap_sector()
840 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()846 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()852 bdev->md.al_offset = -al_size_sect; in drbd_md_set_sector_offsets()935 s32 al_offset; in drbd_determine_dev_size() member967 prev.al_offset = md->al_offset; in drbd_determine_dev_size()1078 md->al_offset = prev.al_offset; in drbd_determine_dev_size()
313 return device->ldev->md.md_offset + device->ldev->md.al_offset + t; in al_tr_number_to_on_disk_sector()
580 s32 al_offset; /* signed relative sector offset to activity log */ member