Documented in 1 files:

Defined in 1 files as a function:

Referenced in 17 files:

Smatch caller information:

drivers/tty/serial/sh-sci.c sci_dma_tx_work_fn() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
BUF_SIZE 0 up 616
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/tty/serial/serial_core.c class_uart_port_lock_irq_constructor() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 1-u64max
PARAM_VALUE 0 up->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 up->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 up->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 up->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 up->ops->enable_ms 0,4096-ptr_max
PARAM_VALUE 0 up->ops->start_rx 0,4096-ptr_max
PARAM_VALUE 0 up->ops->type 0,4096-ptr_max
PARAM_VALUE 0 up->port_dev->dev.power.wakeirq->status 0-4294967295
BUF_SIZE 0 up s32min-(-1),1-s32max
BUF_SIZE 0 up s32min-(-1),1-s32max
DATA_SOURCE 0 up $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 up unit_byte
HALF_LOCKED2 &m->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &up->lock

drivers/tty/serial/8250/8250_bcm7271.c brcmuart_startup() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 1346846652993830912
PARAM_VALUE 0 up->attr_group 0
PARAM_VALUE 0 up->break_ctl 0
PARAM_VALUE 0 up->cons 0
PARAM_VALUE 0 up->console_reinit 0
PARAM_VALUE 0 up->ctrl_id 0
PARAM_VALUE 0 up->custom_divisor 0
PARAM_VALUE 0 up->dev 0,4096-ptr_max
PARAM_VALUE 0 up->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 up->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 up->flags 0,64-u64max
PARAM_VALUE 0 up->get_divisor 0
PARAM_VALUE 0 up->get_mctrl 0
PARAM_VALUE 0 up->get_rxtrig 0
PARAM_VALUE 0 up->handle_break 0
PARAM_VALUE 0 up->has_sysrq 0
PARAM_VALUE 0 up->hub6 0
PARAM_VALUE 0 up->hw_stopped 0
PARAM_VALUE 0 up->icount 0
PARAM_VALUE 0 up->ignore_status_mask 0-1,12-13,16-19,28-31
PARAM_VALUE 0 up->iobase 0
PARAM_VALUE 0 up->iotype (-1)-0,2-3,6-7
PARAM_VALUE 0 up->irq 0-s32max
PARAM_VALUE 0 up->irqflags 0
PARAM_VALUE 0 up->iso7816 0
PARAM_VALUE 0 up->iso7816_config 0
PARAM_VALUE 0 up->lock s32min-s32max
PARAM_VALUE 0 up->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 up->membase 0,4096-ptr_max
PARAM_VALUE 0 up->minor 0
PARAM_VALUE 0 up->name 0
PARAM_VALUE 0 up->ops 0
PARAM_VALUE 0 up->ops->start_rx 0,4096-ptr_max
PARAM_VALUE 0 up->pm 0
PARAM_VALUE 0 up->port_dev 0
PARAM_VALUE 0 up->port_id 0
PARAM_VALUE 0 up->private_data 0,4096-ptr_max
PARAM_VALUE 0 up->quirks 0
PARAM_VALUE 0 up->read_status_mask 0,3,15,19,31
PARAM_VALUE 0 up->rs485 0
PARAM_VALUE 0 up->rs485_config 0
PARAM_VALUE 0 up->rs485_rx_during_tx_gpio 0
PARAM_VALUE 0 up->rs485_supported 0
PARAM_VALUE 0 up->rs485_term_gpio 0
PARAM_VALUE 0 up->set_divisor 0
PARAM_VALUE 0 up->set_ldisc 0
PARAM_VALUE 0 up->set_mctrl 0
PARAM_VALUE 0 up->set_rxtrig 0
PARAM_VALUE 0 up->set_termios 0,4101205415987269632
PARAM_VALUE 0 up->shutdown 0,8718491819880652800
PARAM_VALUE 0 up->startup 0,3434437052138033152
PARAM_VALUE 0 up->state 0
PARAM_VALUE 0 up->status 0
PARAM_VALUE 0 up->suspended 0
PARAM_VALUE 0 up->sysrq 0
PARAM_VALUE 0 up->sysrq_ch 0
PARAM_VALUE 0 up->sysrq_seq 0
PARAM_VALUE 0 up->throttle 0,1910511969926316032
PARAM_VALUE 0 up->tty_groups 0
PARAM_VALUE 0 up->type 0,76
PARAM_VALUE 0 up->unthrottle 0,2750326186656206848
PARAM_VALUE 0 up->x_char 0
BUF_SIZE 0 up s32min-(-1),1-s32max
BUF_SIZE 0 up s32min-(-1),1-s32max
DATA_SOURCE 0 up $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 0 &up->lock

