Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/cgroup/cpuset.c compute_partition_effective_cpumask() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c cpuset_attach() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cpuset.c cpuset_can_attach() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cpuset.c cpuset_can_fork() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cpuset.c cpuset_cancel_fork() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/cgroup/cpuset.c cpuset_common_seq_show() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | css | (-1),392 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sf->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/cgroup/cpuset.c cpuset_css_free() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| CAPPED_DATA | 0 | css | 1 |
| DATA_SOURCE | 0 | css | $0 |
| HALF_LOCKED2 | &pool->lock |
kernel/cgroup/cpuset.c cpuset_css_killed() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| DATA_SOURCE | 0 | css | $0 |
| BIT_INFO | 0 | css->flags | 0x0,0xffffffef |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cpuset.c cpuset_css_offline() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| DATA_SOURCE | 0 | css | $0 |
| LOCK2 | global &cgroup_mutex | ||
| HALF_LOCKED2 | &pool->lock |
kernel/cgroup/cpuset.c cpuset_css_online() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | 392 |
| CAPPED_DATA | 0 | css | 1 |
| CAPPED_DATA | 0 | css->id | 1 |
| DATA_SOURCE | 0 | css | $0 |
| MEM_ZERO | 0 | css | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cpuset.c cpuset_handle_hotplug() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| CAPPED_DATA | 0 | css | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
kernel/cgroup/cpuset.c cpuset_num_cpus() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
kernel/cgroup/cpuset.c cpuset_partition_show() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | css | (-1),392 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/cgroup/cpuset.c cpuset_partition_write() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | css | (-1),392 |
| 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/cpuset.c cpuset_write_resmask() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | css | (-1),392 |
| 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/cpuset.c dl_rebuild_rd_accounting() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| CAPPED_DATA | 0 | css | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | css->refcnt.percpu_count_ptr | |
| LOCK2 | global &sched_domains_mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c generate_sched_domains() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| CAPPED_DATA | 0 | css | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | css->refcnt.percpu_count_ptr | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c parent_cs() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &callback_lock | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
kernel/cgroup/cpuset.c partition_is_populated() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| CAPPED_DATA | 0 | css | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | css->refcnt.percpu_count_ptr | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &cpuset_mutex |
kernel/cgroup/cpuset.c rm_siblings_excl_cpus() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| PREEMPT_ADD | |||
| 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 task_cs() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &callback_lock | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | rcu_read |
kernel/cgroup/cpuset.c update_cpumasks_hier() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| CAPPED_DATA | 0 | css | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | css->refcnt.percpu_count_ptr | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset.c update_nodemasks_hier() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| CAPPED_DATA | 0 | css | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | css->refcnt.percpu_count_ptr | |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/cgroup/cpuset.c update_parent_effective_cpumask() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| 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_sibling_cpumasks() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| 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 validate_change() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset-v1.c cpuset1_generate_sched_domains() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| CAPPED_DATA | 0 | css | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | css->refcnt.percpu_count_ptr | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset-v1.c cpuset1_online_css() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| CAPPED_DATA | 0 | css->id | 1 |
| DATA_SOURCE | 0 | css | $0 |
| MEM_ZERO | 0 | css | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cpuset-v1.c cpuset1_online_css() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/cpuset-v1.c cpuset1_validate_change() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset-v1.c cpuset_read_s64() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| DATA_SOURCE | 0 | css | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/cgroup/cpuset-v1.c cpuset_read_u64() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| DATA_SOURCE | 0 | css | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/cgroup/cpuset-v1.c cpuset_write_s64() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| DATA_SOURCE | 0 | css | $0 |
| 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/cpuset-v1.c cpuset_write_u64() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| DATA_SOURCE | 0 | css | $0 |
| 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/cpuset-v1.c parent_cs() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | rcu_read |
kernel/cgroup/cpuset-v1.c task_cs() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
kernel/cgroup/cpuset-v1.c update_domain_attr_tree() -> css_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | css | 4096-ptr_max |
| BUF_SIZE | 0 | css | (-1),392 |
| BUF_SIZE | 0 | css | (-1),392 |
| CAPPED_DATA | 0 | css | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | css->refcnt.percpu_count_ptr | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |