Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/namespace.c do_listmount() -> is_path_reachable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | root | 7389341361424089128 |
| UNITS | 1 | dentry | unit_jiffy |
| LOCK2 | global &namespace_sem |
fs/namespace.c do_listmount() -> is_path_reachable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | root | 6090293893781598208 |
| UNITS | 1 | dentry | unit_jiffy |
| LOCK2 | global &namespace_sem |
fs/namespace.c do_statmount() -> is_path_reachable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |
| MEM_ZERO | 2 | root | |
| UNITS | 1 | dentry | unit_jiffy |
| LOCK2 | global &namespace_sem |
fs/namespace.c path_is_under() -> is_path_reachable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | root | 522358671205986336,2024205125206544416,4081176994602528768,4342420360533635104,6489631671941296160 |
| DATA_SOURCE | 2 | root | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mount_lock.lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock |
fs/namespace.c path_pivot_root() -> is_path_reachable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | root | 974911601717030912,1195093872740364288 |
| PARAM_VALUE | 2 | root->dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | root->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | root->mnt->mnt_root | 4096-ptr_max |
| CAPPED_DATA | 2 | root->dentry | 1 |
| CAPPED_DATA | 2 | root->mnt->mnt_root | 1 |
| DATA_SOURCE | 2 | root | $0 |
| PARAM_COMPARE | 2 | root->dentry | == $2->mnt->mnt_root |
| BIT_INFO | 0 | mnt->mnt_t_flags | 0x0,0xfffffffe |
| UNITS | 1 | dentry | unit_jiffy |
fs/namespace.c path_pivot_root() -> is_path_reachable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_parent | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | root | 3328856821100011520 |
| PARAM_VALUE | 2 | root->mnt | 4096-ptr_max |
| CAPPED_DATA | 0 | mnt | 1 |
| CAPPED_DATA | 0 | mnt->mnt_ns | 1 |
| CAPPED_DATA | 0 | mnt->mnt_parent | 1 |
| CAPPED_DATA | 1 | dentry | 1 |
| DATA_SOURCE | 0 | mnt | r real_mount |
| PARAM_COMPARE | 0 | mnt | != $0->mnt_parent |
| PARAM_COMPARE | 0 | mnt | != $0->mnt_parent |
| BIT_INFO | 0 | mnt->mnt.mnt_flags | 0x0,0xff7fffff |
fs/pnode.c get_peer_under_root() -> is_path_reachable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| CAPPED_DATA | 0 | mnt->mnt_ns | 1 |
| DATA_SOURCE | 2 | root | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dentry | unit_jiffy |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &namespace_sem |