Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- fs/cachefiles/namei.c
- fs/debugfs/inode.c, line 866
- fs/ecryptfs/inode.c, line 633
- fs/namei.c
- fs/nfsd/vfs.c, line 2258
- fs/overlayfs/copy_up.c
- fs/overlayfs/dir.c
- fs/overlayfs/super.c, line 594
- fs/smb/server/vfs.c, line 733
- security/selinux/selinuxfs.c
Smatch caller information:
fs/cachefiles/namei.c cachefiles_bury_object() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 7603096213106323456 |
| PARAM_VALUE | 0 | rd->flags | 0 |
| PARAM_VALUE | 0 | rd->mnt_idmap | 1531479832127729664 |
| PARAM_VALUE | 0 | rd->new_dentry | 0 |
| PARAM_VALUE | 0 | rd->old_dentry | 0 |
| PARAM_VALUE | 0 | rd->old_parent | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | &cache->store->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/cachefiles/namei.c cachefiles_bury_object() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 7603096213106323456 |
| PARAM_VALUE | 0 | rd->flags | 0 |
| PARAM_VALUE | 0 | rd->mnt_idmap | 1531479832127729664 |
| PARAM_VALUE | 0 | rd->old_dentry | 0 |
| PARAM_VALUE | 0 | rd->old_parent | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | &cache->store->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/cachefiles/namei.c cachefiles_bury_object() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 7603096213106323456 |
| PARAM_VALUE | 0 | rd->flags | 0 |
| PARAM_VALUE | 0 | rd->mnt_idmap | 1531479832127729664 |
| PARAM_VALUE | 0 | rd->old_dentry | 0 |
| PARAM_VALUE | 0 | rd->old_parent | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | &cache->store->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/cachefiles/namei.c cachefiles_bury_object() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 7603096213106323456 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | &cache->store->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/overlayfs/copy_up.c ovl_copy_up_workdir() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 3885171864486862848 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/overlayfs/copy_up.c ovl_create_index() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 4492916459052322816 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ecryptfs/inode.c ecryptfs_rename() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 602293047645691904 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/namei.c filename_renameat2() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 2671441914505605120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | rd->flags | 0-6 |
fs/overlayfs/dir.c ovl_cleanup_and_whiteout() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 647450035677900800 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/overlayfs/dir.c ovl_clear_empty() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 3184933819175362560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &target->i_rwsem |
fs/overlayfs/dir.c ovl_clear_empty() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 3184933819175362560 |
| PARAM_VALUE | 0 | rd->flags | 2 |
| PARAM_VALUE | 0 | rd->new_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->new_parent | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_parent | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &target->i_rwsem |
fs/overlayfs/dir.c ovl_create_over_whiteout() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 3166596487067734016 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/overlayfs/dir.c ovl_create_over_whiteout() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 3166596487067734016 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/overlayfs/dir.c ovl_create_over_whiteout() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 3166596487067734016 |
| PARAM_VALUE | 0 | rd->flags | 0 |
| PARAM_VALUE | 0 | rd->new_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->new_parent | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_parent | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/overlayfs/dir.c ovl_rename_upper() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 7165050572812402688 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | rd->flags | 0,2,4,6[c] |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/overlayfs/super.c ovl_check_rename_whiteout() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 4064197765444001792 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
security/selinux/selinuxfs.c sel_make_policy_nodes() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 1307122136724647936 |
| PARAM_VALUE | 0 | rd->flags | 0 |
| PARAM_VALUE | 0 | rd->new_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->new_parent | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_parent | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/selinuxfs.c sel_make_policy_nodes() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 1307122136724647936 |
| PARAM_VALUE | 0 | rd->flags | 0 |
| PARAM_VALUE | 0 | rd->new_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->new_parent | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_parent | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
fs/nfsd/vfs.c nfsd_rename() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 9038647864696684544 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &close_cached->d_lockref.lock |
fs/debugfs/inode.c debugfs_change_name() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 2383168432524640256 |
| PARAM_VALUE | 0 | rd->flags | 1 |
| PARAM_VALUE | 0 | rd->new_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->new_parent | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->old_parent | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &shrinker_mutex |
fs/smb/server/vfs.c ksmbd_vfs_rename() -> end_renaming()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 1289377469132476416 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |