Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/serial/whiteheat.c whiteheat_close() -> stop_command_port()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 serial->type->close 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &tty->legacy_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/usb/serial/whiteheat.c whiteheat_open() -> stop_command_port()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 serial->disc_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 serial->disconnected 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->dev.power.request 0-4
PARAM_VALUE 0 serial->interface->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 *serial->dev->toggle 0-4294967295
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/whiteheat.c whiteheat_open() -> stop_command_port()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 serial->disc_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 serial->disconnected 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->dev.power.request 0-4
PARAM_VALUE 0 serial->interface->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 *serial->dev->toggle 0-4294967295
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/whiteheat.c whiteheat_open() -> stop_command_port()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 serial->disc_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 serial->disconnected 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->dev.power.request 0-4
PARAM_VALUE 0 serial->interface->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 *serial->dev->toggle 0-4294967295
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex