Lines Matching defs:new_disk_conf
3663 struct disk_conf *old_disk_conf = NULL, *new_disk_conf = NULL;
3711 new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL);
3712 if (!new_disk_conf) {
3720 *new_disk_conf = *old_disk_conf;
3722 new_disk_conf->resync_rate = be32_to_cpu(p->resync_rate);
3779 if (apv > 94 && new_disk_conf) {
3780 new_disk_conf->c_plan_ahead = be32_to_cpu(p->c_plan_ahead);
3781 new_disk_conf->c_delay_target = be32_to_cpu(p->c_delay_target);
3782 new_disk_conf->c_fill_target = be32_to_cpu(p->c_fill_target);
3783 new_disk_conf->c_max_rate = be32_to_cpu(p->c_max_rate);
3785 fifo_size = (new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ;
3821 if (new_disk_conf) {
3822 rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf);
3841 if (new_disk_conf) {
3843 kfree(new_disk_conf);
3850 if (new_disk_conf) {
3852 kfree(new_disk_conf);
3933 struct disk_conf *old_disk_conf, *new_disk_conf = NULL;
3935 new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL);
3936 if (!new_disk_conf) {
3943 *new_disk_conf = *old_disk_conf;
3944 new_disk_conf->disk_size = p_usize;
3946 rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf);