Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/misc/usbio.c usbio_enum_gpios() -> usbio_add_client()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usbio | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->bulk_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | usbio->bulk_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | usbio->bulk_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->bulk_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | usbio->bulk_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | usbio->cli_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->cli_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->cli_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->cli_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->cli_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | usbio->ctrl_pipe | 0-15 |
| PARAM_VALUE | 0 | usbio->ctrlbuf | 1-u64max |
| PARAM_VALUE | 0 | usbio->ctrlbuf->header.cmd | 0-3,16-17 |
| PARAM_VALUE | 0 | usbio->ctrlbuf->header.flags | 4-5 |
| PARAM_VALUE | 0 | usbio->ctrlbuf->header.type | 1,3 |
| PARAM_VALUE | 0 | usbio->ctrlbuf->len | 0,3-4,7 |
| PARAM_VALUE | 0 | usbio->ctrlbuf_len | 0-2047 |
| PARAM_VALUE | 0 | usbio->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.done | 0 |
| PARAM_VALUE | 0 | usbio->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | usbio->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | usbio->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->gpios | 0 |
| PARAM_VALUE | 0 | usbio->i2cs | 0 |
| PARAM_VALUE | 0 | usbio->intf | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->intf->authorized | 1 |
| PARAM_VALUE | 0 | usbio->intf->condition | 1 |
| PARAM_VALUE | 0 | usbio->intf->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->intf->needs_altsetting0 | 0 |
| PARAM_VALUE | 0 | usbio->intf->needs_binding | 0 |
| PARAM_VALUE | 0 | usbio->nr_gpio_banks | 0 |
| PARAM_VALUE | 0 | usbio->nr_i2c_buses | 0 |
| PARAM_VALUE | 0 | usbio->rx_pipe | 0,128-u32max |
| PARAM_VALUE | 0 | usbio->rxbuf | 1-u64max |
| PARAM_VALUE | 0 | usbio->rxbuf_len | 0-2047 |
| PARAM_VALUE | 0 | usbio->tx_pipe | 0,1073741824-u32max |
| PARAM_VALUE | 0 | usbio->txbuf | 1-u64max |
| PARAM_VALUE | 0 | usbio->txbuf_len | 0-2047 |
| PARAM_VALUE | 0 | usbio->udev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->actual_length | 0-s32max |
| PARAM_VALUE | 0 | usbio->urb->anchor | 0 |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->complete | 2129316947238281216 |
| PARAM_VALUE | 0 | usbio->urb->context | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->dev->state | 4-u32max |
| PARAM_VALUE | 0 | usbio->urb->ep | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->ep->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->ep->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->ep->urb_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->error_count | 0 |
| PARAM_VALUE | 0 | usbio->urb->hcpriv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->interval | s32min-32768 |
| PARAM_VALUE | 0 | usbio->urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 0 | usbio->urb->num_sgs | 0 |
| PARAM_VALUE | 0 | usbio->urb->number_of_packets | 0 |
| PARAM_VALUE | 0 | usbio->urb->pipe | 0,128-u32max |
| PARAM_VALUE | 0 | usbio->urb->reject.counter | 0 |
| PARAM_VALUE | 0 | usbio->urb->sg | 0 |
| PARAM_VALUE | 0 | usbio->urb->sgt | 0 |
| PARAM_VALUE | 0 | usbio->urb->start_frame | 0 |
| PARAM_VALUE | 0 | usbio->urb->status | (-4095)-0 |
| PARAM_VALUE | 0 | usbio->urb->stream_id | 0 |
| PARAM_VALUE | 0 | usbio->urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | usbio->urb->transfer_buffer->bmAttributes | 0-255 |
| PARAM_VALUE | 0 | usbio->urb->transfer_buffer_length | 0-2047 |
| PARAM_VALUE | 0 | usbio->urb->urb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->urb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *usbio->ctrlbuf->data | 0-255 |
| PARAM_VALUE | 1 | name | 1077485962604793856 |
| PARAM_VALUE | 2 | id | 0 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 0 | usbio | 560 |
| BUF_SIZE | 0 | usbio->ctrlbuf | 0-2047 |
| BUF_SIZE | 0 | usbio->dev | 1616 |
| BUF_SIZE | 0 | usbio->rxbuf | 0-2047 |
| BUF_SIZE | 0 | usbio->txbuf | 0-2047 |
| BUF_SIZE | 1 | name | 11 |
| CAPPED_DATA | 0 | usbio->urb | 1 |
| DATA_SOURCE | 0 | usbio | $0 |
| FUZZY_MAX | 0 | usbio->rxbuf_len | 63 |
| FUZZY_MAX | 0 | usbio->txbuf_len | 63 |
| STR_LEN | 0 | usbio | 10 |
| BIT_INFO | 0 | usbio->rx_pipe | 0xc0000080,0xffffffffffffffff |
| BIT_INFO | 0 | usbio->tx_pipe | 0xc0000000,0xffffffff |
| TERMINATED | 1 | name | 1 |
| MEM_ZERO | 0 | usbio | |
| MEM_ZERO | 0 | usbio->ctrlbuf | |
| MEM_ZERO | 0 | usbio->rxbuf | |
| MEM_ZERO | 0 | usbio->txbuf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | usbio->urb->num_mapped_sgs |
drivers/usb/misc/usbio.c usbio_enum_i2cs() -> usbio_add_client()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usbio | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->bulk_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | usbio->bulk_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | usbio->bulk_mutex.magic | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->bulk_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | usbio->bulk_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | usbio->cli_list.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->cli_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->cli_list.prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->cli_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->cli_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->cli_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.magic | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | usbio->ctrl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | usbio->ctrl_pipe | 0-15 |
| PARAM_VALUE | 0 | usbio->ctrlbuf->header.cmd | 0-3,16-17 |
| PARAM_VALUE | 0 | usbio->ctrlbuf->header.flags | 4-5 |
| PARAM_VALUE | 0 | usbio->ctrlbuf->header.type | 1,3 |
| PARAM_VALUE | 0 | usbio->ctrlbuf->len | 0,3-4,7 |
| PARAM_VALUE | 0 | usbio->ctrlbuf_len | 0-2047 |
| PARAM_VALUE | 0 | usbio->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.done | 0 |
| PARAM_VALUE | 0 | usbio->done.wait.lock.magic | 0,3735899821 |
| PARAM_VALUE | 0 | usbio->done.wait.lock.owner | 0,(-1) |
| PARAM_VALUE | 0 | usbio->done.wait.lock.owner_cpu | 0,u32max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->gpios | 0 |
| PARAM_VALUE | 0 | usbio->i2cs | 0 |
| PARAM_VALUE | 0 | usbio->intf | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->intf->authorized | 1 |
| PARAM_VALUE | 0 | usbio->intf->condition | 1 |
| PARAM_VALUE | 0 | usbio->intf->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->intf->needs_altsetting0 | 0 |
| PARAM_VALUE | 0 | usbio->intf->needs_binding | 0 |
| PARAM_VALUE | 0 | usbio->nr_gpio_banks | 0 |
| PARAM_VALUE | 0 | usbio->rx_pipe | 0,128-u32max |
| PARAM_VALUE | 0 | usbio->rxbuf_len | 0-2047 |
| PARAM_VALUE | 0 | usbio->tx_pipe | 0,1073741824-u32max |
| PARAM_VALUE | 0 | usbio->txbuf_len | 0-2047 |
| PARAM_VALUE | 0 | usbio->udev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->actual_length | 0-s32max |
| PARAM_VALUE | 0 | usbio->urb->anchor | 0 |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->anchor_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->complete | 2129316947238281216 |
| PARAM_VALUE | 0 | usbio->urb->context | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->dev->state | 4-u32max |
| PARAM_VALUE | 0 | usbio->urb->ep | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->ep->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->ep->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->ep->urb_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->error_count | 0 |
| PARAM_VALUE | 0 | usbio->urb->hcpriv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->interval | s32min-32768 |
| PARAM_VALUE | 0 | usbio->urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 0 | usbio->urb->num_sgs | 0 |
| PARAM_VALUE | 0 | usbio->urb->number_of_packets | 0 |
| PARAM_VALUE | 0 | usbio->urb->pipe | 0,128-u32max |
| PARAM_VALUE | 0 | usbio->urb->reject.counter | 0 |
| PARAM_VALUE | 0 | usbio->urb->sg | 0 |
| PARAM_VALUE | 0 | usbio->urb->sgt | 0 |
| PARAM_VALUE | 0 | usbio->urb->start_frame | 0 |
| PARAM_VALUE | 0 | usbio->urb->status | (-4095)-0 |
| PARAM_VALUE | 0 | usbio->urb->stream_id | 0 |
| PARAM_VALUE | 0 | usbio->urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | usbio->urb->transfer_buffer->bmAttributes | 0-255 |
| PARAM_VALUE | 0 | usbio->urb->transfer_buffer_length | 0-2047 |
| PARAM_VALUE | 0 | usbio->urb->urb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | usbio->urb->urb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *usbio->ctrlbuf->data | 0-255 |
| PARAM_VALUE | 1 | name | 3462614295175393280 |
| PARAM_VALUE | 2 | id | 0 |
| BUF_SIZE | 0 | usbio | 560 |
| BUF_SIZE | 0 | usbio->ctrlbuf | 0-2047 |
| BUF_SIZE | 0 | usbio->dev | 0,1616 |
| BUF_SIZE | 0 | usbio->rxbuf | 0-2047 |
| BUF_SIZE | 0 | usbio->txbuf | 0-2047 |
| BUF_SIZE | 1 | name | 10 |
| DATA_SOURCE | 0 | usbio | $0 |
| FUZZY_MAX | 0 | usbio->done.wait.lock.magic | 0 |
| FUZZY_MAX | 0 | usbio->done.wait.lock.owner_cpu | 0 |
| FUZZY_MAX | 0 | usbio->rxbuf_len | 63 |
| FUZZY_MAX | 0 | usbio->txbuf_len | 63 |
| STR_LEN | 0 | usbio | 9 |
| TERMINATED | 1 | name | 1 |
| HARD_MAX | 0 | usbio->done.wait.lock.magic | 3735899821 |
| HARD_MAX | 0 | usbio->done.wait.lock.owner_cpu | u32max |
| MEM_ZERO | 0 | usbio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | usbio->urb->num_mapped_sgs |