Searched refs:new_plan (Results 1 – 2 of 2) sorted by relevance
1523 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in drbd_adm_disk_opts() local1571 new_plan = fifo_alloc(fifo_size); in drbd_adm_disk_opts()1572 if (!new_plan) { in drbd_adm_disk_opts()1603 if (new_plan) { in drbd_adm_disk_opts()1605 rcu_assign_pointer(device->rs_plan_s, new_plan); in drbd_adm_disk_opts()1646 kfree(new_plan); in drbd_adm_disk_opts()1752 struct fifo_buffer *new_plan = NULL; in drbd_adm_attach() local1816 new_plan = fifo_alloc((new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ); in drbd_adm_attach()1817 if (!new_plan) { in drbd_adm_attach()1981 device->rs_plan_s = new_plan; in drbd_adm_attach()[all …]
3760 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in receive_SyncParam() local3882 new_plan = fifo_alloc(fifo_size); in receive_SyncParam()3883 if (!new_plan) { in receive_SyncParam()3923 if (new_plan) { in receive_SyncParam()3925 rcu_assign_pointer(device->rs_plan_s, new_plan); in receive_SyncParam()3946 kfree(new_plan); in receive_SyncParam()