Searched refs:ratelimit_calculate_delay (Results 1 – 4 of 4) sorted by relevance
40 static inline int64_t ratelimit_calculate_delay(RateLimit *limit, uint64_t n) in ratelimit_calculate_delay() function
338 ratelimit_calculate_delay(&job->limit, n); in block_job_ratelimit_processed_bytes()354 delay_ns = ratelimit_calculate_delay(&job->limit, 0); in block_job_ratelimit_sleep()
789 uint64_t ns = ratelimit_calculate_delay(&s->rate_limit, 0); in block_copy_dirty_clusters()799 ratelimit_calculate_delay(&s->rate_limit, task->req.bytes); in block_copy_dirty_clusters()
5365 uint64_t delay_ns = ratelimit_calculate_delay(&bus_lock_ratelimit_ctrl, 1); in kvm_rate_limit_on_bus_lock()