Defined in 1 files as a function:
Referenced in 4 files:
- kernel/sched/core.c, line 10023
- kernel/sched/debug.c, line 891
- kernel/sched/fair.c
- kernel/sched/sched.h, line 2381
Smatch caller information:
kernel/sched/build_utility.c print_cfs_group_stats() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | s32min-(-2),0-s32max |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | tg | $2 |
| DATA_SOURCE | 1 | cpu | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &m->lock |
kernel/sched/fair.c __sched_group_set_shares() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 4096-8148527465910603775,8148527465910603777-ptr_max |
| PARAM_VALUE | 0 | tg->shares | 2048-268435456 |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | tg | $0 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| BIT_INFO | 0 | tg->shares | 0x0,0x1ffffc00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | tg->idle | 0-1 |
| USER_DATA | 0 | tg->shares | 2049-268435455[c] |
| NO_OVERFLOW_SIMPLE | 0 | tg->idle | |
| LOCK2 | global &shares_mutex | ||
| HALF_LOCKED2 | &of->mutex |
kernel/sched/fair.c alloc_fair_sched_group() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 4096-ptr_max |
| PARAM_VALUE | 0 | tg->cfs_rq | 4096-ptr_max |
| PARAM_VALUE | 0 | tg->shares | 1048576 |
| PARAM_VALUE | 1 | cpu | 0-64 |
| BUF_SIZE | 0 | tg->cfs_rq | (-1),576 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | tg | $0 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/sched/fair.c alloc_fair_sched_group() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 1-u64max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | tg | $1 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/sched/fair.c online_fair_sched_group() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 4096-ptr_max |
| PARAM_VALUE | 0 | tg->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| BUF_SIZE | 0 | tg->autogroup | (-1),192 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | tg | $0 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/sched/fair.c sched_group_set_idle() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 4096-8148527465910603775,8148527465910603777-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | tg | $0 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | tg->idle | 0-1 |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &shares_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/sched/fair.c set_task_rq() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 4096-ptr_max |
| DATA_SOURCE | 1 | cpu | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/sched/fair.c unregister_fair_sched_group() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | tg | $0 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | _T->rf.flags |
kernel/sched/core.c cpu_cfs_stat_show() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 0-8148527465910603775,8148527465910603777-u64max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | tg | r css_tg |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sf->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/sched/core.c set_task_rq() -> tg_se()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tg | 4096-ptr_max |
| DATA_SOURCE | 1 | cpu | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |