Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/9p/fid.c
- fs/9p/fid.h, line 23
- fs/9p/vfs_inode.c
- fs/9p/vfs_inode_dotl.c
- net/9p/client.c, line 1107
Smatch caller information:
fs/9p/fid.c v9fs_fid_lookup_with_uid() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 1 |
| PARAM_VALUE | 2 | wnames | 4096-ptr_max |
| PARAM_VALUE | 3 | clone | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &v9ses->rename_sem | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| TYPE_LOCK | (struct v9fs_session_info)->rename_sem |
fs/9p/fid.c v9fs_fid_lookup_with_uid() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 1-16 |
| PARAM_VALUE | 2 | wnames | 4096-ptr_max |
| PARAM_VALUE | 3 | clone | 0-1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| CAPPED_DATA | 1 | nwname | 1 |
| FUZZY_MAX | 3 | clone | 1 |
| HARD_MAX | 3 | clone | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &v9ses->rename_sem | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| TYPE_LOCK | (struct v9fs_session_info)->rename_sem |
fs/9p/vfs_inode_dotl.c clone_fid() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 0 |
| PARAM_VALUE | 2 | wnames | 0 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| DATA_SOURCE | 0 | oldfid | $0 |
fs/9p/vfs_inode_dotl.c v9fs_vfs_atomic_open_dotl() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->count | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->nr_values | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->offset | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->shift | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->rq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->sq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | nwname | 1 |
| PARAM_VALUE | 2 | wnames | 7982476887982804992 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| DATA_SOURCE | 0 | oldfid | r v9fs_parent_fid |
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir_inode->i_rwsem |
fs/9p/vfs_inode_dotl.c v9fs_vfs_mkdir_dotl() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->count | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->nr_values | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->offset | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->shift | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->rq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->sq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans_mod | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 1 |
| PARAM_VALUE | 2 | wnames | 3695389566593368064 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| CAPPED_DATA | 0 | oldfid->clnt | 1 |
| CAPPED_DATA | 0 | oldfid->clnt->reqs.idr_base | 1 |
| DATA_SOURCE | 0 | oldfid | r v9fs_parent_fid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/9p/vfs_inode_dotl.c v9fs_vfs_mknod_dotl() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->count | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->nr_values | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->offset | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->shift | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->rq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->sq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans_mod | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 1 |
| PARAM_VALUE | 2 | wnames | 2407499071633690624 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| CAPPED_DATA | 0 | oldfid->clnt | 1 |
| CAPPED_DATA | 0 | oldfid->clnt->reqs.idr_base | 1 |
| DATA_SOURCE | 0 | oldfid | r v9fs_parent_fid |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/9p/vfs_inode_dotl.c v9fs_vfs_symlink_dotl() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->count | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->nr_values | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->offset | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->shift | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->rq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->sq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans_mod | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 1 |
| PARAM_VALUE | 2 | wnames | 5186800521300922368 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| CAPPED_DATA | 0 | oldfid->clnt | 1 |
| DATA_SOURCE | 0 | oldfid | r v9fs_parent_fid |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/9p/xattr.c clone_fid() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 0 |
| PARAM_VALUE | 2 | wnames | 0 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | oldfid | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | oldfid | $0 |
| STR_LEN | 0 | oldfid | (-1),23-24 |
| STR_LEN | 0 | oldfid | (-1),23-24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | oldfid->clnt->msize |
fs/9p/vfs_inode.c clone_fid() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 0 |
| PARAM_VALUE | 2 | wnames | 0 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| DATA_SOURCE | 0 | oldfid | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/9p/vfs_inode.c v9fs_create() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt | 4096-ptr_max |
| PARAM_VALUE | 0 | oldfid->clnt->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->count | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->nr_values | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->offset | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->reqs.idr_rt.xa_head->shift | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->received.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->rq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | oldfid->clnt->trans->send.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | oldfid->clnt->trans->sq_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | nwname | 1 |
| PARAM_VALUE | 2 | wnames | 6466578357471768576 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| DATA_SOURCE | 0 | oldfid | r v9fs_parent_fid |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/9p/vfs_inode.c v9fs_vfs_lookup() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 1 |
| PARAM_VALUE | 2 | wnames | 6921139577619595264 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| DATA_SOURCE | 0 | oldfid | r v9fs_parent_fid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir->i_rwsem |
fs/9p/vfs_file.c clone_fid() -> p9_client_walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldfid | 4096-ptr_max |
| PARAM_VALUE | 1 | nwname | 0 |
| PARAM_VALUE | 2 | wnames | 0 |
| PARAM_VALUE | 3 | clone | 1 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| BUF_SIZE | 0 | oldfid | (-1),88 |
| DATA_SOURCE | 0 | oldfid | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |