Defined in 2 files as a function:
- include/linux/serial_core.h, line 1245 (as a function)
- include/linux/serial_core.h, line 1290 (as a function)
Referenced in 18 files:
- drivers/tty/serial/8250/8250_omap.c, line 1336
- drivers/tty/serial/amba-pl011.c
- drivers/tty/serial/ar933x_uart.c, line 470
- drivers/tty/serial/bcm63xx_uart.c, line 358
- drivers/tty/serial/fsl_lpuart.c
- drivers/tty/serial/lpc32xx_hs.c, line 331
- drivers/tty/serial/meson_uart.c, line 249
- drivers/tty/serial/msm_serial.c, line 992
- drivers/tty/serial/omap-serial.c, line 566
- drivers/tty/serial/owl-uart.c, line 251
- drivers/tty/serial/pch_uart.c, line 1084
- drivers/tty/serial/pxa.c, line 235
- drivers/tty/serial/qcom_geni_serial.c, line 1286
- drivers/tty/serial/rda-uart.c, line 423
- drivers/tty/serial/sifive.c, line 540
- drivers/tty/serial/stm32-usart.c
- drivers/tty/serial/sunplus-uart.c, line 292
- drivers/tty/serial/xilinx_uartps.c, line 494
Smatch caller information:
drivers/tty/serial/sunplus-uart.c sunplus_uart_irq() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/8250/8250_omap.c omap_8250_dma_handle_irq() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial_in | 4096-ptr_max |
| BUF_SIZE | 0 | port | 616 |
| DATA_SOURCE | 0 | port | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/meson_uart.c meson_uart_interrupt() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/stm32-usart.c stm32_usart_interrupt() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/stm32-usart.c stm32_usart_interrupt() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/pch_uart.c pch_uart_interrupt() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->port.lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/lpc32xx_hs.c serial_lpc32xx_interrupt() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->state | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/xilinx_uartps.c cdns_uart_isr() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/sifive.c sifive_serial_irq() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ssp->port.lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/bcm63xx_uart.c bcm_uart_interrupt() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/qcom_geni_serial.c qcom_geni_serial_isr() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->suspended | 0 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/fsl_lpuart.c lpuart32_rxint() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->sysrq_ch | 1-255[c] |
| LOCK2 | &sport->port.lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/fsl_lpuart.c lpuart_rxint() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->sysrq_ch | 1-255 |
| LOCK2 | &sport->port.lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/rda-uart.c rda_interrupt() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/owl-uart.c owl_uart_irq() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/msm_serial.c msm_uart_irq() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | port | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/tty/serial/omap-serial.c serial_omap_irq() -> uart_unlock_and_check_sysrq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port->cons | 0,4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->sysrq_ch | 1-255 |
| LOCK2 | &up->port.lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uart_port)->lock |