Defined in 1 files as a prototype:
Defined in 3 files as a function:
- include/linux/cgroup.h, line 829 (as a function)
- kernel/cgroup/cgroup.c, line 4231 (as a function)
- kernel/cgroup/cgroup.c, line 4240 (as a function)
Referenced in 2 files:
Smatch caller information:
kernel/sched/build_utility.c psi_init() -> cgroup_psi_enabled()
| Type | Parameter | Key | Value |
|---|
kernel/cgroup/cgroup.c css_clear_dir() -> cgroup_psi_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c css_populate_dir() -> cgroup_psi_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c delegate_show() -> cgroup_psi_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |