Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/cgroup/cgroup.c cgroup2_parse_param() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup.c cgroup_do_get_tree() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),8 |
| STR_LEN | 0 | fc | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup.c cgroup_fs_context_free() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc->fs_type | (-1),232 |
| BUF_SIZE | 0 | fc->log.prefix | (-1),4 |
| BUF_SIZE | 0 | fc->s_fs_info | (-1),11312 |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc->fs_type | (-1),3,6,8,68 |
| STR_LEN | 0 | fc->log.prefix | (-1),3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->root->d_sb->s_flags | 0-u32max[c] |
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | 0 | &fc->root->d_lockref.lock | |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup.c cgroup_get_tree() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),8 |
| STR_LEN | 0 | fc | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup.c cgroup_reconfigure() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| BIT_INFO | 0 | fc->sb_flags_mask | 0x0,0x2800051 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 1-42041553[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup.c cpuset_init_fs_context() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_private | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fc->fs_type | (-1),232 |
| BUF_SIZE | 0 | fc->log.prefix | (-1),4 |
| BUF_SIZE | 0 | fc->ops | 48 |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc->fs_type | (-1),3,6,8,68 |
| STR_LEN | 0 | fc->log.prefix | (-1),3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 1-42041553[c] |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup.c cpuset_parse_param() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup-v1.c cgroup1_get_tree() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),8 |
| STR_LEN | 0 | fc | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup-v1.c cgroup1_parse_param() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup-v1.c cgroup1_reconfigure() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| BIT_INFO | 0 | fc->sb_flags_mask | 0x0,0x2800051 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 1-42041553[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup-v1.c cgroup1_root_to_use() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),8 |
| STR_LEN | 0 | fc | (-1),8 |
| NS_CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup-v1.c check_cgroupfs_options() -> cgroup_fc2context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),8 |
| STR_LEN | 0 | fc | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |