Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/resctrl/rdtgroup.c _mkdir_mondata_subdir() -> kernfs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 4708787751660867584,5070951782742421504 |
| PARAM_VALUE | 3 | priv | 4096-ptr_max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 1 | name | 32 |
| BUF_SIZE | 1 | name | 32 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | name | $1 |
| DATA_SOURCE | 3 | priv | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &domain_list_lock |
fs/resctrl/rdtgroup.c mkdir_rdt_prepare() -> kernfs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->__parent | 0 |
| PARAM_VALUE | 0 | parent->dep_map->name | 0-255 |
| PARAM_VALUE | 2 | mode | 16384-17407 |
| PARAM_VALUE | 3 | priv | 4096-ptr_max |
| BUF_SIZE | 0 | parent | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | parent | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | name | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | name | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | priv | 1128 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | name | $1 |
| DATA_SOURCE | 2 | mode | $2 |
| DATA_SOURCE | 3 | priv | r _kzalloc_noprof |
| BIT_INFO | 2 | mode | 0x4000,0x7fff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | mode | 16384-17407[c] |
| UNITS | 0 | parent | unit_array_size |
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/resctrl/rdtgroup.c mongroup_create_dir() -> kernfs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 369880006044901376,3244415813405786112 |
| PARAM_VALUE | 3 | priv | 4096-ptr_max |
| BUF_SIZE | 1 | name | 9,11 |
| BUF_SIZE | 1 | name | 9,11 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | name | $2 |
| DATA_SOURCE | 3 | priv | $1 |
| STR_LEN | 0 | parent | 8,10 |
| STR_LEN | 0 | parent | 8,10 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_array_size |
| LOCK2 | global &rdtgroup_mutex |
fs/resctrl/rdtgroup.c rdtgroup_create_info_dir() -> kernfs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->__parent | 0 |
| PARAM_VALUE | 1 | name | 3934021331192438784 |
| PARAM_VALUE | 3 | priv | 0 |
| BUF_SIZE | 1 | name | 5 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| STR_LEN | 0 | parent | 4 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_array_size |
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | global &once_mutex |
fs/resctrl/rdtgroup.c rdtgroup_mkdir_info_resdir() -> kernfs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 3 | priv | 4096-ptr_max |
| BUF_SIZE | 1 | name | 8,32 |
| BUF_SIZE | 1 | name | 8,32 |
| BUF_SIZE | 3 | priv | (-1),136 |
| BUF_SIZE | 3 | priv | (-1),136 |
| DATA_SOURCE | 1 | name | $1 |
| DATA_SOURCE | 3 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | global &once_mutex |
fs/resctrl/rdtgroup.c resctrl_mkdir_event_configs() -> kernfs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 2377835692215861248 |
| PARAM_VALUE | 3 | priv | 0 |
| BUF_SIZE | 1 | name | 14 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $1 |
| STR_LEN | 0 | parent | 13 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | global &once_mutex |
fs/resctrl/rdtgroup.c resctrl_mkdir_event_configs() -> kernfs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 3 | priv | 8080696706977394696-8080696706977394791 |
| BUF_SIZE | 3 | priv | (-1),480 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | r kernfs_create_dir |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | global &once_mutex |