Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- fs/configfs/dir.c, line 1465
- fs/dcache.c
- fs/debugfs/inode.c, line 865
- fs/ecryptfs/dentry.c, line 49
- fs/eventpoll.c, line 1752
- fs/ext4/fast_commit.c
- fs/namei.c, line 6241
- fs/nfsd/nfs4state.c, line 10447
- fs/notify/fsnotify.c, line 244
- fs/overlayfs/export.c, line 384
- fs/overlayfs/super.c
- fs/tracefs/inode.c
- security/integrity/ima/ima_api.c
- security/integrity/ima/ima_template_lib.c, line 527
Smatch caller information:
fs/tracefs/inode.c tracefs_syscall_mkdir() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 6341744099594739712 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/tracefs/inode.c tracefs_syscall_rmdir() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1396537482929405952 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dentry->d_inode->i_rwsem | ||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ecryptfs/dentry.c ecryptfs_d_revalidate() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 801129478491496448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/configfs/dir.c configfs_mkdir() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 7205505336960983040 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/nfsd/nfs4state.c alloc_nfsd_notify_event() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 8838495793760776192 |
| NOCHECK_CALL |
fs/ext4/fast_commit.c ext4_fc_cleanup() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ext4/fast_commit.c ext4_fc_del() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/overlayfs/super.c ovl_check_rename_whiteout() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 2540731290339717120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | &whiteout->d_lockref.lock | ||
| HALF_LOCKED2 | &workdir->d_inode->i_rwsem |
fs/overlayfs/super.c ovl_revalidate_real() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 3518433289747697664 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/integrity/ima/ima_template_lib.c ima_eventname_init_common() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 3510457446508179456 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/eventpoll.c ep_create_wakeup_source() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 463053592073891840 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/notify/fsnotify.c __fsnotify_parent() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 6906790796169433088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/debugfs/inode.c debugfs_change_name() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 5789593762376921088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &shrinker_mutex |
fs/overlayfs/export.c ovl_lookup_real_one() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 2834166419919663104 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &connected->d_lockref.lock | ||
| HALF_LOCKED2 | &real->d_lockref.lock |
security/integrity/ima/ima_api.c ima_collect_measurement() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 233542472638857216 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &iint->mutex |
security/integrity/ima/ima_api.c ima_d_path() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 5097530893861228544 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/dcache.c take_dentry_name_snapshot() -> release_dentry_name_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4096-ptr_max |
| BUF_SIZE | 0 | name->name.name | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | name | $0 |
| STR_LEN | 0 | name | (-1),2,5,9,11-12 |
| STR_LEN | 0 | name | (-1),2,5,9,11-12 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &ei->i_fc_lock |