Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/tty_io.c tty_kopen() -> tty_driver_lookup_tty()

Type Parameter Key Value
PARAM_VALUE 0 driver 4096-ptr_max
PARAM_VALUE 1 file 0
DATA_SOURCE 0 driver r tty_lookup_driver
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &tty_mutex
HALF_LOCKED2 global &spk_mutex

drivers/tty/tty_io.c tty_open_by_driver() -> tty_driver_lookup_tty()

Type Parameter Key Value
PARAM_VALUE 0 driver 4096-ptr_max
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_flags 0,2048-u32max
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
PARAM_VALUE 1 file->private_data 4096-ptr_max
BUF_SIZE 1 file (-1)-s32max
BUF_SIZE 1 file (-1)-s32max
BUF_SIZE 1 file->__f_path.dentry (-1)-s32max
BUF_SIZE 1 file->f_op (-1),272
CAPPED_DATA 1 file 1
DATA_SOURCE 0 driver r tty_lookup_driver
DATA_SOURCE 1 file $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 file->__f_path.dentry->__d_name.hash 0-u32max[c]
USER_DATA 1 file->f_flags 0,2048-u32max
USER_DATA 1 file->f_mode 0-u32max[c]
NO_OVERFLOW_SIMPLE 1 file->f_inode->i_blkbits
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.moved->d_inode->i_size
USER_PTR 1 file->__f_path.dentry->__d_name.name
LOCK2 global &tty_mutex