Defined in 6 files as a function:
- drivers/tty/amiserial.c, line 303 (as a function)
- drivers/tty/serial/dz.c, line 299 (as a function)
- drivers/tty/serial/icom.c, line 918 (as a function)
- drivers/tty/serial/omap-serial.c, line 410 (as a function)
- drivers/tty/serial/pxa.c, line 196 (as a function)
- drivers/tty/serial/sunsu.c, line 409 (as a function)
Referenced in 5 files:
- drivers/tty/amiserial.c, line 384
- drivers/tty/serial/icom.c
- drivers/tty/serial/omap-serial.c
- drivers/tty/serial/pxa.c, line 232
- drivers/tty/serial/sunsu.c, line 442
Smatch caller information:
drivers/tty/serial/icom.c icom_interrupt() -> check_modem_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icom_port | 4096-ptr_max |
| PARAM_VALUE | 0 | icom_port->next_rcv | s16min-s16max |
| PARAM_VALUE | 0 | icom_port->uart_port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | icom_port->uart_port.state->port.buf.tail | 4096-ptr_max |
| PARAM_VALUE | 0 | icom_port->uart_port.state->port.buf.tail->next->size | 0,256-u32max |
| PARAM_VALUE | 0 | icom_port->uart_port.state->port.buf.tail->size | 0,256-u32max |
| PARAM_VALUE | 0 | icom_port->uart_port.state->port.client_data->serdev->write_comp.done | 0-4294967295 |
| PARAM_VALUE | 0 | icom_port->uart_port.state->port.client_data->serdev->write_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | icom_port->uart_port.state->port.client_data->serdev->write_comp.wait.lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | icom_port | 1472 |
| BUF_SIZE | 0 | icom_port | 1472 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/tty/serial/icom.c icom_interrupt() -> check_modem_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icom_port | 4096-ptr_max |
| PARAM_VALUE | 0 | icom_port->next_rcv | s16min-s16max |
| PARAM_VALUE | 0 | icom_port->status | 1 |
| BUF_SIZE | 0 | icom_port | 736 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/tty/serial/icom.c icom_interrupt() -> check_modem_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icom_port | 4096-ptr_max |
| PARAM_VALUE | 0 | icom_port->next_rcv | s16min-s16max |
| BUF_SIZE | 0 | icom_port | 2944 |
| BUF_SIZE | 0 | icom_port | 2944 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/tty/serial/icom.c icom_interrupt() -> check_modem_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icom_port | 4096-ptr_max |
| PARAM_VALUE | 0 | icom_port->next_rcv | s16min-s16max |
| PARAM_VALUE | 0 | icom_port->status | 1 |
| BUF_SIZE | 0 | icom_port | 2208 |
| BUF_SIZE | 0 | icom_port | 2208 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/tty/serial/omap-serial.c serial_omap_console_write() -> check_modem_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icom_port | 4096-ptr_max |
| PARAM_VALUE | 0 | icom_port->lsr_break_flag | 16 |
| PARAM_VALUE | 0 | icom_port->msr_saved_flags | 1-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | icom_port->msr_saved_flags | 1-255[c] |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &icom_port->port.lock |
drivers/tty/serial/omap-serial.c serial_omap_get_mctrl() -> check_modem_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icom_port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &state->uart_port->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/omap-serial.c serial_omap_irq() -> check_modem_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icom_port | 4096-ptr_max |
| PARAM_VALUE | 0 | icom_port->port.cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | icom_port->port.lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | icom_port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | icom_port->port.sysrq_ch | 1-255 |
| LOCK2 | 0 | &icom_port->port.lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |