Searched refs:ThrottleState (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/include/qemu/ |
H A D | throttle.h | 97 typedef struct ThrottleState { struct 100 } ThrottleState; argument 123 void throttle_init(ThrottleState *ts); 146 void throttle_config(ThrottleState *ts, 150 void throttle_get_config(ThrottleState *ts, ThrottleConfig *cfg); 155 bool throttle_schedule_timer(ThrottleState *ts, 159 void throttle_account(ThrottleState *ts, ThrottleDirection direction,
|
/openbmc/qemu/include/block/ |
H A D | throttle-groups.h | 55 ThrottleState *throttle_state; 67 ThrottleState *throttle_group_incref(const char *name); 68 void throttle_group_unref(ThrottleState *ts);
|
/openbmc/qemu/block/ |
H A D | throttle-groups.c | 74 ThrottleState ts; 155 void throttle_group_unref(ThrottleState *ts) in throttle_group_unref() 183 ThrottleState *ts = tgm->throttle_state; in throttle_group_next_tgm() 222 ThrottleState *ts = tgm->throttle_state; in next_throttle_token() 270 ThrottleState *ts = tgm->throttle_state; in throttle_group_schedule_timer() 323 ThrottleState *ts = tgm->throttle_state; in schedule_next_request() 408 ThrottleState *ts = tgm->throttle_state; in throttle_group_restart_queue_entry() 477 ThrottleState *ts = tgm->throttle_state; in throttle_group_config() 495 ThrottleState *ts = tgm->throttle_state; in throttle_group_get_config() 510 ThrottleState *ts = tgm->throttle_state; in timer_cb() [all …]
|
/openbmc/qemu/util/ |
H A D | throttle.c | 59 static void throttle_do_leak(ThrottleState *ts, int64_t now) in throttle_do_leak() 142 static int64_t throttle_compute_wait_for(ThrottleState *ts, in throttle_compute_wait_for() 175 static bool throttle_compute_timer(ThrottleState *ts, in throttle_compute_timer() 228 void throttle_init(ThrottleState *ts) in throttle_init() 230 memset(ts, 0, sizeof(ThrottleState)); in throttle_init() 396 void throttle_config(ThrottleState *ts, in throttle_config() 418 void throttle_get_config(ThrottleState *ts, ThrottleConfig *cfg) in throttle_get_config() 432 bool throttle_schedule_timer(ThrottleState *ts, in throttle_schedule_timer() 470 void throttle_account(ThrottleState *ts, ThrottleDirection direction, in throttle_account()
|
/openbmc/qemu/fsdev/ |
H A D | qemu-fsdev-throttle.h | 23 ThrottleState ts;
|
/openbmc/qemu/include/sysemu/ |
H A D | cryptodev.h | 279 ThrottleState ts;
|
/openbmc/qemu/tests/unit/ |
H A D | test-throttle.c | 30 static ThrottleState ts;
|