Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 37 files:

Smatch caller information:

drivers/char/ttyprintk.c ttyprintk_init() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 7945002277798719488
NOCHECK_CALL

drivers/tty/serial/serial_core.c uart_register_driver() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
BUF_SIZE 0 port 984
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &amba_reg_lock
HALF_LOCKED2 global &max3100s_lock
HALF_LOCKED2 global &sci_uart_registration_lock

drivers/usb/serial/usb-serial.c usb_serial_probe() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/tty/nozomi.c nozomi_card_init() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/tty/n_gsm.c gsm_dlci_alloc() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &gsm->mutex
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->legacy_mutex

drivers/staging/greybus/uart.c gb_uart_probe() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/tty/goldfish.c goldfish_tty_probe() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &goldfish_tty_lock

drivers/tty/hvc/hvc_console.c hvc_alloc() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/host/xhci-dbgtty.c xhci_dbc_tty_init_port() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/tty/rpmsg_tty.c rpmsg_tty_probe() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/tty/moxa.c moxa_init_board() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 16,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ipack/devices/ipoctal.c ipoctal_inst_slot() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/tty/pty.c pty_common_install() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &spk_mutex
HALF_LOCKED2 global &tty_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/tty/pty.c pty_common_install() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &spk_mutex
HALF_LOCKED2 global &tty_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/tty/vt/vt.c con_init() -> tty_port_init()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 global &console_sem

drivers/tty/vt/vt.c vc_allocate() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &console_sem
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 global &system_transition_mutex

drivers/misc/bcm-vk/bcm_vk_tty.c bcm_vk_tty_init() -> tty_port_init()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/bluetooth/rfcomm/tty.c __rfcomm_dev_add() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
NOCHECK_CALL
LOCK2 global &rfcomm_dev_lock
LOCK2 global &rfcomm_ioctl_mutex

drivers/usb/class/cdc-acm.c acm_probe() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/tty/ttynull.c ttynull_init() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 8427960105842417664
NOCHECK_CALL

drivers/usb/gadget/function/u_serial.c gs_port_alloc() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &func_lock

drivers/tty/mxser.c mxser_initbrd() -> tty_port_init()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/usb/hso.c hso_serial_common_create() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mmc/core/sdio_uart.c sdio_uart_probe() -> tty_port_init()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL