Lines Matching refs:new_plan
1494 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in drbd_adm_disk_opts() local
1543 new_plan = fifo_alloc(fifo_size); in drbd_adm_disk_opts()
1544 if (!new_plan) { in drbd_adm_disk_opts()
1572 if (new_plan) { in drbd_adm_disk_opts()
1574 rcu_assign_pointer(device->rs_plan_s, new_plan); in drbd_adm_disk_opts()
1614 kfree(new_plan); in drbd_adm_disk_opts()
1720 struct fifo_buffer *new_plan = NULL; in drbd_adm_attach() local
1784 new_plan = fifo_alloc((new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ); in drbd_adm_attach()
1785 if (!new_plan) { in drbd_adm_attach()
1958 device->rs_plan_s = new_plan; in drbd_adm_attach()
1962 new_plan = NULL; in drbd_adm_attach()
2120 kfree(new_plan); in drbd_adm_attach()