Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/core/hwdep.c snd_hwdep_open() -> (struct snd_hwdep_ops)->release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->card | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->card->module | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hw->card->module->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | hw->card->module->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | hw->open_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->open_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hw->open_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hw->open_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | hw->open_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hw->open_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->open_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hw->open_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hw->open_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->ops.release | 1-u64max |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| BUF_SIZE | 0 | hw | 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632 |
| BUF_SIZE | 0 | hw | 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632 |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 1 | file->private_data | (-1),232 |
| CAPPED_DATA | 0 | &hw->open_mutex | 1 |
| DATA_SOURCE | 1 | file | $1 |
| CONTAINER | 0 | -32-152+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | hw->private_data->first->f_flags | 0-4294967295 |
| USER_DATA | 0 | hw->private_data->first->f_mode | 0,4-4294967295 |
| USER_DATA | 1 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 1 | file->f_flags | 0-u32max |
| USER_DATA | 1 | file->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.moved->d_inode->i_size | |
| USER_PTR | 1 | file->__f_path.dentry->__d_name.name | |
| LOCK2 | 0 | &hw->open_mutex | |
| TYPE_LOCK | (struct snd_hwdep)->open_mutex |
sound/core/hwdep.c snd_hwdep_release() -> (struct snd_hwdep_ops)->release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->card | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->ops.release | 1-u64max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->f_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | file->f_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | file->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | file->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_inode->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_inode->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 1 | 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 | 1 | file->f_path.dentry->d_inode->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 1 | file->f_path.mnt->mnt_sb->s_export_op->flags | 0,127 |
| PARAM_VALUE | 1 | file->private_data | 4096-ptr_max |
| BUF_SIZE | 0 | hw | (-1),26 |
| BUF_SIZE | 0 | hw | (-1),26 |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file->private_data | (-1),26 |
| CAPPED_DATA | 1 | file | 1 |
| DATA_SOURCE | 1 | file | $1 |
| CONTAINER | 0 | -32-152+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_ino | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_linklen | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.moved->d_inode->i_size | |
| LOCK2 | _T->lock |