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_lookup_driver()

Type Parameter Key Value
PARAM_VALUE 1 filp 0
PARAM_VALUE 2 index 657658570838110208
PARAM_VALUE 2 *index (-1)
DATA_SOURCE 0 device $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &tty_mutex
HALF_LOCKED2 global &spk_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 device 0-5242879,5242881-u32max
PARAM_VALUE 1 filp 4096-ptr_max
PARAM_VALUE 1 filp->f_path.dentry->d_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 1 filp->f_path.dentry->d_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 1 filp->f_path.dentry->d_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 filp->private_data 4096-ptr_max
PARAM_VALUE 2 index 8408144230330417152
PARAM_VALUE 2 *index (-1)
BUF_SIZE 1 filp (-1)-s32max
BUF_SIZE 1 filp (-1)-s32max
BUF_SIZE 1 filp->__f_path.dentry (-1)-s32max
BUF_SIZE 1 filp->f_op (-1),272
CAPPED_DATA 1 filp 1
DATA_SOURCE 0 device $0
DATA_SOURCE 1 filp $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 filp->__f_path.dentry->__d_name.hash 0-u32max[c]
USER_DATA 1 filp->f_flags 0-u32max
USER_DATA 1 filp->f_mode 0-u32max[c]
NO_OVERFLOW_SIMPLE 1 filp->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 1 filp->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 1 filp->f_path.dentry->d_inode->i_blkbits
NO_OVERFLOW_SIMPLE 1 filp->f_path.moved->d_inode->i_size
UNITS 0 device unit_array_size
USER_PTR 1 filp->__f_path.dentry->__d_name.name
LOCK2 global &tty_mutex