drivers/tty/serial/8250/8250_rsa.c class_uart_port_lock_irq_constructor() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->type 13
DATA_SOURCE 0 up $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &_T->lock->lock
HALF_LOCKED2 _T->flags

drivers/tty/serial/8250/8250_omap.c class_uart_port_lock_irq_constructor() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 0,4096-ptr_max
PARAM_VALUE 0 up->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 up->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 up->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 up->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 up->ops->pm 0,4096-ptr_max
PARAM_VALUE 0 up->ops->poll_get_char 0,4096-ptr_max
PARAM_VALUE 0 up->ops->poll_init 0,542853678643802112,853403963737563136,1231480850374565888,1236650878105227264,3206955665515188224,5661098704952168448,7022633692052856832
PARAM_VALUE 0 up->ops->poll_put_char 0,4096-ptr_max
PARAM_VALUE 0 up->ops->start_rx 0,4096-ptr_max
BUF_SIZE 0 up s32min-(-1),1-s32max
BUF_SIZE 0 up s32min-(-1),1-s32max
BUF_SIZE 0 up->uartclk (-1),9
DATA_SOURCE 0 up $0
STR_LEN 0 up (-1),7
STR_LEN 0 up (-1),7
STR_LEN 0 up->cons (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 up->cons->cflag 0
HOST_DATA 0 up->cons->dropped 0
HOST_DATA 0 up->cons->irq_work.node.a_flags.counter 0
HOST_DATA 0 up->cons->irq_work.node.dst 0
HOST_DATA 0 up->cons->irq_work.node.src 0
HOST_DATA 0 up->cons->irq_work.node.u_flags 0
HOST_DATA 0 up->cons->ispeed 0
HOST_DATA 0 up->cons->nbcon_device_ctxt.allow_unsafe_takeover 0
HOST_DATA 0 up->cons->nbcon_device_ctxt.backlog 0
HOST_DATA 0 up->cons->nbcon_device_ctxt.prio 0
HOST_DATA 0 up->cons->nbcon_device_ctxt.seq 0
HOST_DATA 0 up->cons->nbcon_device_ctxt.spinwait_max_us 0
HOST_DATA 0 up->cons->nbcon_prev_seq.counter 0
HOST_DATA 0 up->cons->nbcon_seq.counter 0
HOST_DATA 0 up->cons->nbcon_state.counter 0
HOST_DATA 0 up->cons->ospeed 0
HOST_DATA 0 up->cons->seq 0
NO_OVERFLOW_SIMPLE 0 up->dev->power.wakeirq->irq
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &up->lock

drivers/tty/serial/8250/8250_exar.c xr17v35x_startup() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 6529596623791599616
PARAM_VALUE 0 up->attr_group 0
PARAM_VALUE 0 up->break_ctl 0
PARAM_VALUE 0 up->cons 0
PARAM_VALUE 0 up->console_reinit 0
PARAM_VALUE 0 up->ctrl_id 0
PARAM_VALUE 0 up->custom_divisor 0
PARAM_VALUE 0 up->dev 0,4096-ptr_max
PARAM_VALUE 0 up->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 up->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 up->flags 0,721420288
PARAM_VALUE 0 up->frame_time 0
PARAM_VALUE 0 up->get_divisor 0,2807437018230194176
PARAM_VALUE 0 up->get_mctrl 0
PARAM_VALUE 0 up->get_rxtrig 0
PARAM_VALUE 0 up->handle_break 0
PARAM_VALUE 0 up->has_sysrq 0
PARAM_VALUE 0 up->hub6 0
PARAM_VALUE 0 up->hw_stopped 0
PARAM_VALUE 0 up->icount 0
PARAM_VALUE 0 up->ignore_status_mask 0
PARAM_VALUE 0 up->iotype 0,2
PARAM_VALUE 0 up->irqflags 0
PARAM_VALUE 0 up->iso7816 0
PARAM_VALUE 0 up->iso7816_config 0
PARAM_VALUE 0 up->line 0
PARAM_VALUE 0 up->lock s32min-s32max
PARAM_VALUE 0 up->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 up->mapsize 0
PARAM_VALUE 0 up->minor 0
PARAM_VALUE 0 up->name 0
PARAM_VALUE 0 up->ops 0
PARAM_VALUE 0 up->ops->start_rx 0,4096-ptr_max
PARAM_VALUE 0 up->pm 0,2996081791248404480
PARAM_VALUE 0 up->port_dev 0
PARAM_VALUE 0 up->port_id 0-4294967294
PARAM_VALUE 0 up->private_data 0,4096-u64max
PARAM_VALUE 0 up->private_data->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 up->quirks 0
PARAM_VALUE 0 up->read_status_mask 0
PARAM_VALUE 0 up->regshift 0,2,4,7
PARAM_VALUE 0 up->rs485 0
PARAM_VALUE 0 up->rs485_rx_during_tx_gpio 0
PARAM_VALUE 0 up->rs485_supported 0
PARAM_VALUE 0 up->rs485_term_gpio 0
PARAM_VALUE 0 up->serial_out 4096-ptr_max
PARAM_VALUE 0 up->set_divisor 0,513757538912956416
PARAM_VALUE 0 up->set_ldisc 0
PARAM_VALUE 0 up->set_mctrl 0
PARAM_VALUE 0 up->set_rxtrig 0
PARAM_VALUE 0 up->set_termios 0
PARAM_VALUE 0 up->shutdown 0,8962044655378399232
PARAM_VALUE 0 up->startup 0,3856046705570344960
PARAM_VALUE 0 up->state 0
PARAM_VALUE 0 up->status 0
PARAM_VALUE 0 up->suspended 0
PARAM_VALUE 0 up->sysrq 0
PARAM_VALUE 0 up->sysrq_ch 0
PARAM_VALUE 0 up->sysrq_seq 0
PARAM_VALUE 0 up->throttle 0
PARAM_VALUE 0 up->tty_groups 0
PARAM_VALUE 0 up->type 0,21,24
PARAM_VALUE 0 up->uartclk 0-s32max
PARAM_VALUE 0 up->unthrottle 0
PARAM_VALUE 0 up->x_char 0
BUF_SIZE 0 up s32min-(-1),1-s32max
BUF_SIZE 0 up s32min-(-1),1-s32max
DATA_SOURCE 0 up $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 0 &up->lock

drivers/tty/serial/amba-pl010.c pl010_set_ldisc() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->flags 0,2048-u64max
PARAM_VALUE 0 up->ops 4096-ptr_max
PARAM_VALUE 0 up->ops->set_ldisc 107133540459220992,1038783411328565248,3180651508792717312,7260017805025792000,8776397759870930944,9016880667063590912
DATA_SOURCE 0 up $0
BIT_INFO 0 up->flags 0x800,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
LOCK2 &tty->termios_rwsem
LOCK2 _T->lock
HALF_LOCKED2 global &speakup_tty_mutex
HALF_LOCKED2 global &spk_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex
TYPE_LOCK (struct tty_struct)->termios_rwsem

drivers/tty/serial/amba-pl010.c pl010_set_ldisc() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->ops 4096-ptr_max
PARAM_VALUE 0 up->ops->set_ldisc 107133540459220992,1038783411328565248,3180651508792717312,7260017805025792000,8776397759870930944,9016880667063590912
DATA_SOURCE 0 up $0
BIT_INFO 0 up->flags 0x0,0xfffffffffffff7ff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
LOCK2 &tty->termios_rwsem
LOCK2 _T->lock
HALF_LOCKED2 global &speakup_tty_mutex
HALF_LOCKED2 global &spk_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex
TYPE_LOCK (struct tty_struct)->termios_rwsem

drivers/tty/serial/8250/8250_port.c class_uart_port_lock_irq_constructor() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->ops->set_ldisc 0,107133540459220992,1038783411328565248,3180651508792717312,7260017805025792000,8776397759870930944,9016880667063590912
BUF_SIZE 0 up (-1),616
BUF_SIZE 0 up (-1),616
DATA_SOURCE 0 up $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &probing_active
HALF_LOCKED2 0 &up->lock

drivers/tty/serial/imx.c imx_uart_enable_wakeup() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fsm->lock

drivers/tty/serial/men_z135_uart.c men_z135_set_termios() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 up->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 up->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 up->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 up->membase 4096-ptr_max
PARAM_VALUE 0 up->ops 4096-ptr_max
PARAM_VALUE 0 up->ops->poll_get_char 0,4096-ptr_max
PARAM_VALUE 0 up->ops->poll_init 0,542853678643802112,853403963737563136,1231480850374565888,1236650878105227264,3206955665515188224,5661098704952168448,7022633692052856832
PARAM_VALUE 0 up->ops->poll_put_char 0,4096-ptr_max
PARAM_VALUE 0 up->ops->start_rx 0,4096-ptr_max
BUF_SIZE 0 up s32min-(-1),1-s32max
BUF_SIZE 0 up s32min-(-1),1-s32max
BUF_SIZE 0 up->uartclk (-1),9
DATA_SOURCE 0 up $0
STR_LEN 0 up (-1),7
STR_LEN 0 up (-1),7
STR_LEN 0 up->cons (-1)
NOSPEC 0 up->cons->index
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 up->cons->cflag s32min-0,16-s32max
HOST_DATA 0 up->cons->dropped 0
HOST_DATA 0 up->cons->irq_work.node.a_flags.counter 0-s32max
HOST_DATA 0 up->cons->irq_work.node.dst 0-u16max
HOST_DATA 0 up->cons->irq_work.node.src 0-u16max
HOST_DATA 0 up->cons->irq_work.node.u_flags 0-s32max
HOST_DATA 0 up->cons->ispeed 0-s32max
HOST_DATA 0 up->cons->nbcon_device_ctxt.allow_unsafe_takeover 0
HOST_DATA 0 up->cons->nbcon_device_ctxt.backlog 0
HOST_DATA 0 up->cons->nbcon_device_ctxt.prio 0
HOST_DATA 0 up->cons->nbcon_device_ctxt.seq 0
HOST_DATA 0 up->cons->nbcon_device_ctxt.spinwait_max_us 0
HOST_DATA 0 up->cons->nbcon_prev_seq.counter (-1)-0
HOST_DATA 0 up->cons->nbcon_seq.counter s64min-s64max
HOST_DATA 0 up->cons->nbcon_state.counter 0
HOST_DATA 0 up->cons->ospeed 0-u32max
HOST_DATA 0 up->cons->seq 0-u64max
USER_DATA 0 up->cons->index 0-3[c]
HALF_LOCKED2 &port->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/tty/serial/qcom_geni_serial.c qcom_geni_serial_shutdown() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->ops 4096-ptr_max
BUF_SIZE 0 up s32min-(-1),1-s32max
BUF_SIZE 0 up s32min-(-1),1-s32max
DATA_SOURCE 0 up $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 0 &up->lock

drivers/tty/serial/qcom_geni_serial.c qcom_geni_serial_startup() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->cons 0,4096-ptr_max
PARAM_VALUE 0 up->dev 4096-ptr_max
PARAM_VALUE 0 up->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 up->dev->class 0,4096-ptr_max
PARAM_VALUE 0 up->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 up->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 up->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 up->dev->power.request 0-4
PARAM_VALUE 0 up->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 up->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 up->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 up->dev->type 0,4096-ptr_max
PARAM_VALUE 0 up->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 up->ops->start_rx 0,4096-ptr_max
BUF_SIZE 0 up s32min-(-1),1-s32max
BUF_SIZE 0 up s32min-(-1),1-s32max
DATA_SOURCE 0 up $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 0 &up->lock

drivers/tty/serial/8250/8250_core.c class_uart_port_lock_irq_constructor() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->cons 4096-ptr_max
PARAM_VALUE 0 up->line 0-s16max,4294934528-u32max
BUF_SIZE 0 up 616
CAPPED_DATA 0 up->cons->index 1
CAPPED_DATA 0 up->line 1
DATA_SOURCE 0 up $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/tty/serial/atmel_serial.c atmel_set_ldisc() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->flags 0,2048-u64max
PARAM_VALUE 0 up->ops 4096-ptr_max
PARAM_VALUE 0 up->ops->set_ldisc 107133540459220992,1038783411328565248,3180651508792717312,7260017805025792000,8776397759870930944,9016880667063590912
DATA_SOURCE 0 up $0
BIT_INFO 0 up->flags 0x800,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
LOCK2 &tty->termios_rwsem
LOCK2 _T->lock
HALF_LOCKED2 global &speakup_tty_mutex
HALF_LOCKED2 global &spk_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex
TYPE_LOCK (struct tty_struct)->termios_rwsem

drivers/tty/serial/atmel_serial.c atmel_set_ldisc() -> uart_port_lock_irq()

Type Parameter Key Value
PARAM_VALUE 0 up 4096-ptr_max
PARAM_VALUE 0 up->ops 4096-ptr_max
PARAM_VALUE 0 up->ops->set_ldisc 107133540459220992,1038783411328565248,3180651508792717312,7260017805025792000,8776397759870930944,9016880667063590912
DATA_SOURCE 0 up $0
BIT_INFO 0 up->flags 0x0,0xfffffffffffff7ff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
LOCK2 &tty->termios_rwsem
LOCK2 _T->lock
HALF_LOCKED2 global &speakup_tty_mutex
HALF_LOCKED2 global &spk_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex
TYPE_LOCK (struct tty_struct)->termios_rwsem