Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/cgroup/cpuset.c cpuset_css_offline() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 4 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 2 | turning_on | 0 |
| DATA_SOURCE | 1 | cs | r css_cs |
| NOCHECK_CALL | |||
| LOCK2 | global &cgroup_mutex | ||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | &pool->lock |
kernel/cgroup/cpuset.c update_partition_exclusive_flag() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 0 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.ss->bind | 0,5398039129788481536 |
| PARAM_VALUE | 1 | cs->css.ss->can_fork | 0,5638613885127380992,6961295853237211136 |
| PARAM_VALUE | 1 | cs->css.ss->exit | 0,7702225149594865664,8372473530682335232 |
| PARAM_VALUE | 1 | cs->css.ss->fork | 0,4540472734013444096,7578242414286561280,8835910921598877696 |
| PARAM_VALUE | 1 | cs->css.ss->release | 0,1980470231377797120 |
| PARAM_VALUE | 2 | turning_on | 1 |
| CAPPED_DATA | 1 | cs | 1 |
| DATA_SOURCE | 1 | 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_partition_exclusive_flag() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 0 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.ss->bind | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.ss->can_fork | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.ss->exit | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.ss->fork | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.ss->release | 0,4096-ptr_max |
| PARAM_VALUE | 2 | turning_on | 0 |
| CAPPED_DATA | 1 | cs | 1 |
| DATA_SOURCE | 1 | cs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &cpuset_mutex | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |
kernel/cgroup/cpuset-v1.c cpuset_write_u64() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 0 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.flags | 2-u32max |
| DATA_SOURCE | 1 | cs | r css_cs |
| DATA_SOURCE | 2 | turning_on | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | turning_on | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 2 | turning_on | |
| 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-v1.c cpuset_write_u64() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 1 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.flags | 2-u32max |
| DATA_SOURCE | 1 | cs | r css_cs |
| DATA_SOURCE | 2 | turning_on | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | turning_on | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 2 | turning_on | |
| 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-v1.c cpuset_write_u64() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 2 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.flags | 2-u32max |
| DATA_SOURCE | 1 | cs | r css_cs |
| DATA_SOURCE | 2 | turning_on | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | turning_on | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 2 | turning_on | |
| 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-v1.c cpuset_write_u64() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 4 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.flags | 2-u32max |
| DATA_SOURCE | 1 | cs | r css_cs |
| DATA_SOURCE | 2 | turning_on | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | turning_on | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 2 | turning_on | |
| 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-v1.c cpuset_write_u64() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 3 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.flags | 2-u32max |
| DATA_SOURCE | 1 | cs | r css_cs |
| DATA_SOURCE | 2 | turning_on | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | turning_on | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 2 | turning_on | |
| 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-v1.c cpuset_write_u64() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 5 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.flags | 2-u32max |
| DATA_SOURCE | 1 | cs | r css_cs |
| DATA_SOURCE | 2 | turning_on | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | turning_on | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 2 | turning_on | |
| 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-v1.c cpuset_write_u64() -> cpuset_update_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bit | 6 |
| PARAM_VALUE | 1 | cs | 4096-ptr_max |
| PARAM_VALUE | 1 | cs->css.flags | 2-u32max |
| DATA_SOURCE | 1 | cs | r css_cs |
| DATA_SOURCE | 2 | turning_on | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | turning_on | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 2 | turning_on | |
| 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 |