Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/serial/metro-usb.c metrousb_cleanup() -> metrousb_send_unidirectional_cmd()

Type Parameter Key Value
PARAM_VALUE 0 cmd 255
PARAM_VALUE 1 port 4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb 0,4096-ptr_max
PARAM_VALUE 1 port->serial 4096-ptr_max
PARAM_VALUE 1 port->serial->type 4096-ptr_max
PARAM_VALUE 1 port->serial->type->close 4096-ptr_max
CAPPED_DATA 1 port->interrupt_in_urb 1
DATA_SOURCE 1 port $0
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/metro-usb.c metrousb_open() -> metrousb_send_unidirectional_cmd()

Type Parameter Key Value
PARAM_VALUE 0 cmd 128
PARAM_VALUE 1 port 4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb 4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb->actual_length 0-s32max
PARAM_VALUE 1 port->interrupt_in_urb->complete 2290330052832382976
PARAM_VALUE 1 port->interrupt_in_urb->context 4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb->dev 4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb->dev->state 4-u32max
PARAM_VALUE 1 port->interrupt_in_urb->ep 4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb->ep->urb_list.prev 4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb->ep->urb_list.prev->next 4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb->ep->urb_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb->hcpriv 0,4096-ptr_max
PARAM_VALUE 1 port->interrupt_in_urb->interval s32min-32768
PARAM_VALUE 1 port->interrupt_in_urb->num_mapped_sgs 0-s32max
PARAM_VALUE 1 port->interrupt_in_urb->pipe 0,128-u32max
PARAM_VALUE 1 port->interrupt_in_urb->start_frame (-1)
PARAM_VALUE 1 port->interrupt_in_urb->status (-4095)-0
PARAM_VALUE 1 port->interrupt_in_urb->transfer_buffer->bDeviceProtocol 1
PARAM_VALUE 1 port->interrupt_in_urb->transfer_buffer->bmAttributes 0-255
PARAM_VALUE 1 port->interrupt_in_urb->transfer_buffer_length 0-s32max
PARAM_VALUE 1 port->interrupt_in_urb->urb_list.prev->next 4096-ptr_max
PARAM_VALUE 1 port->serial 4096-ptr_max
PARAM_VALUE 1 port->serial->dev 4096-ptr_max
PARAM_VALUE 1 port->serial->dev->state 4-u32max
PARAM_VALUE 1 port->serial->disc_mutex.dep_map->name 0-255
PARAM_VALUE 1 port->serial->disc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 port->serial->disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 port->serial->disc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 port->serial->disc_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 port->serial->disc_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 port->serial->disc_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 port->serial->disconnected 0
PARAM_VALUE 1 port->serial->interface 4096-ptr_max
PARAM_VALUE 1 port->serial->interface->dev.power.request 0-4
PARAM_VALUE 1 port->serial->interface->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 1 port->serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 port->serial->type 4096-ptr_max
PARAM_VALUE 1 *port->serial->dev->toggle 0-4294967295
CAPPED_DATA 1 port->interrupt_in_urb 1
CAPPED_DATA 1 port->interrupt_in_urb->transfer_buffer_length 1
DATA_SOURCE 1 port $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 port->port.tty->index 0-s16max[c]
USER_DATA 1 port->port.tty->termios.c_ispeed 0-u32max
USER_DATA 1 port->port.tty->termios.c_ospeed 0-u32max
NO_OVERFLOW_SIMPLE 1 port->interrupt_in_urb->num_mapped_sgs
LOCK2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex