Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/serial/pl2303.c pl2303_startup() -> pl2303_vendor_read()

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
PARAM_VALUE 0 serial->disc_mutex.magic 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0
PARAM_VALUE 0 serial->disc_mutex.owner.counter 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->altsetting 4096-ptr_max
PARAM_VALUE 0 serial->kref.refcount.refs.counter 1
PARAM_VALUE 0 serial->minors_reserved 0
PARAM_VALUE 0 serial->num_ports 0-16
PARAM_VALUE 0 serial->private 4096-ptr_max
PARAM_VALUE 0 serial->sibling 0,4096-ptr_max
PARAM_VALUE 0 serial->sibling->cur_altsetting 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 serial->type->driver.owner 0,4096-ptr_max
PARAM_VALUE 0 serial->type->num_ports 0-4,8
PARAM_VALUE 0 serial->type->read_int_callback 0,4096-ptr_max
PARAM_VALUE 0 serial->type->write_int_callback 0,3559368790082265088,3814266376616095744
PARAM_VALUE 0 *serial->dev->toggle 0-4294967295
PARAM_VALUE 1 value 33924
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 0 serial 344
BUF_SIZE 2 buf 1
BUF_SIZE 2 buf 1
CAPPED_DATA 0 serial->interface 1
CAPPED_DATA 0 serial->num_port_pointers 1
CAPPED_DATA 0 serial->num_ports 1
DATA_SOURCE 0 serial $0
DATA_SOURCE 2 buf r _kmalloc_noprof
FUZZY_MAX 0 serial->num_ports 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/pl2303.c pl2303_startup() -> pl2303_vendor_read()

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
PARAM_VALUE 0 serial->disc_mutex.magic 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0
PARAM_VALUE 0 serial->disc_mutex.owner.counter 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->altsetting 4096-ptr_max
PARAM_VALUE 0 serial->kref.refcount.refs.counter 1
PARAM_VALUE 0 serial->minors_reserved 0
PARAM_VALUE 0 serial->num_ports 0-16
PARAM_VALUE 0 serial->private 4096-ptr_max
PARAM_VALUE 0 serial->sibling 0,4096-ptr_max
PARAM_VALUE 0 serial->sibling->cur_altsetting 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 serial->type->driver.owner 0,4096-ptr_max
PARAM_VALUE 0 serial->type->num_ports 0-4,8
PARAM_VALUE 0 serial->type->read_int_callback 0,4096-ptr_max
PARAM_VALUE 0 serial->type->write_int_callback 0,3559368790082265088,3814266376616095744
PARAM_VALUE 0 *serial->dev->toggle 0-4294967295
PARAM_VALUE 1 value 33924
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 0 serial 344
BUF_SIZE 2 buf 1
BUF_SIZE 2 buf 1
CAPPED_DATA 0 serial->interface 1
CAPPED_DATA 0 serial->num_port_pointers 1
CAPPED_DATA 0 serial->num_ports 1
DATA_SOURCE 0 serial $0
DATA_SOURCE 2 buf r _kmalloc_noprof
FUZZY_MAX 0 serial->num_ports 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/pl2303.c pl2303_startup() -> pl2303_vendor_read()

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
PARAM_VALUE 0 serial->disc_mutex.magic 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0
PARAM_VALUE 0 serial->disc_mutex.owner.counter 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->altsetting 4096-ptr_max
PARAM_VALUE 0 serial->kref.refcount.refs.counter 1
PARAM_VALUE 0 serial->minors_reserved 0
PARAM_VALUE 0 serial->num_ports 0-16
PARAM_VALUE 0 serial->private 4096-ptr_max
PARAM_VALUE 0 serial->sibling 0,4096-ptr_max
PARAM_VALUE 0 serial->sibling->cur_altsetting 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 serial->type->driver.owner 0,4096-ptr_max
PARAM_VALUE 0 serial->type->num_ports 0-4,8
PARAM_VALUE 0 serial->type->read_int_callback 0,4096-ptr_max
PARAM_VALUE 0 serial->type->write_int_callback 0,3559368790082265088,3814266376616095744
PARAM_VALUE 0 *serial->dev->toggle 0-4294967295
PARAM_VALUE 1 value 33667
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 0 serial 344
BUF_SIZE 2 buf 1
BUF_SIZE 2 buf 1
CAPPED_DATA 0 serial->interface 1
CAPPED_DATA 0 serial->num_port_pointers 1
CAPPED_DATA 0 serial->num_ports 1
DATA_SOURCE 0 serial $0
DATA_SOURCE 2 buf r _kmalloc_noprof
FUZZY_MAX 0 serial->num_ports 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/pl2303.c pl2303_startup() -> pl2303_vendor_read()

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
PARAM_VALUE 0 serial->disc_mutex.magic 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0
PARAM_VALUE 0 serial->disc_mutex.owner.counter 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->altsetting 4096-ptr_max
PARAM_VALUE 0 serial->kref.refcount.refs.counter 1
PARAM_VALUE 0 serial->minors_reserved 0
PARAM_VALUE 0 serial->num_ports 0-16
PARAM_VALUE 0 serial->private 4096-ptr_max
PARAM_VALUE 0 serial->sibling 0,4096-ptr_max
PARAM_VALUE 0 serial->sibling->cur_altsetting 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 serial->type->driver.owner 0,4096-ptr_max
PARAM_VALUE 0 serial->type->num_ports 0-4,8
PARAM_VALUE 0 serial->type->read_int_callback 0,4096-ptr_max
PARAM_VALUE 0 serial->type->write_int_callback 0,3559368790082265088,3814266376616095744
PARAM_VALUE 0 *serial->dev->toggle 0-4294967295
PARAM_VALUE 1 value 33924
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 0 serial 344
BUF_SIZE 2 buf 1
BUF_SIZE 2 buf 1
CAPPED_DATA 0 serial->interface 1
CAPPED_DATA 0 serial->num_port_pointers 1
CAPPED_DATA 0 serial->num_ports 1
DATA_SOURCE 0 serial $0
DATA_SOURCE 2 buf r _kmalloc_noprof
FUZZY_MAX 0 serial->num_ports 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/pl2303.c pl2303_startup() -> pl2303_vendor_read()

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
PARAM_VALUE 0 serial->disc_mutex.magic 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0
PARAM_VALUE 0 serial->disc_mutex.owner.counter 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->altsetting 4096-ptr_max
PARAM_VALUE 0 serial->kref.refcount.refs.counter 1
PARAM_VALUE 0 serial->minors_reserved 0
PARAM_VALUE 0 serial->num_ports 0-16
PARAM_VALUE 0 serial->private 4096-ptr_max
PARAM_VALUE 0 serial->sibling 0,4096-ptr_max
PARAM_VALUE 0 serial->sibling->cur_altsetting 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 serial->type->driver.owner 0,4096-ptr_max
PARAM_VALUE 0 serial->type->num_ports 0-4,8
PARAM_VALUE 0 serial->type->read_int_callback 0,4096-ptr_max
PARAM_VALUE 0 serial->type->write_int_callback 0,3559368790082265088,3814266376616095744
PARAM_VALUE 0 *serial->dev->toggle 0-4294967295
PARAM_VALUE 1 value 33924
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 0 serial 344
BUF_SIZE 2 buf 1
BUF_SIZE 2 buf 1
CAPPED_DATA 0 serial->interface 1
CAPPED_DATA 0 serial->num_port_pointers 1
CAPPED_DATA 0 serial->num_ports 1
DATA_SOURCE 0 serial $0
DATA_SOURCE 2 buf r _kmalloc_noprof
FUZZY_MAX 0 serial->num_ports 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/pl2303.c pl2303_startup() -> pl2303_vendor_read()

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
PARAM_VALUE 0 serial->disc_mutex.magic 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0
PARAM_VALUE 0 serial->disc_mutex.owner.counter 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->altsetting 4096-ptr_max
PARAM_VALUE 0 serial->kref.refcount.refs.counter 1
PARAM_VALUE 0 serial->minors_reserved 0
PARAM_VALUE 0 serial->num_ports 0-16
PARAM_VALUE 0 serial->private 4096-ptr_max
PARAM_VALUE 0 serial->sibling 0,4096-ptr_max
PARAM_VALUE 0 serial->sibling->cur_altsetting 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 0 serial->type->driver.owner 0,4096-ptr_max
PARAM_VALUE 0 serial->type->num_ports 0-4,8
PARAM_VALUE 0 serial->type->read_int_callback 0,4096-ptr_max
PARAM_VALUE 0 serial->type->write_int_callback 0,3559368790082265088,3814266376616095744
PARAM_VALUE 0 *serial->dev->toggle 0-4294967295
PARAM_VALUE 1 value 33667
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 0 serial 344
BUF_SIZE 2 buf 1
BUF_SIZE 2 buf 1
CAPPED_DATA 0 serial->interface 1
CAPPED_DATA 0 serial->num_port_pointers 1
CAPPED_DATA 0 serial->num_ports 1
DATA_SOURCE 0 serial $0
DATA_SOURCE 2 buf r _kmalloc_noprof
FUZZY_MAX 0 serial->num_ports 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/pl2303.c pl2303_update_reg() -> pl2303_vendor_read()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 value 0,10
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 2 buf 1
BUF_SIZE 2 buf 1
DATA_SOURCE 0 serial $0
DATA_SOURCE 1 value $1
DATA_SOURCE 2 buf r _kmalloc_noprof
HARD_MAX 1 value 10
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/pl2303.c pl2303_update_reg() -> pl2303_vendor_read()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 value 128,138
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 2 buf 1
BUF_SIZE 2 buf 1
DATA_SOURCE 0 serial $0
DATA_SOURCE 2 buf r _kmalloc_noprof
BIT_INFO 1 value 0x80,0x8f
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex