Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/input/ff-core.c input_ff_erase() -> erase_effect()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->evbit 4096-ptr_max
PARAM_VALUE 2 file 4096-ptr_max
PARAM_VALUE 2 file->private_data 4096-ptr_max
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 effect_id $1
DATA_SOURCE 2 file $2
LOCK2 &evdev->mutex
LOCK2 _T->lock
TYPE_LOCK (struct evdev)->mutex

drivers/input/ff-core.c input_ff_flush() -> erase_effect()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ff->max_effects 1-s32max
PARAM_VALUE 0 dev->flush 1-u64max
PARAM_VALUE 1 effect_id 0-s32max
PARAM_VALUE 2 file 0,4096-ptr_max
PARAM_VALUE 2 file->f_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 file->f_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 file->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 file->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 file->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1640,1720,1808,1816,2632,2640,2648,2704,2712
PARAM_VALUE 2 file->f_path.dentry->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 2 file->f_path.dentry->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 2 file->f_path.dentry->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 2 file->f_path.dentry->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 2 file->f_path.dentry->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 2 file->f_path.mnt->mnt_sb->s_export_op->flags 0,127
PARAM_VALUE 2 file->private_data 4096-ptr_max
BUF_SIZE 2 file (-1),1-s32max
BUF_SIZE 2 file (-1),1-s32max
BUF_SIZE 2 file->private_data (-1),26
CAPPED_DATA 1 effect_id 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 file $1
CONSTRAINT 1 effect_id <4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 file->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 2 file->f_inode->i_ino
NO_OVERFLOW_SIMPLE 2 file->f_inode->i_linklen
NO_OVERFLOW_SIMPLE 2 file->f_inode->i_size
NO_OVERFLOW_SIMPLE 2 file->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 2 file->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 2 file->f_path.moved->d_inode->i_size
UNITS 1 effect_id unit_array_size
LOCK2 _T->lock
HALF_LOCKED2 &evdev->mutex