Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/cgroup/cgroup.c cgroup_attach_task() -> cgroup_migrate_add_src()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | mgctx | 2307247984184967168 |
| PARAM_VALUE | 2 | mgctx->preloaded_dst_csets.next | 2307247984184967184 |
| PARAM_VALUE | 2 | mgctx->preloaded_dst_csets.prev | 2307247984184967184 |
| PARAM_VALUE | 2 | mgctx->preloaded_src_csets.next | 2307247984184967168 |
| PARAM_VALUE | 2 | mgctx->preloaded_src_csets.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | mgctx->ss_mask | 0 |
| PARAM_VALUE | 2 | mgctx->tset.csets | 2307247984184967200 |
| PARAM_VALUE | 2 | mgctx->tset.dst_csets.next | 2307247984184967216 |
| PARAM_VALUE | 2 | mgctx->tset.dst_csets.prev | 2307247984184967216 |
| PARAM_VALUE | 2 | mgctx->tset.src_csets.next | 2307247984184967200 |
| PARAM_VALUE | 2 | mgctx->tset.src_csets.prev | 2307247984184967200 |
| BUF_SIZE | 1 | dst_cgrp | (-1)-0,40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | dst_cgrp | (-1)-0,40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 1 | dst_cgrp | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &cgroup_mutex | ||
| LOCK2 | global &css_set_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &of->mutex |
kernel/cgroup/cgroup.c cgroup_update_dfl_csses() -> cgroup_migrate_add_src()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dst_cgrp | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_cgrp->self.flags | 2-u32max |
| PARAM_VALUE | 2 | mgctx | 5302334252006776832 |
| PARAM_VALUE | 2 | mgctx->preloaded_dst_csets.next | 5302334252006776848 |
| PARAM_VALUE | 2 | mgctx->preloaded_dst_csets.prev | 5302334252006776848 |
| PARAM_VALUE | 2 | mgctx->preloaded_src_csets.next | 5302334252006776832 |
| PARAM_VALUE | 2 | mgctx->preloaded_src_csets.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | mgctx->ss_mask | 0 |
| PARAM_VALUE | 2 | mgctx->tset.csets | 5302334252006776864 |
| PARAM_VALUE | 2 | mgctx->tset.dst_csets.next | 5302334252006776880 |
| PARAM_VALUE | 2 | mgctx->tset.dst_csets.prev | 5302334252006776880 |
| PARAM_VALUE | 2 | mgctx->tset.src_csets.next | 5302334252006776864 |
| PARAM_VALUE | 2 | mgctx->tset.src_csets.prev | 5302334252006776864 |
| CAPPED_DATA | 1 | &dst_cgrp->cset_links | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &css_set_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
kernel/cgroup/cgroup-v1.c cgroup_transfer_tasks() -> cgroup_migrate_add_src()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dst_cgrp | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_cgrp->root | 0-2991924345913806847,2991924345913806849-u64max |
| PARAM_VALUE | 2 | mgctx | 8152285563156688896 |
| PARAM_VALUE | 2 | mgctx->preloaded_dst_csets.next | 8152285563156688912 |
| PARAM_VALUE | 2 | mgctx->preloaded_dst_csets.prev | 8152285563156688912 |
| PARAM_VALUE | 2 | mgctx->preloaded_src_csets.next | 8152285563156688896 |
| PARAM_VALUE | 2 | mgctx->preloaded_src_csets.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | mgctx->ss_mask | 0 |
| PARAM_VALUE | 2 | mgctx->tset.csets | 8152285563156688928 |
| PARAM_VALUE | 2 | mgctx->tset.dst_csets.next | 8152285563156688944 |
| PARAM_VALUE | 2 | mgctx->tset.dst_csets.prev | 8152285563156688944 |
| PARAM_VALUE | 2 | mgctx->tset.src_csets.next | 8152285563156688928 |
| PARAM_VALUE | 2 | mgctx->tset.src_csets.prev | 8152285563156688928 |
| CAPPED_DATA | 1 | dst_cgrp | 1 |
| DATA_SOURCE | 1 | dst_cgrp | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | global &cgroup_mutex | ||
| LOCK2 | global &css_set_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock |