Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/f2fs/namei.c f2fs_rmdir() -> f2fs_empty_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_mode | 0-u16max |
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| LOCK2 | &dentry->d_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 | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/file.c f2fs_setflags_common() -> f2fs_empty_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | dir | $0 |
| BIT_INFO | 0 | dir->i_flags | 0x0,0xffffffdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/crypto/policy.c fscrypt_ioctl_set_policy() -> (struct fscrypt_operations)->empty_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop | 4096-ptr_max |
| CONTAINER | 0 | -48-312-40+0 | $(-1) |
| BIT_INFO | 0 | dir->i_flags | 0x0,0xffffffef |
| LOCK2 | 0 | &dir->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |