Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/pty.c pty_install() -> pty_common_install()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | driver | 4096-ptr_max |
| PARAM_VALUE | 0 | driver->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | driver->ops->install | 4096-ptr_max |
| PARAM_VALUE | 0 | driver->ops->lookup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | driver->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | driver->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | tty | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->atomic_write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->atomic_write_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | tty->atomic_write_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->atomic_write_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | tty->atomic_write_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | tty->ctrl.pgrp | 0 |
| PARAM_VALUE | 1 | tty->ctrl.session | 0 |
| PARAM_VALUE | 1 | tty->dev | 0 |
| PARAM_VALUE | 1 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->driver->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc->tty | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.count.counter | 0 |
| PARAM_VALUE | 1 | tty->ldisc_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.wait_lock.magic | 3735899821 |
| PARAM_VALUE | 1 | tty->ldisc_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | tty->ldisc_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | tty->ldisc_sem.wait_readers | 0 |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->legacy_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->legacy_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->legacy_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->legacy_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->legacy_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->ops->lookup | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->termios_rwsem.count.counter | 0 |
| PARAM_VALUE | 1 | tty->termios_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter | 0 |
| PARAM_VALUE | 1 | tty->termios_rwsem.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->termios_rwsem.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | tty->termios_rwsem.owner.counter | 0 |
| PARAM_VALUE | 1 | tty->throttle_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->throttle_mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | tty->throttle_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->throttle_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | tty->throttle_mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | tty->tty_files.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->tty_files.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->tty_files.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->tty_files.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->tty_files.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->winsize_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->winsize_mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | tty->winsize_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->winsize_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | tty->winsize_mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | tty->write_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->write_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->write_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->write_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->write_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | legacy | 1 |
| BUF_SIZE | 1 | tty | 1816 |
| DATA_SOURCE | 0 | driver | $0 |
| DATA_SOURCE | 1 | tty | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &tty->legacy_mutex | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | global &tty_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/tty/pty.c pty_unix98_install() -> pty_common_install()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | driver | 4096-ptr_max |
| PARAM_VALUE | 0 | driver->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | driver->ops->install | 4096-ptr_max |
| PARAM_VALUE | 0 | driver->ops->lookup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | driver->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | driver->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | tty | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->atomic_write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->atomic_write_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | tty->atomic_write_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->atomic_write_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | tty->atomic_write_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | tty->ctrl.pgrp | 0 |
| PARAM_VALUE | 1 | tty->ctrl.session | 0 |
| PARAM_VALUE | 1 | tty->dev | 0 |
| PARAM_VALUE | 1 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->driver->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc->tty | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.count.counter | 0 |
| PARAM_VALUE | 1 | tty->ldisc_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.read_wait.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.wait_lock.magic | 3735899821 |
| PARAM_VALUE | 1 | tty->ldisc_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | tty->ldisc_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | tty->ldisc_sem.wait_readers | 0 |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ldisc_sem.write_wait.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->legacy_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->legacy_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->legacy_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->legacy_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->legacy_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->ops->lookup | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->read_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->termios_rwsem.count.counter | 0 |
| PARAM_VALUE | 1 | tty->termios_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter | 0 |
| PARAM_VALUE | 1 | tty->termios_rwsem.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->termios_rwsem.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | tty->termios_rwsem.owner.counter | 0 |
| PARAM_VALUE | 1 | tty->throttle_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->throttle_mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | tty->throttle_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->throttle_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | tty->throttle_mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | tty->tty_files.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->tty_files.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->tty_files.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->tty_files.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->tty_files.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->winsize_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->winsize_mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | tty->winsize_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->winsize_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | tty->winsize_mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | tty->write_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->write_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->write_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->write_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->write_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | legacy | 0 |
| BUF_SIZE | 1 | tty | 1816 |
| DATA_SOURCE | 0 | driver | $0 |
| DATA_SOURCE | 1 | tty | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &tty->legacy_mutex | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | global &tty_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |