Lines Matching refs:disk_conf
1429 struct disk_conf *dc; in max_allowed_wo()
1431 dc = rcu_dereference(bdev->disk_conf); in max_allowed_wo()
1579 struct disk_conf *dc; in can_do_reliable_discards()
1586 dc = rcu_dereference(device->ldev->disk_conf); in can_do_reliable_discards()
2797 c_min_rate = rcu_dereference(device->ldev->disk_conf)->c_min_rate; in drbd_rs_c_min_rate_throttle()
3887 struct disk_conf *old_disk_conf = NULL, *new_disk_conf = NULL; in receive_SyncParam()
3934 new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); in receive_SyncParam()
3942 old_disk_conf = device->ldev->disk_conf; in receive_SyncParam()
4048 rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); in receive_SyncParam()
4131 my_usize = rcu_dereference(device->ldev->disk_conf)->disk_size; in receive_sizes()
4159 struct disk_conf *old_disk_conf, *new_disk_conf = NULL; in receive_sizes()
4161 new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); in receive_sizes()
4169 old_disk_conf = device->ldev->disk_conf; in receive_sizes()
4173 rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); in receive_sizes()