Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/fs_context.c
- fs/ramfs/inode.c, line 237
- kernel/bpf/inode.c, line 1008
- kernel/cgroup/cgroup-v1.c, line 952
Smatch caller information:
fs/fs_context.c vfs_parse_fs_param() -> vfs_parse_fs_param_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops->parse_monolithic | 0,634968867006672896,1923336409103024128,2935546142322450432,5537387387394355200,6031079647331782656,7045259487304556544 |
| PARAM_VALUE | 0 | fc->ops->parse_param | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param | 1158747872208535552,5521302025151455232 |
| PARAM_VALUE | 1 | param->blob | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->dirfd | (-100),0-s32max |
| PARAM_VALUE | 1 | param->file | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->key | 4096-ptr_max |
| PARAM_VALUE | 1 | param->name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->size | 0-u32max |
| PARAM_VALUE | 1 | param->string | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->type | 0-5 |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | param->file | 1 |
| CAPPED_DATA | 1 | param->string | 1 |
| DATA_SOURCE | 0 | fc | $0 |
| DATA_SOURCE | 1 | param | $1 |
| 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 |
| USER_DATA | 1 | param->dirfd | 0-s32max |
| USER_DATA | 1 | param->size | 1-1048576[c] |
| USER_PTR | 1 | param->blob | |
| USER_PTR | 1 | param->key | |
| USER_PTR | 1 | param->string | |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
fs/ramfs/inode.c ramfs_parse_param() -> vfs_parse_fs_param_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops->parse_monolithic | 0,634968867006672896,1923336409103024128,2935546142322450432,5537387387394355200,6031079647331782656,7045259487304556544 |
| PARAM_VALUE | 0 | fc->ops->parse_param | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 1158747872208535552,5521302025151455232 |
| PARAM_VALUE | 1 | param->blob | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->dirfd | (-100),0-s32max |
| PARAM_VALUE | 1 | param->file | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->key | 4096-ptr_max |
| PARAM_VALUE | 1 | param->name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->size | 0-u32max |
| PARAM_VALUE | 1 | param->string | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->type | 0-5 |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | param->blob | (-1),1-1000000001,2147479553 |
| BUF_SIZE | 1 | param->name | (-1)-s32max |
| CAPPED_DATA | 1 | param->file | 1 |
| CAPPED_DATA | 1 | param->size | 1 |
| CAPPED_DATA | 1 | param->string | 1 |
| DATA_SOURCE | 0 | fc | $0 |
| DATA_SOURCE | 1 | param | $1 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| NOSPEC | 1 | param->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| USER_DATA | 1 | param->dirfd | 0-s32max |
| USER_DATA | 1 | param->size | 1-1048576[c] |
| USER_PTR | 1 | param->blob | |
| USER_PTR | 1 | param->key | |
| USER_PTR | 1 | param->string | |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/bpf/inode.c bpf_parse_param() -> vfs_parse_fs_param_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops->parse_monolithic | 0,634968867006672896,1923336409103024128,2935546142322450432,5537387387394355200,6031079647331782656,7045259487304556544 |
| PARAM_VALUE | 0 | fc->ops->parse_param | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 1158747872208535552,5521302025151455232 |
| PARAM_VALUE | 1 | param->blob | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->dirfd | (-100),0-s32max |
| PARAM_VALUE | 1 | param->file | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->key | 4096-ptr_max |
| PARAM_VALUE | 1 | param->name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->size | 0-u32max |
| PARAM_VALUE | 1 | param->string | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->type | 0-5 |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | param->blob | (-1),1-1000000001,2147479553 |
| BUF_SIZE | 1 | param->name | (-1)-s32max |
| CAPPED_DATA | 1 | param->file | 1 |
| CAPPED_DATA | 1 | param->size | 1 |
| CAPPED_DATA | 1 | param->string | 1 |
| DATA_SOURCE | 0 | fc | $0 |
| DATA_SOURCE | 1 | param | $1 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| NOSPEC | 1 | param->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| USER_DATA | 1 | param->dirfd | 0-s32max |
| USER_DATA | 1 | param->size | 1-1048576[c] |
| USER_PTR | 1 | param->blob | |
| USER_PTR | 1 | param->key | |
| USER_PTR | 1 | param->string | |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |
kernel/cgroup/cgroup-v1.c cgroup1_parse_param() -> vfs_parse_fs_param_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops->parse_monolithic | 0,634968867006672896,1923336409103024128,2935546142322450432,5537387387394355200,6031079647331782656,7045259487304556544 |
| PARAM_VALUE | 0 | fc->ops->parse_param | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 1158747872208535552,5521302025151455232 |
| PARAM_VALUE | 1 | param->blob | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->dirfd | (-100),0-s32max |
| PARAM_VALUE | 1 | param->file | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->key | 4096-ptr_max |
| PARAM_VALUE | 1 | param->name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->size | 0-u32max |
| PARAM_VALUE | 1 | param->string | 0,4096-ptr_max |
| PARAM_VALUE | 1 | param->type | 0-5 |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | param->blob | (-1),1-1000000001,2147479553 |
| BUF_SIZE | 1 | param->name | (-1)-s32max |
| CAPPED_DATA | 1 | param->file | 1 |
| CAPPED_DATA | 1 | param->size | 1 |
| CAPPED_DATA | 1 | param->string | 1 |
| DATA_SOURCE | 0 | fc | $0 |
| DATA_SOURCE | 1 | param | $1 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| STR_LEN | 0 | fc | (-1),3-4,6-7 |
| NOSPEC | 1 | param->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| USER_DATA | 1 | param->dirfd | 0-s32max |
| USER_DATA | 1 | param->size | 1-1048576[c] |
| USER_PTR | 1 | param->blob | |
| USER_PTR | 1 | param->key | |
| USER_PTR | 1 | param->string | |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |