Searched refs:SLEEP_TIME (Results 1 – 5 of 5) sorted by relevance
21 #define SLEEP_TIME 10 macro417 schedule_timeout(HZ * SLEEP_TIME); in ring_buffer_producer_thread()
495 want = ((dc->resync_rate * 2 * SLEEP_TIME) / HZ) * steps; in drbd_rs_controller()498 sect_in * dc->c_delay_target * HZ / (SLEEP_TIME * 10); in drbd_rs_controller()516 max_sect = (dc->c_max_rate * 2 * SLEEP_TIME) / HZ; in drbd_rs_controller()541 device->c_sync_rate = number * HZ * (BM_BLOCK_SIZE / 1024) / SLEEP_TIME; in drbd_rs_number_requests()544 number = SLEEP_TIME * device->c_sync_rate / ((BM_BLOCK_SIZE / 1024) * HZ); in drbd_rs_number_requests()728 mod_timer(&device->resync_timer, jiffies + SLEEP_TIME); in make_resync_request()781 mod_timer(&device->resync_timer, jiffies + SLEEP_TIME); in make_ov_request()
1238 #define SLEEP_TIME (HZ/10) macro
1369 fifo_size = (new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ; in drbd_adm_disk_opts()1531 new_plan = fifo_alloc((new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ); in drbd_adm_attach()
3632 fifo_size = (new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ; in receive_SyncParam()