Home
last modified time | relevance | path

Searched refs:md_offset (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/block/drbd/
Ddrbd_int.h500 u64 md_offset; /* sector offset to 'super' block */ member
1732 return bdev->md.md_offset + bdev->md.bm_offset; in drbd_md_first_sector()
1735 return bdev->md.md_offset; in drbd_md_first_sector()
1748 return bdev->md.md_offset + MD_4kB_SECT -1; in drbd_md_last_sector()
1751 return bdev->md.md_offset + bdev->md.md_size_sect -1; in drbd_md_last_sector()
Ddrbd_bitmap.c983 return bdev->md.md_offset + bdev->md.al_offset -1; in drbd_md_last_bitmap_sector()
986 return bdev->md.md_offset + bdev->md.md_size_sect -1; in drbd_md_last_bitmap_sector()
1002 first_bm_sect = device->ldev->md.md_offset + device->ldev->md.bm_offset; in bm_page_io_async()
Ddrbd_nl.c834 bdev->md.md_offset = drbd_md_ss(bdev); in drbd_md_set_sector_offsets()
934 u64 md_offset; in drbd_determine_dev_size() member
966 prev.md_offset = md->md_offset; in drbd_determine_dev_size()
1027 md_moved = prev.md_offset != md->md_offset in drbd_determine_dev_size()
1077 md->md_offset = prev.md_offset; in drbd_determine_dev_size()
Ddrbd_main.c3015 D_ASSERT(device, drbd_md_ss(device->ldev) == device->ldev->md.md_offset); in drbd_md_write()
3016 sector = device->ldev->md.md_offset; in drbd_md_write()
3214 bdev->md.md_offset = drbd_md_ss(bdev); in drbd_md_read()
3220 if (drbd_md_sync_page_io(device, bdev, bdev->md.md_offset, in drbd_md_read()
Ddrbd_actlog.c313 return device->ldev->md.md_offset + device->ldev->md.al_offset + t; in al_tr_number_to_on_disk_sector()