Searched refs:new_plan (Results 1 – 2 of 2) sorted by relevance
1571 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in drbd_adm_disk_opts() local1620 new_plan = fifo_alloc(fifo_size); in drbd_adm_disk_opts()1621 if (!new_plan) { in drbd_adm_disk_opts()1649 if (new_plan) { in drbd_adm_disk_opts()1651 rcu_assign_pointer(device->rs_plan_s, new_plan); in drbd_adm_disk_opts()1692 kfree(new_plan); in drbd_adm_disk_opts()1798 struct fifo_buffer *new_plan = NULL; in drbd_adm_attach() local1862 new_plan = fifo_alloc((new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ); in drbd_adm_attach()1863 if (!new_plan) { in drbd_adm_attach()2036 device->rs_plan_s = new_plan; in drbd_adm_attach()[all …]
3890 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in receive_SyncParam() local4012 new_plan = fifo_alloc(fifo_size); in receive_SyncParam()4013 if (!new_plan) { in receive_SyncParam()4053 if (new_plan) { in receive_SyncParam()4055 rcu_assign_pointer(device->rs_plan_s, new_plan); in receive_SyncParam()4076 kfree(new_plan); in receive_SyncParam()