Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/fat/namei_vfat.c vfat_rename() -> fat_remove_entries()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->rename | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | dir->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->options.isvfat | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->options.nocase | 0-1 |
| PARAM_VALUE | 1 | sinfo | 247656540176310272 |
| PARAM_VALUE | 1 | sinfo->bh | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->de | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->i_pos | 0-s64max |
| PARAM_VALUE | 1 | sinfo->nr_slots | 0-255 |
| CAPPED_DATA | 0 | dir | 1 |
| CAPPED_DATA | 0 | dir->i_sb->s_time_max | 1 |
| DATA_SOURCE | 0 | dir | $0 |
| PARAM_COMPARE | 0 | dir->i_sb->s_time_max | >= $0->i_sb->s_time_min |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_vfat.c vfat_rename() -> fat_remove_entries()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_io_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_io_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_io_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lru.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->fat_bits | 0 |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->fat_lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->free_clus_valid | 1 |
| PARAM_VALUE | 0 | dir->i_wb->b_attached.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_attached.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_attached.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty_time.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty_time.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty_time.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->dwork->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->dwork.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->dwork.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_wb->refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->work_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sinfo | 951439503570137088 |
| PARAM_VALUE | 1 | sinfo->bh | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->i_pos | 0-s64max |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-2),0-s64max |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_vfat.c vfat_rmdir() -> fat_remove_entries()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->rmdir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | dir->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | dir->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->options.isvfat | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->options.nocase | 0-1 |
| PARAM_VALUE | 1 | sinfo | 8113564976891506688 |
| PARAM_VALUE | 1 | sinfo->bh | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->de | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->i_pos | 0-s64max |
| PARAM_VALUE | 1 | sinfo->nr_slots | 0-255 |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | 0 | &dir->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fat/namei_vfat.c vfat_unlink() -> fat_remove_entries()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->unlink | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | dir->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | dir->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->options.isvfat | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->options.nocase | 0-1 |
| PARAM_VALUE | 1 | sinfo | 2563895580516634624 |
| PARAM_VALUE | 1 | sinfo->bh | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->de | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->i_pos | 0-s64max |
| PARAM_VALUE | 1 | sinfo->nr_slots | 0-255 |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | 0 | &dir->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fat/namei_msdos.c do_msdos_rename() -> fat_remove_entries()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->rename | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo | 4906743135757484032 |
| PARAM_VALUE | 1 | sinfo->bh | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->de | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->i_pos | 0-s64max |
| PARAM_VALUE | 1 | sinfo->nr_slots | 1 |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_msdos.c do_msdos_rename() -> fat_remove_entries()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_io_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_io_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_io_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lru.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->fat_bits | 0 |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->fat_lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dir->i_sb->s_fs_info->free_clus_valid | 1 |
| PARAM_VALUE | 0 | dir->i_wb->b_attached.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_attached.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_attached.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty_time.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty_time.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->b_dirty_time.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->dwork->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->dwork.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->dwork.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_wb->refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_wb->work_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sinfo | 3732061787428880384 |
| PARAM_VALUE | 1 | sinfo->bh | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->i_pos | 0-s64max |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/fat/namei_msdos.c msdos_rmdir() -> fat_remove_entries()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->rmdir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | sinfo | 6546808817757417472 |
| PARAM_VALUE | 1 | sinfo->bh | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->de | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->i_pos | 0-s64max |
| PARAM_VALUE | 1 | sinfo->nr_slots | 1 |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | 0 | &dir->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fat/namei_msdos.c msdos_unlink() -> fat_remove_entries()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->unlink | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | sinfo | 8025221940812009472 |
| PARAM_VALUE | 1 | sinfo->bh | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->de | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->i_pos | 0-s64max |
| PARAM_VALUE | 1 | sinfo->nr_slots | 1 |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | 0 | &dir->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |