Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/cgroup/cpuset.c compute_partition_effective_cpumask() -> compute_excpus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->css.cgroup | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->css.cgroup->self.nr_populated_csets | 0-1 |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| DATA_SOURCE | 1 | excpus | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | rcu_read |
kernel/cgroup/cpuset.c remote_partition_disable() -> compute_excpus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->partition_root_state | (-2147483647)-s32max |
| PARAM_VALUE | 0 | cs->remote_partition | 0 |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &callback_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c remote_partition_enable() -> compute_excpus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->css.flags | 2-u32max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/cgroup/cpuset.c update_cpumasks_hier() -> compute_excpus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->remote_partition | 1 |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c update_cpumasks_hier() -> compute_excpus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &callback_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c update_parent_effective_cpumask() -> compute_excpus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->css.flags | 2-u32max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |