Lines Matching refs:new_plan
1500 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in drbd_adm_disk_opts() local
1549 new_plan = fifo_alloc(fifo_size); in drbd_adm_disk_opts()
1550 if (!new_plan) { in drbd_adm_disk_opts()
1578 if (new_plan) { in drbd_adm_disk_opts()
1580 rcu_assign_pointer(device->rs_plan_s, new_plan); in drbd_adm_disk_opts()
1620 kfree(new_plan); in drbd_adm_disk_opts()
1730 struct fifo_buffer *new_plan = NULL; in drbd_adm_attach() local
1794 new_plan = fifo_alloc((new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ); in drbd_adm_attach()
1795 if (!new_plan) { in drbd_adm_attach()
1968 device->rs_plan_s = new_plan; in drbd_adm_attach()
1972 new_plan = NULL; in drbd_adm_attach()
2133 kfree(new_plan); in drbd_adm_attach()