Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/sched/core.c cpu_burst_write_u64() -> tg_set_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 tg 4096-ptr_max
PARAM_VALUE 2 quota_us 0-18446744073709551,u64max
DATA_SOURCE 0 tg r css_tg
DATA_SOURCE 3 burst_us $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 burst_us 0-u64max
NO_OVERFLOW_SIMPLE 3 burst_us
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/sched/core.c cpu_max_write() -> tg_set_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 tg 4096-ptr_max
DATA_SOURCE 0 tg r css_tg
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/sched/core.c cpu_period_write_u64() -> tg_set_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 tg 4096-ptr_max
PARAM_VALUE 2 quota_us 0-18446744073709551,u64max
DATA_SOURCE 0 tg r css_tg
DATA_SOURCE 1 period_us $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 period_us 0-u64max
NO_OVERFLOW_SIMPLE 1 period_us
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/sched/core.c cpu_quota_write_s64() -> tg_set_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 tg 4096-ptr_max
PARAM_VALUE 2 quota_us 0-9223372036854775807,u64max
DATA_SOURCE 0 tg r css_tg
DATA_SOURCE 2 quota_us $2 [m]
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 quota_us 0-9223372036854775807
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex