Lines Matching refs:u_size
940 sector_t u_size, size; in drbd_determine_dev_size() local
981 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_determine_dev_size()
983 size = drbd_new_dev_size(device, device->ldev, u_size, flags & DDSF_FORCED); in drbd_determine_dev_size()
986 if (rs && u_size == 0) { in drbd_determine_dev_size()
994 if (u_size > size) in drbd_determine_dev_size()
1093 sector_t u_size, int assume_peer_has_space) in drbd_new_dev_size() argument
1127 if (u_size) { in drbd_new_dev_size()
1128 if (u_size > size) in drbd_new_dev_size()
1130 (unsigned long)u_size>>1, (unsigned long)size>>1); in drbd_new_dev_size()
1132 size = u_size; in drbd_new_dev_size()
2847 sector_t u_size; in drbd_adm_resize() local
2892 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_adm_resize()
2894 if (u_size != (sector_t)rs.resize_size) { in drbd_adm_resize()