Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/cgroup/cgroup.c cgroup_enable_threaded() -> cgroup_can_be_thread_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| PARAM_VALUE | 0 | cgrp->dom_cgrp | 4096-ptr_max |
| PARAM_COMPARE | 0 | cgrp | == $0->dom_cgrp |
| PARAM_COMPARE | 0 | cgrp | == $0->dom_cgrp |
| 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/cgroup/cgroup.c cgroup_migrate_vet_dst() -> cgroup_can_be_thread_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| PARAM_VALUE | 0 | cgrp->dom_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 |
| PARAM_COMPARE | 0 | cgrp->dom_cgrp | == $0->dom_cgrp->dom_cgrp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cgroup.c cgroup_vet_subtree_control_enable() -> cgroup_can_be_thread_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 4096-ptr_max |
| PARAM_VALUE | 0 | cgrp->dom_cgrp | 4096-ptr_max |
| PARAM_VALUE | 0 | cgrp->self.parent | 1-u64max |
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | cgrp | $0 |
| PARAM_COMPARE | 0 | cgrp->dom_cgrp | == $0->dom_cgrp->dom_cgrp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |