Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/configfs/dir.c configfs_create_dir() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| BUF_SIZE | 0 | sd | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/configfs/dir.c configfs_create_link() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| BUF_SIZE | 0 | sd | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | global &configfs_symlink_mutex | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/configfs/dir.c configfs_d_iput() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| BUF_SIZE | 0 | sd | 1-s32max |
| BUF_SIZE | 0 | sd | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_parent->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &inode->i_lock |
fs/configfs/dir.c configfs_lookup() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_dentry | 0 |
| PARAM_VALUE | 0 | sd->s_element | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_type | s32min-(-1),4-s32max |
| CAPPED_DATA | 0 | &sd->s_sibling | 1 |
| STR_LEN | 0 | sd->s_dentry->d_parent | (-1) |
| BIT_INFO | 0 | sd->s_type | 0x0,0x7fffffdc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | sd->s_dentry->__d_name.hash | 0-u32max[c] |
| USER_PTR | 0 | sd->s_dentry->__d_name.name | |
| HALF_LOCKED2 | &dir->i_rwsem |
fs/configfs/dir.c configfs_remove_dirent() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_sibling.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_sibling.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | sd | 1-s32max |
| BUF_SIZE | 0 | sd | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | global &configfs_symlink_mutex |
fs/configfs/dir.c detach_attrs() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_dentry | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_element | 1-u64max |
| PARAM_VALUE | 0 | sd->s_type | s32min-(-1),4-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &child->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex |
fs/configfs/symlink.c configfs_unlink() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_sibling.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_sibling.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_type | s32min-(-1),32-s32max |
| BUF_SIZE | 0 | sd | 1-s32max |
| BUF_SIZE | 0 | sd | 1-s32max |
| BIT_INFO | 0 | sd->s_type | 0x20,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &target->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/configfs/symlink.c configfs_unlink() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| BUF_SIZE | 0 | sd | 1-s32max |
| BUF_SIZE | 0 | sd | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dentry->d_lockref.lock | ||
| LOCK2 | &target->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/configfs/symlink.c create_link() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->s_type | s32min-(-1),256-s32max |
| BUF_SIZE | 0 | sd | 1-s32max |
| BUF_SIZE | 0 | sd | 1-s32max |
| BIT_INFO | 0 | sd->s_type | 0x100,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | global &configfs_symlink_mutex | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/configfs/symlink.c create_link() -> configfs_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| BUF_SIZE | 0 | sd | 1-s32max |
| BUF_SIZE | 0 | sd | 1-s32max |
| BIT_INFO | 0 | sd->s_type | 0x0,0xfffffeff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | global &configfs_symlink_mutex | ||
| TYPE_LOCK | (struct inode)->i_rwsem |