Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/block/drbd/
Ddrbd_int.h572 u64 md_offset; /* sector offset to 'super' block */ member
1834 return bdev->md.md_offset + bdev->md.bm_offset; in drbd_md_first_sector()
1837 return bdev->md.md_offset; in drbd_md_first_sector()
1850 return bdev->md.md_offset + MD_4kB_SECT -1; in drbd_md_last_sector()
1853 return bdev->md.md_offset + bdev->md.md_size_sect -1; in drbd_md_last_sector()
Ddrbd_nl.c832 bdev->md.md_offset = drbd_md_ss(bdev); in drbd_md_set_sector_offsets()
932 u64 md_offset; in drbd_determine_dev_size() member
964 prev.md_offset = md->md_offset; in drbd_determine_dev_size()
1025 md_moved = prev.md_offset != md->md_offset in drbd_determine_dev_size()
1075 md->md_offset = prev.md_offset; in drbd_determine_dev_size()
Ddrbd_main.c3125 D_ASSERT(device, drbd_md_ss(device->ldev) == device->ldev->md.md_offset); in drbd_md_write()
3126 sector = device->ldev->md.md_offset; in drbd_md_write()
3324 bdev->md.md_offset = drbd_md_ss(bdev); in drbd_md_read()
3330 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()
Ddrbd_bitmap.c989 device->ldev->md.md_offset + device->ldev->md.bm_offset; in bm_page_io_async()