Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_nl.c923 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_determine_dev_size()
1615 if (drbd_get_max_capacity(nbc) < new_disk_conf->disk_size) { in drbd_adm_attach()
1618 (unsigned long long) new_disk_conf->disk_size); in drbd_adm_attach()
1704 drbd_new_dev_size(device, nbc, nbc->disk_conf->disk_size, 0) < nbc->md.la_size_sect) { in drbd_adm_attach()
2544 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_adm_resize()
2583 new_disk_conf->disk_size = (sector_t)rs.resize_size; in drbd_adm_resize()
Ddrbd_receiver.c3750 my_usize = rcu_dereference(device->ldev->disk_conf)->disk_size; in receive_sizes()
3788 new_disk_conf->disk_size = p_usize; in receive_sizes()
Ddrbd_main.c935 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_send_sizes()
/drivers/block/
DDAC960.c62 static long disk_size(DAC960_Controller_T *p, int drive_nr) in disk_size() function
159 set_capacity(disk, disk_size(p, unit)); in DAC960_revalidate_disk()
2591 set_capacity(Controller->disks[disk], disk_size(Controller, disk)); in DAC960_ComputeGenericDiskInfo()
3177 set_capacity(Controller->disks[disk], disk_size(Controller, disk)); in DAC960_Probe()