Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/tty/tty_io.c tty_init_dev() -> alloc_tty_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | driver | 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 |
| DATA_SOURCE | 0 | driver | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | idx | unit_array_size |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | global &tty_mutex |
drivers/tty/pty.c pty_common_install() -> alloc_tty_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | driver | 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | idx | unit_array_size |
| LOCK2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | global &tty_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |