Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/pidfs.c pidfs_alloc_file() -> path_from_stashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | data | 0,4096-ptr_max |
| PARAM_VALUE | 3 | path | 9005253064895164416 |
| PARAM_VALUE | 3 | path->dentry | 0 |
| PARAM_VALUE | 3 | path->mnt | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/pidfs.c pidfs_fh_to_dentry() -> path_from_stashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 1115261775721476096 |
| DATA_SOURCE | 2 | data | r pidfs_ino_get_pid |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nsfs.c ns_get_path_cb() -> path_from_stashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stashed | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 1-u64max |
| PARAM_VALUE | 3 | path | 2324426378394611712,9204686332296032256 |
| BUF_SIZE | 2 | data | (-1)-0,256 |
| DATA_SOURCE | 2 | data | r ns_get_cb |
| DATA_SOURCE | 3 | path | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &task->signal->exec_update_lock |
fs/nsfs.c ns_ioctl() -> path_from_stashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stashed | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 4349835120153522176 |
| PARAM_VALUE | 3 | path->dentry | 0 |
| PARAM_VALUE | 3 | path->mnt | 0 |
| BUF_SIZE | 2 | data | 256 |
| UNITS | 2 | data | unit_array_size |
fs/nsfs.c nsfs_fh_to_dentry() -> path_from_stashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stashed | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 7123311053532307456 |
| PARAM_VALUE | 3 | path->dentry | 0 |
| PARAM_VALUE | 3 | path->mnt | 0 |
| DATA_SOURCE | 2 | data | r ns_tree_lookup_rcu |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nsfs.c open_namespace() -> path_from_stashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stashed | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 1-u64max |
| PARAM_VALUE | 3 | path | 8160041564820717568 |
| PARAM_VALUE | 3 | path->dentry | 0 |
| PARAM_VALUE | 3 | path->mnt | 0 |
| BUF_SIZE | 2 | data | 256 |
| DATA_SOURCE | 2 | data | $0 |
| HALF_LOCKED2 | &_T->lock->alloc_lock |
fs/nsfs.c open_namespace_file() -> path_from_stashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stashed | 4096-ptr_max |
| PARAM_VALUE | 0 | *stashed | 0 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 564267100638564352 |
| PARAM_VALUE | 3 | path->dentry | 0 |
| PARAM_VALUE | 3 | path->mnt | 0 |
| DATA_SOURCE | 2 | data | $0 |
| NS_CAPABLE | 0 | 21 | |
| LOCK2 | &to_path.dentry->d_inode->i_rwsem |