Searched refs:drbd_get_max_capacity (Results 1 – 4 of 4) sorted by relevance
1102 m_size = drbd_get_max_capacity(bdev); in drbd_new_dev_size()1833 if (drbd_get_max_capacity(nbc) < new_disk_conf->disk_size) { in drbd_adm_attach()1835 (unsigned long long) drbd_get_max_capacity(nbc), in drbd_adm_attach()1860 if (drbd_get_max_capacity(nbc) < get_capacity(device->vdisk)) { in drbd_adm_attach()
1834 static inline sector_t drbd_get_max_capacity(struct drbd_backing_dev *bdev) in drbd_get_max_capacity() function
930 d_size = drbd_get_max_capacity(device->ldev); in drbd_send_sizes()
4078 p_size, drbd_get_max_capacity(device->ldev)); in receive_sizes()