Home
last modified time | relevance | path

Searched refs:drbd_get_capacity (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/block/drbd/
Ddrbd_int.h1766 static inline sector_t drbd_get_capacity(struct block_device *bdev) in drbd_get_capacity() function
1786 s = drbd_get_capacity(bdev->backing_bdev) in drbd_get_max_capacity()
1793 drbd_get_capacity(bdev->backing_bdev)); in drbd_get_max_capacity()
1801 drbd_get_capacity(bdev->backing_bdev)); in drbd_get_max_capacity()
1821 return (drbd_get_capacity(bdev->backing_bdev) & ~7ULL) - 8; in drbd_md_ss()
Ddrbd_nl.c845 bdev->md.md_size_sect = drbd_get_capacity(bdev->md_bdev); in drbd_md_set_sector_offsets()
854 md_size_sect = drbd_get_capacity(bdev->backing_bdev); in drbd_md_set_sector_offsets()
1867 if (drbd_get_capacity(nbc->md_bdev) < min_md_device_sectors) { in drbd_adm_attach()
1882 nbc->known_size = drbd_get_capacity(nbc->backing_bdev); in drbd_adm_attach()
2862 if (device->ldev->known_size != drbd_get_capacity(device->ldev->backing_bdev)) in drbd_adm_resize()
2863 device->ldev->known_size = drbd_get_capacity(device->ldev->backing_bdev); in drbd_adm_resize()
Ddrbd_receiver.c4201 if (device->ldev->known_size != drbd_get_capacity(device->ldev->backing_bdev)) { in receive_sizes()
4202 device->ldev->known_size = drbd_get_capacity(device->ldev->backing_bdev); in receive_sizes()
Ddrbd_main.c3116 sector_t capacity = drbd_get_capacity(bdev->md_bdev); in check_offsets_and_sizes()