Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/fat/inode.c fat_evict_inode() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_data.i_pages.xa_head | 0 |
| PARAM_VALUE | 0 | inode->i_data.nrpages | 0 |
| PARAM_VALUE | 0 | inode->i_io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_lru.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_dentry | 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->fat_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->fat_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->fat_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->fat_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->fat_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->fat_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->fat_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->fat_lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->free_clusters | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_inode_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_op->evict_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_state.__state | 768 |
| PARAM_VALUE | 0 | inode->i_wb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->b_dirty.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->dwork->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->dwork.timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->dwork.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_wb->refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | inode->i_wb->work_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_wb_list.next | 4096-ptr_max |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 0 | &inode->i_data | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| PARAM_COMPARE | 0 | &inode->i_wb_list | == $0->i_wb_list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes |
fs/fat/namei_vfat.c vfat_exchange_ipos() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_vfat.c vfat_exchange_ipos() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 0,4096-ptr_max |
| DATA_SOURCE | 0 | inode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_vfat.c vfat_rename() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_vfat.c vfat_rename() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_vfat.c vfat_rename() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->dir_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->inode_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_wb->dwork->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->dwork.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->dwork.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_wb->work_lock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_vfat.c vfat_rmdir() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->__i_nlink | 0 |
| PARAM_VALUE | 0 | inode->i_nlink | 0 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->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/fat/namei_vfat.c vfat_unlink() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->__i_nlink | 0 |
| PARAM_VALUE | 0 | inode->i_nlink | 0 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| 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/fat/namei_msdos.c do_msdos_rename() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_msdos.c do_msdos_rename() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| CAPPED_DATA | 0 | inode->i_sb->s_time_max | 1 |
| PARAM_COMPARE | 0 | inode->i_sb->s_time_max | >= $0->i_sb->s_time_min |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_msdos.c do_msdos_rename() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->dir_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->inode_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_wb->dwork.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_wb->work_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | inode->i_sb->s_time_max | 1 |
| PARAM_COMPARE | 0 | inode->i_sb->s_time_max | >= $0->i_sb->s_time_min |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_msdos.c msdos_rmdir() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->__i_nlink | 0 |
| PARAM_VALUE | 0 | inode->i_nlink | 0 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->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/fat/namei_msdos.c msdos_unlink() -> fat_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->__i_nlink | 0 |
| PARAM_VALUE | 0 | inode->i_nlink | 0 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| 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 |