Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 16 files:
- drivers/usb/serial/ark3116.c
- drivers/usb/serial/belkin_sa.c, line 163
- drivers/usb/serial/ch341.c, line 445
- drivers/usb/serial/cp210x.c, line 807
- drivers/usb/serial/f81232.c, line 747
- drivers/usb/serial/generic.c, line 135
- drivers/usb/serial/kl5kusb105.c
- drivers/usb/serial/mct_u232.c, line 501
- drivers/usb/serial/mxuport.c
- drivers/usb/serial/opticon.c, line 159
- drivers/usb/serial/pl2303.c, line 1077
- drivers/usb/serial/upd78f0730.c, line 404
- drivers/usb/serial/visor.c, line 249
- drivers/usb/serial/whiteheat.c, line 390
- drivers/usb/serial/wishbone-serial.c, line 66
- drivers/usb/serial/xr_serial.c, line 946
Smatch caller information:
drivers/usb/serial/mxuport.c mxuport_attach() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/serial/mxuport.c mxuport_release() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | global &console_mutex |
drivers/usb/serial/mxuport.c mxuport_release() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | global &console_mutex |
drivers/usb/serial/mct_u232.c mct_u232_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->interrupt_in_urb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| CAPPED_DATA | 0 | port->interrupt_in_urb | 1 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/ark3116.c ark3116_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/ark3116.c ark3116_open() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port->serial->disconnected | 0 |
| PARAM_VALUE | 0 | port->serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 0 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | port->port.tty->termios.c_ospeed | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | port->interrupt_in_urb->num_mapped_sgs | |
| LOCK2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex |
drivers/usb/serial/upd78f0730.c upd78f0730_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/whiteheat.c whiteheat_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/xr_serial.c xr_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/belkin_sa.c belkin_sa_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/f81232.c f81232_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/cp210x.c cp210x_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/visor.c visor_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/opticon.c opticon_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/wishbone-serial.c wishbone_serial_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/ch341.c ch341_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/kl5kusb105.c klsi_105_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/kl5kusb105.c klsi_105_open() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port->serial->disconnected | 0 |
| PARAM_VALUE | 0 | port->serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 0 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | port->port.tty->termios.c_ospeed | 0-u32max |
| LOCK2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex |
drivers/usb/serial/pl2303.c pl2303_close() -> usb_serial_generic_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/usb-serial.c serial_port_shutdown() -> (struct usb_serial_driver)->close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |