Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/kernfs/file.c __kernfs_create_file() -> kernfs_add_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | kn->count.counter | 1 |
| PARAM_VALUE | 0 | kn->flags | 2,66,130,194,258,322,386,450,8194,8258,8322,8386,8450,8514,8578,8642 |
| PARAM_VALUE | 0 | kn->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->ns | 0,4096-ptr_max |
| PARAM_VALUE | 0 | kn->priv | 4096-ptr_max |
| BUF_SIZE | 0 | kn->attr.ops | (-1),104 |
| BUF_SIZE | 0 | kn->priv | (-1),40,696,928,1160,1392,1624,1848 |
| DATA_SOURCE | 0 | kn | r kernfs_new_node |
| BIT_INFO | 0 | kn->flags | 0x2,0x21c2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | kn->attr.size | s32min-(-1),1-4294967295 |
| HALF_LOCKED2 | global &rdtgroup_mutex |
fs/kernfs/dir.c kernfs_create_dir_ns() -> kernfs_add_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | kn->count.counter | 1 |
| PARAM_VALUE | 0 | kn->flags | 1 |
| PARAM_VALUE | 0 | kn->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->ns | 0,4096-ptr_max |
| PARAM_VALUE | 0 | kn->priv | 0,4096-ptr_max |
| BUF_SIZE | 0 | kn->ns | (-1),256 |
| BUF_SIZE | 0 | kn->priv | (-1),136,480,1128 |
| DATA_SOURCE | 0 | kn | r kernfs_new_node |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex | ||
| HALF_LOCKED2 | global &rdtgroup_mutex |
fs/kernfs/dir.c kernfs_create_empty_dir() -> kernfs_add_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | kn->count.counter | 1 |
| PARAM_VALUE | 0 | kn->flags | 4097 |
| PARAM_VALUE | 0 | kn->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->ns | 0 |
| PARAM_VALUE | 0 | kn->priv | 0 |
| DATA_SOURCE | 0 | kn | r kernfs_new_node |
fs/kernfs/symlink.c kernfs_create_link() -> kernfs_add_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | kn->count.counter | 1 |
| PARAM_VALUE | 0 | kn->flags | 4 |
| PARAM_VALUE | 0 | kn->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->symlink.target_kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->symlink.target_kn->iattr | 0,4096-ptr_max |
| DATA_SOURCE | 0 | kn | r kernfs_new_node |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |