Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- kernel/cgroup/cgroup-v1.c, line 112
- kernel/cgroup/cgroup.c
- kernel/sched/ext/ext.c, line 4670
- kernel/sched/ext/sub.c, line 2124
Smatch caller information:
kernel/cgroup/cgroup.c cgroup_addrm_files() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cgrp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c cgroup_addrm_files() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cgrp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c cgroup_control() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| PARAM_VALUE | 0 | cgrp->root | 4096-ptr_max |
| BUF_SIZE | 0 | cgrp | (-1),40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | cgrp | (-1),40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | cgrp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &seq->lock |
kernel/cgroup/cgroup.c cgroup_create() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| BUF_SIZE | 0 | cgrp | 8192-u64max |
| BUF_SIZE | 0 | cgrp | 8192-u64max |
| BUF_SIZE | 0 | cgrp->self.parent | 392 |
| CAPPED_DATA | 0 | &cgrp->self | 1 |
| DATA_SOURCE | 0 | cgrp | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cgroup_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
kernel/cgroup/cgroup.c cgroup_file_name() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| PARAM_VALUE | 0 | cgrp->root | 4096-ptr_max |
| DATA_SOURCE | 0 | cgrp | $0 |
| BIT_INFO | 0 | cgrp->root->flags | 0x0,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c cgroup_get_from_fd() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 0-ptr_max |
| DATA_SOURCE | 0 | cgrp | r cgroup_v1v2_get_from_fd |
kernel/cgroup/cgroup.c cgroup_get_from_file() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 0-ptr_max |
| DATA_SOURCE | 0 | cgrp | r cgroup_v1v2_get_from_file |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c cgroup_migrate_vet_dst() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| BUF_SIZE | 0 | cgrp | (-1),40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | cgrp | (-1),40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 0 | cgrp->root | 1 |
| DATA_SOURCE | 0 | cgrp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c compare_css_sets() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| CAPPED_DATA | 0 | cgrp | 1 |
| DATA_SOURCE | 0 | cgrp | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &css_set_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c css_clear_dir() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c css_free_rwork_fn() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| PARAM_VALUE | 0 | cgrp->root | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
kernel/cgroup/cgroup.c css_populate_dir() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c css_visible() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| PARAM_VALUE | 0 | cgrp->root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/cgroup/cgroup.c link_css_set() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| BUF_SIZE | 0 | cgrp | (-1),8192 |
| BUF_SIZE | 0 | cgrp | (-1),8192 |
| DATA_SOURCE | 0 | cgrp | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &css_set_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c proc_cgroup_show() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 1-u64max |
| BUF_SIZE | 0 | cgrp | (-1)-0,8192 |
| BUF_SIZE | 0 | cgrp | (-1)-0,8192 |
| DATA_SOURCE | 0 | cgrp | r task_cgroup_from_root |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &css_set_lock | ||
| LOCK2 | irq | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/cgroup/cgroup.c proc_cgroup_show() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| BUF_SIZE | 0 | cgrp | (-1)-0,8192 |
| BUF_SIZE | 0 | cgrp | (-1)-0,8192 |
| DATA_SOURCE | 0 | cgrp | r task_cgroup_from_root |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &css_set_lock | ||
| LOCK2 | irq | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/cgroup/cgroup-v1.c cgroup_transfer_tasks() -> cgroup_on_dfl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cgrp | $0 |
| HALF_LOCKED2 | &pool->lock |