Home
last modified time | relevance | path

Searched refs:new_plan (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/block/drbd/
Ddrbd_nl.c1508 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in drbd_adm_disk_opts() local
1557 new_plan = fifo_alloc(fifo_size); in drbd_adm_disk_opts()
1558 if (!new_plan) { in drbd_adm_disk_opts()
1586 if (new_plan) { in drbd_adm_disk_opts()
1588 rcu_assign_pointer(device->rs_plan_s, new_plan); in drbd_adm_disk_opts()
1628 kfree(new_plan); in drbd_adm_disk_opts()
1737 struct fifo_buffer *new_plan = NULL; in drbd_adm_attach() local
1801 new_plan = fifo_alloc((new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ); in drbd_adm_attach()
1802 if (!new_plan) { in drbd_adm_attach()
1975 device->rs_plan_s = new_plan; in drbd_adm_attach()
[all …]
Ddrbd_receiver.c3849 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in receive_SyncParam() local
3971 new_plan = fifo_alloc(fifo_size); in receive_SyncParam()
3972 if (!new_plan) { in receive_SyncParam()
4010 if (new_plan) { in receive_SyncParam()
4012 rcu_assign_pointer(device->rs_plan_s, new_plan); in receive_SyncParam()
4033 kfree(new_plan); in receive_SyncParam()