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

/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_nl.c1320 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; drbd_adm_disk_opts() local
1371 new_plan = fifo_alloc(fifo_size); drbd_adm_disk_opts()
1372 if (!new_plan) { drbd_adm_disk_opts()
1403 if (new_plan) { drbd_adm_disk_opts()
1405 rcu_assign_pointer(device->rs_plan_s, new_plan); drbd_adm_disk_opts()
1442 kfree(new_plan); drbd_adm_disk_opts()
1467 struct fifo_buffer *new_plan = NULL; drbd_adm_attach() local
1531 new_plan = fifo_alloc((new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ); drbd_adm_attach()
1532 if (!new_plan) { drbd_adm_attach()
1724 device->rs_plan_s = new_plan; drbd_adm_attach()
1728 new_plan = NULL; drbd_adm_attach()
1888 kfree(new_plan); drbd_adm_attach()
H A Ddrbd_receiver.c3511 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; receive_SyncParam() local
3633 new_plan = fifo_alloc(fifo_size); receive_SyncParam()
3634 if (!new_plan) { receive_SyncParam()
3674 if (new_plan) { receive_SyncParam()
3676 rcu_assign_pointer(device->rs_plan_s, new_plan); receive_SyncParam()
3697 kfree(new_plan); receive_SyncParam()

Completed in 133 milliseconds