Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/function/u_serial.c gs_console_exit() -> gs_console_disconnect()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->console 4096-ptr_max
PARAM_VALUE 0 port->console->req 1-u64max
PARAM_VALUE 0 port->port_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 port $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &port->port_lock
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
TYPE_LOCK (struct gs_port)->port_lock

drivers/usb/gadget/function/u_serial.c gserial_disconnect() -> gs_console_disconnect()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->port_lock.rlock.dep_map->name 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 global &serial_port_lock
LOCK2 0 &port->port_lock
TYPE_LOCK (struct gs_port)->port_lock