Lines Matching refs:ts

74     ThrottleState ts;  member
142 return &tg->ts; in throttle_group_incref()
155 void throttle_group_unref(ThrottleState *ts) in throttle_group_unref() argument
157 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_unref()
169 ThrottleGroup *tg = container_of(tgm->throttle_state, ThrottleGroup, ts); in throttle_group_get_name()
183 ThrottleState *ts = tgm->throttle_state; in throttle_group_next_tgm() local
184 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_next_tgm()
222 ThrottleState *ts = tgm->throttle_state; in next_throttle_token() local
223 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in next_throttle_token()
270 ThrottleState *ts = tgm->throttle_state; in throttle_group_schedule_timer() local
271 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_schedule_timer()
284 must_wait = throttle_schedule_timer(ts, tt, direction); in throttle_group_schedule_timer()
323 ThrottleState *ts = tgm->throttle_state; in schedule_next_request() local
324 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in schedule_next_request()
367 ThrottleGroup *tg = container_of(tgm->throttle_state, ThrottleGroup, ts); in throttle_group_co_io_limits_intercept()
408 ThrottleState *ts = tgm->throttle_state; in throttle_group_restart_queue_entry() local
409 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_restart_queue_entry()
477 ThrottleState *ts = tgm->throttle_state; in throttle_group_config() local
478 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_config()
480 throttle_config(ts, tg->clock_type, cfg); in throttle_group_config()
495 ThrottleState *ts = tgm->throttle_state; in throttle_group_get_config() local
496 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_get_config()
498 throttle_get_config(ts, cfg); in throttle_group_get_config()
510 ThrottleState *ts = tgm->throttle_state; in timer_cb() local
511 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in timer_cb()
548 ThrottleState *ts = throttle_group_incref(groupname); in throttle_group_register_tgm() local
549 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_register_tgm()
551 tgm->throttle_state = ts; in throttle_group_register_tgm()
587 ThrottleState *ts = tgm->throttle_state; in throttle_group_unregister_tgm() local
588 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_unregister_tgm()
592 if (!ts) { in throttle_group_unregister_tgm()
620 throttle_group_unref(&tg->ts); in throttle_group_unregister_tgm()
634 ThrottleGroup *tg = container_of(tgm->throttle_state, ThrottleGroup, ts); in throttle_group_detach_aio_context()
765 throttle_init(&tg->ts); in throttle_group_obj_init()
790 throttle_get_config(&tg->ts, &cfg); in throttle_group_obj_complete()
794 throttle_config(&tg->ts, tg->clock_type, &cfg); in throttle_group_obj_complete()
837 cfg = &tg->ts.cfg; in throttle_group_set()
867 throttle_get_config(&tg->ts, &cfg); in throttle_group_get()
900 throttle_get_config(&tg->ts, &cfg); in throttle_group_set_limits()
905 throttle_config(&tg->ts, tg->clock_type, &cfg); in throttle_group_set_limits()
924 throttle_get_config(&tg->ts, &cfg); in throttle_group_get_limits()