Home
last modified time | relevance | path

Searched refs:SLEEP_TIME (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/kernel/trace/
Dring_buffer_benchmark.c21 #define SLEEP_TIME 10 macro
417 schedule_timeout(HZ * SLEEP_TIME); in ring_buffer_producer_thread()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_worker.c495 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()
Ddrbd_int.h1238 #define SLEEP_TIME (HZ/10) macro
Ddrbd_nl.c1369 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()
Ddrbd_receiver.c3632 fifo_size = (new_disk_conf->c_plan_ahead * 10 * SLEEP_TIME) / HZ; in receive_SyncParam()