Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/tty/amiserial.c, line 1357
- drivers/tty/moxa.c, line 1246
- drivers/tty/n_gsm.c, line 4367
- drivers/tty/tty_port.c
Smatch caller information:
drivers/tty/tty_port.c tty_port_open() -> tty_port_block_til_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->activate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->tty | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->lookup | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->set_serial | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | filp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | filp->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | filp->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | filp->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | filp->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | filp->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | filp->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | filp->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | filp->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | filp->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 2 | filp->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 2 | filp->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 2 | filp->private_data | 4096-ptr_max |
| PARAM_VALUE | 2 | filp->private_data->tty->ldisc_sem.write_wait.prev | 1197945390870683648 |
| PARAM_VALUE | 2 | filp->private_data->tty->legacy_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | filp->private_data->tty->termios_rwsem.osq.tail.counter | 0-s32max |
| BUF_SIZE | 1 | tty | s32min,(-1),1-s32max |
| BUF_SIZE | 1 | tty | s32min,(-1),1-s32max |
| BUF_SIZE | 1 | tty->driver_data | (-1),1-s32max |
| BUF_SIZE | 1 | tty->link->driver_data | (-1),1-s32max |
| BUF_SIZE | 2 | filp | (-1),1-s32max |
| BUF_SIZE | 2 | filp | (-1),1-s32max |
| BUF_SIZE | 2 | filp->__f_path.dentry | (-1)-s32max |
| BUF_SIZE | 2 | filp->f_op | (-1),272 |
| CAPPED_DATA | 1 | tty | 1 |
| CAPPED_DATA | 2 | filp | 1 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | tty | $1 |
| DATA_SOURCE | 2 | filp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | filp->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 2 | filp->f_flags | 0-u32max |
| USER_DATA | 2 | filp->f_mode | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_path.dentry->d_inode->i_size | |
| USER_PTR | 2 | filp->__f_path.dentry->__d_name.name | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | 1 | &tty->legacy_mutex |
drivers/tty/n_gsm.c gsmtty_open() -> tty_port_block_til_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tty | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->lookup | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | filp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | filp->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 2 | filp->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 2 | filp->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 2 | filp->private_data | 4096-ptr_max |
| BUF_SIZE | 0 | port | 984 |
| BUF_SIZE | 1 | tty | (-1),1-s32max |
| BUF_SIZE | 1 | tty | (-1),1-s32max |
| BUF_SIZE | 1 | tty->driver_data | (-1),1-s32max |
| BUF_SIZE | 1 | tty->link->driver_data | (-1)-s32max |
| BUF_SIZE | 2 | filp | (-1)-s32max |
| BUF_SIZE | 2 | filp | (-1)-s32max |
| BUF_SIZE | 2 | filp->__f_path.dentry | (-1)-s32max |
| BUF_SIZE | 2 | filp->f_op | (-1),272 |
| CAPPED_DATA | 2 | filp | 1 |
| DATA_SOURCE | 1 | tty | $0 |
| DATA_SOURCE | 2 | filp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | filp->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 2 | filp->f_flags | 0-u32max |
| USER_DATA | 2 | filp->f_mode | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_path.moved->d_inode->i_size | |
| USER_PTR | 2 | filp->__f_path.dentry->__d_name.name | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/moxa.c moxa_open() -> tty_port_block_til_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tty | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->lookup | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | filp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | filp->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 2 | filp->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 2 | filp->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 2 | filp->private_data | 4096-ptr_max |
| BUF_SIZE | 1 | tty | (-1),1-s32max |
| BUF_SIZE | 1 | tty | (-1),1-s32max |
| BUF_SIZE | 1 | tty->link->driver_data | (-1)-s32max |
| BUF_SIZE | 2 | filp | (-1)-s32max |
| BUF_SIZE | 2 | filp | (-1)-s32max |
| BUF_SIZE | 2 | filp->__f_path.dentry | (-1)-s32max |
| BUF_SIZE | 2 | filp->f_op | (-1),272 |
| CAPPED_DATA | 2 | filp | 1 |
| DATA_SOURCE | 1 | tty | $0 |
| DATA_SOURCE | 2 | filp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | filp->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 2 | filp->f_flags | 0-u32max |
| USER_DATA | 2 | filp->f_mode | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 2 | filp->f_path.moved->d_inode->i_size | |
| USER_PTR | 2 | filp->__f_path.dentry->__d_name.name | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex |