Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/tty/tty_port.c tty_port_close() -> tty_port_close_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->count | 0 |
| PARAM_VALUE | 0 | port->ops->dtr_rts | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->ops->shutdown | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->closing | 1 |
| PARAM_VALUE | 1 | tty->driver_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->driver_data->port_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->driver_data->refcount.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->driver_data->uart_port->state->refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | tty->driver_data->write_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->ldisc_sem.dep_map->name | 0-255 |
| 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->close | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->ldisc_ok | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->lookup | 0,1028560029362032640,3174408500077174784 |
| PARAM_VALUE | 1 | tty->ops->open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->set_ldisc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->set_termios | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->port->buf.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | tty->port->buf.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->port->buf.work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 1 | tty | s32min,(-1),1-s32max |
| BUF_SIZE | 1 | tty | s32min,(-1),1-s32max |
| CAPPED_DATA | 1 | tty | 1 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | tty | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &tty->legacy_mutex | |
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | 1 | &tty->driver_data->d_lockref.lock | |
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/tty/n_gsm.c gsmtty_close() -> tty_port_close_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->count | 0 |
| PARAM_VALUE | 1 | tty | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->closing | 1 |
| PARAM_VALUE | 1 | tty->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->driver_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->driver_data->port_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->driver_data->refcount.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | tty->driver_data->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->driver_data->uart_port->state->refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | tty->driver_data->write_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->ldisc_sem.dep_map->name | 0-255 |
| 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->chars_in_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->close | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->ldisc_ok | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->lookup | 0,1028560029362032640,3174408500077174784 |
| PARAM_VALUE | 1 | tty->ops->open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->set_ldisc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->set_termios | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->ops->write | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->port->buf.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->port->buf.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | tty->port->buf.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tty->port->buf.work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tty->termios_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 1 | tty | s32min,(-1),1-s32max |
| BUF_SIZE | 1 | tty | s32min,(-1),1-s32max |
| CAPPED_DATA | 1 | tty | 1 |
| DATA_SOURCE | 1 | tty | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | 1 | &tty->driver_data->d_lockref.lock | |
| HALF_LOCKED2 | 1 | &tty->legacy_mutex |