Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ntfs/file.c ntfs_fallocate() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/ntfs/file.c ntfs_file_write_iter() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_setattr() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/ntfs/namei.c ntfs_create() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | vol->sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | vol->sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | flags | 1 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &dir->i_rwsem |
fs/ntfs/namei.c ntfs_link() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | vol->sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | vol->sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | flags | 1 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/namei.c ntfs_mkdir() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | vol->sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | vol->sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | flags | 1 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ntfs/namei.c ntfs_mknod() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | vol->sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | vol->sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | flags | 1 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | _T->lock |
fs/ntfs/namei.c ntfs_rename() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/ntfs/namei.c ntfs_rmdir() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | vol->sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | vol->sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | flags | 1 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
| 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/ntfs/namei.c ntfs_symlink() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | vol->sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | vol->sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | flags | 1 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
fs/ntfs/namei.c ntfs_unlink() -> ntfs_set_volume_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vol | 4096-ptr_max |
| PARAM_VALUE | 0 | vol->sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | vol->sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | vol->sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | flags | 1 |
| BUF_SIZE | 0 | vol | 1-s32max |
| BUF_SIZE | 0 | vol | 1-s32max |
| BIT_INFO | 0 | vol->vol_flags | 0x0,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vol | unit_byte |
| 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 |