Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/cgroup/cpuset.c compute_partition_effective_cpumask() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c cpuset_css_killed() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cpuset.c cpuset_hotplug_update_tasks() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-2371988510885339135,2371988510885339137-ptr_max |
| PARAM_VALUE | 0 | cs->partition_root_state | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c cpuset_hotplug_update_tasks() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r parent_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c cpuset_hotplug_update_tasks() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r parent_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c cpuset_hotplug_update_tasks() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r parent_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c cpuset_hotplug_update_tasks() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-2371988510885339135,2371988510885339137-ptr_max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c generate_sched_domains() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c hotplug_update_tasks() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-2371988510885339135,2371988510885339137-ptr_max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c is_local_partition() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-2371988510885339135,2371988510885339137-ptr_max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c notify_partition_change() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | rcu_read |
kernel/cgroup/cpuset.c partition_is_populated() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c update_cpumask() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-2371988510885339135,2371988510885339137-ptr_max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &callback_lock | ||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/cgroup/cpuset.c update_cpumasks_hier() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cs | r parent_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c update_cpumasks_hier() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c update_exclusive_cpumask() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-2371988510885339135,2371988510885339137-ptr_max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &callback_lock | ||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/cgroup/cpuset.c update_exclusive_cpumask() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-2371988510885339135,2371988510885339137-ptr_max |
| 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 |
kernel/cgroup/cpuset.c update_parent_effective_cpumask() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r parent_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c update_parent_effective_cpumask() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r parent_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c update_parent_effective_cpumask() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | &of->mutex |
kernel/cgroup/cpuset.c update_parent_effective_cpumask() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->partition_root_state | s32min-(-1),1-s32max |
| 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 |
kernel/cgroup/cpuset.c update_parent_effective_cpumask() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c update_prstate() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cs | r parent_cs |
| 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 |
kernel/cgroup/cpuset.c update_prstate() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->partition_root_state | (-2)-2 |
| CAPPED_DATA | 0 | cs | 1 |
| CAPPED_DATA | 0 | cs->partition_root_state | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &callback_lock | ||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &of->mutex |
kernel/cgroup/cpuset.c update_sibling_cpumasks() -> is_partition_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | r css_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |