Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/tty_io.c __tty_fasync() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 0 file->__f_path.dentry (-1)-s32max
BUF_SIZE 0 file->f_op (-1),272
BUF_SIZE 0 file->private_data (-1),26
CAPPED_DATA 0 file 1
DATA_SOURCE 0 file $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
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-u32max[c]
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_ino
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_linklen
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
LOCK2 &tty->legacy_mutex
HALF_LOCKED2 &tty->files_lock
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/tty/tty_io.c file_tty_write() -> file_tty()

Type Parameter Key Value
DATA_SOURCE 0 file $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/tty/tty_io.c this_tty() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
DATA_SOURCE 0 file $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &files->file_lock
HALF_LOCKED2 &_T->lock->alloc_lock
HALF_LOCKED2 &p->alloc_lock
HALF_LOCKED2 global &tasklist_lock
TYPE_LOCK (struct files_struct)->file_lock

drivers/tty/tty_io.c tty_compat_ioctl() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max
DATA_SOURCE 0 file $0

drivers/tty/tty_io.c tty_fasync() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file (-1)-s32max
BUF_SIZE 0 file (-1)-s32max
BUF_SIZE 0 file->private_data (-1),26
CAPPED_DATA 0 file 1
DATA_SOURCE 0 file $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_ino
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_linklen
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_size
NO_OVERFLOW_SIMPLE 0 file->f_path.moved->d_inode->i_size

drivers/tty/tty_io.c tty_ioctl() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
DATA_SOURCE 0 file $0

drivers/tty/tty_io.c tty_poll() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
DATA_SOURCE 0 file $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu

drivers/tty/tty_io.c tty_read() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/tty/tty_io.c tty_release() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file (-1)-s32max
BUF_SIZE 0 file (-1)-s32max
BUF_SIZE 0 file->__f_path.dentry (-1)-s32max
BUF_SIZE 0 file->f_op (-1),272
BUF_SIZE 0 file->private_data (-1),26
CAPPED_DATA 0 file 1
DATA_SOURCE 0 file $1
RX_PATH
TASK_NOT_RUNNING
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-u32max[c]
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_ino
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_linklen
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
HALF_LOCKED2 _T->lock

drivers/tty/tty_io.c tty_release_redirect() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &redirect_lock
HALF_LOCKED2 &tty->driver_data->d_lockref.lock

drivers/tty/tty_io.c tty_show_fdinfo() -> file_tty()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
CAPPED_DATA 0 file 1
DATA_SOURCE 0 file $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock