Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/char/tpm/tpmrm-dev.c tpmrm_open() -> tpm_common_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 2 | priv | 4096-ptr_max |
| PARAM_VALUE | 3 | space | 4096-ptr_max |
| PARAM_VALUE | 3 | space->buf_size | 16384 |
| PARAM_VALUE | 3 | space->context_buf | 4096-ptr_max |
| PARAM_VALUE | 3 | space->session_buf | 4096-ptr_max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |
drivers/char/tpm/tpm-dev.c tpm_open() -> tpm_common_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 2 | priv | 4096-ptr_max |
| PARAM_VALUE | 3 | space | 0 |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| BUF_SIZE | 2 | priv | 4616 |
| DATA_SOURCE | 0 | file | $1 |
| DATA_SOURCE | 2 | priv | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |