Defined in 4 files as a function:
- drivers/usb/fotg210/fotg210-hcd.c, line 1987 (as a function)
- drivers/usb/host/ehci-q.c, line 33 (as a function)
- drivers/usb/host/oxu210hp-hcd.c, line 1182 (as a function)
- drivers/usb/isp1760/isp1760-hcd.c, line 1747 (as a function)
Referenced in 4 files:
- drivers/usb/fotg210/fotg210-hcd.c
- drivers/usb/host/ehci-q.c
- drivers/usb/host/oxu210hp-hcd.c
- drivers/usb/isp1760/isp1760-hcd.c
Smatch caller information:
drivers/usb/isp1760/isp1760-hcd.c packetize_urb() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 1-u64max |
| PARAM_VALUE | 2 | len | 8 |
| BUF_SIZE | 1 | databuffer | 8,11,13-14,19,23 |
| CAPPED_DATA | 0 | qtd->urb->interval | 1 |
| CAPPED_DATA | 0 | qtd->urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | qtd | r qtd_alloc |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | qtd->urb->num_mapped_sgs | |
| UNITS | 1 | databuffer | unit_byte |
| UNITS | 2 | len | unit_byte |
drivers/usb/isp1760/isp1760-hcd.c packetize_urb() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-s32max |
| BUF_SIZE | 1 | databuffer | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | databuffer | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | qtd->urb->interval | 1 |
| CAPPED_DATA | 0 | qtd->urb->transfer_buffer_length | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | qtd | r qtd_alloc |
| NO_OVERFLOW_SIMPLE | 0 | qtd->urb->num_mapped_sgs | |
| UNITS | 1 | databuffer | unit_byte |
| UNITS | 2 | len | unit_byte |
drivers/usb/isp1760/isp1760-hcd.c packetize_urb() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 0 |
| PARAM_VALUE | 2 | len | 0 |
| CAPPED_DATA | 0 | qtd->urb->interval | 1 |
| CAPPED_DATA | 0 | qtd->urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | qtd | r qtd_alloc |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | qtd->urb->num_mapped_sgs |
drivers/usb/host/ehci-hcd.c ehci_submit_single_step_set_feature() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer->length | 0 |
| PARAM_VALUE | 3 | len | 8 |
| PARAM_VALUE | 4 | token | 36480 |
| PARAM_VALUE | 5 | maxpacket | 8 |
| CAPPED_DATA | 0 | qtd->qtd_pool->size | 1 |
| DATA_SOURCE | 1 | databuffer | r ehci_qtd_alloc |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | databuffer->urb->num_mapped_sgs | |
| UNITS | 3 | len | unit_byte |
drivers/usb/host/ehci-hcd.c ehci_submit_single_step_set_feature() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer->length | 0 |
| PARAM_VALUE | 3 | len | 18 |
| PARAM_VALUE | 4 | token | (-2147480192) |
| PARAM_VALUE | 5 | maxpacket | 0-2047 |
| CAPPED_DATA | 0 | qtd->qtd_pool->size | 1 |
| DATA_SOURCE | 1 | databuffer | r ehci_qtd_alloc |
| DATA_SOURCE | 5 | maxpacket | r usb_endpoint_maxp |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | databuffer->urb->num_mapped_sgs | |
| UNITS | 2 | len | unit_byte |
| UNITS | 3 | len | unit_byte |
drivers/usb/host/ehci-hcd.c ehci_submit_single_step_set_feature() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer->length | 0 |
| PARAM_VALUE | 2 | len | 0 |
| PARAM_VALUE | 3 | len | 0 |
| PARAM_VALUE | 4 | token | (-2147447680) |
| PARAM_VALUE | 5 | maxpacket | 0 |
| CAPPED_DATA | 0 | qtd->qtd_pool->size | 1 |
| DATA_SOURCE | 1 | databuffer | r ehci_qtd_alloc |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | databuffer->urb->num_mapped_sgs |
drivers/usb/host/ehci-hcd.c qh_urb_transaction() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer->length | 0 |
| PARAM_VALUE | 3 | len | 8 |
| PARAM_VALUE | 4 | token | 3712 |
| PARAM_VALUE | 5 | maxpacket | 8 |
| CAPPED_DATA | 0 | qtd->qtd_pool->size | 1 |
| CAPPED_DATA | 1 | databuffer->urb->interval | 1 |
| CAPPED_DATA | 1 | databuffer->urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | qtd | $0 |
| DATA_SOURCE | 1 | databuffer | r ehci_qtd_alloc |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | databuffer->urb->num_mapped_sgs | |
| UNITS | 3 | len | unit_byte |
drivers/usb/host/ehci-hcd.c qh_urb_transaction() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer->length | 0 |
| PARAM_VALUE | 3 | len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 4 | token | (-2147480448),(-2147480192),3200,3456 |
| PARAM_VALUE | 5 | maxpacket | 0-2047 |
| CAPPED_DATA | 0 | qtd->qtd_pool->size | 1 |
| CAPPED_DATA | 1 | databuffer->urb->interval | 1 |
| CAPPED_DATA | 1 | databuffer->urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | qtd | $0 |
| DATA_SOURCE | 1 | databuffer | r ehci_qtd_alloc |
| DATA_SOURCE | 5 | maxpacket | r usb_endpoint_maxp |
| NO_OVERFLOW_SIMPLE | 1 | databuffer->urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 2 | len | unit_byte |
| UNITS | 3 | len | unit_byte |
drivers/usb/host/ehci-hcd.c qh_urb_transaction() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer->length | 0 |
| PARAM_VALUE | 2 | len | 0 |
| PARAM_VALUE | 3 | len | 0 |
| PARAM_VALUE | 4 | token | (-2147480448),(-2147480192),3200,3456 |
| PARAM_VALUE | 5 | maxpacket | 0 |
| CAPPED_DATA | 0 | qtd->qtd_pool->size | 1 |
| CAPPED_DATA | 1 | databuffer->urb->interval | 1 |
| CAPPED_DATA | 1 | databuffer->urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | qtd | $0 |
| DATA_SOURCE | 1 | databuffer | r ehci_qtd_alloc |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | databuffer->urb->num_mapped_sgs |
drivers/usb/fotg210/fotg210-hcd.c qh_urb_transaction() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer->length | 0 |
| PARAM_VALUE | 3 | len | 8 |
| PARAM_VALUE | 4 | token | 3712 |
| PARAM_VALUE | 5 | maxpacket | 8 |
| CAPPED_DATA | 0 | qtd->qtd_pool->size | 1 |
| CAPPED_DATA | 1 | databuffer->urb->interval | 1 |
| CAPPED_DATA | 1 | databuffer->urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | qtd | $0 |
| DATA_SOURCE | 1 | databuffer | r fotg210_qtd_alloc |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | databuffer->urb->num_mapped_sgs | |
| UNITS | 3 | len | unit_byte |
drivers/usb/fotg210/fotg210-hcd.c qh_urb_transaction() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer->length | 0 |
| PARAM_VALUE | 3 | len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 4 | token | (-2147480448),(-2147480192),3200,3456 |
| PARAM_VALUE | 5 | maxpacket | 0-2047 |
| CAPPED_DATA | 0 | qtd->qtd_pool->size | 1 |
| CAPPED_DATA | 1 | databuffer->urb->interval | 1 |
| CAPPED_DATA | 1 | databuffer->urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | qtd | $0 |
| DATA_SOURCE | 1 | databuffer | r fotg210_qtd_alloc |
| DATA_SOURCE | 5 | maxpacket | r usb_maxpacket |
| NO_OVERFLOW_SIMPLE | 1 | databuffer->urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 2 | len | unit_byte |
| UNITS | 3 | len | unit_byte |
drivers/usb/fotg210/fotg210-hcd.c qh_urb_transaction() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer | 4096-ptr_max |
| PARAM_VALUE | 1 | databuffer->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer->length | 0 |
| PARAM_VALUE | 2 | len | 0 |
| PARAM_VALUE | 3 | len | 0 |
| PARAM_VALUE | 4 | token | (-2147480448),(-2147480192),3200,3456 |
| PARAM_VALUE | 5 | maxpacket | 0 |
| CAPPED_DATA | 0 | qtd->qtd_pool->size | 1 |
| CAPPED_DATA | 1 | databuffer->urb->interval | 1 |
| CAPPED_DATA | 1 | databuffer->urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | qtd | $0 |
| DATA_SOURCE | 1 | databuffer | r fotg210_qtd_alloc |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | databuffer->urb->num_mapped_sgs |
drivers/usb/host/oxu210hp-hcd.c qh_urb_transaction() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 0 | qtd->hw_token | 64 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | len | 3712 |
| PARAM_VALUE | 4 | token | 8 |
| CAPPED_DATA | 0 | qtd | 1 |
| CAPPED_DATA | 0 | qtd->qtd_dma | 1 |
| CAPPED_DATA | 0 | qtd->urb->interval | 1 |
| DATA_SOURCE | 0 | qtd | r ehci_qtd_alloc |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | qtd->urb->num_mapped_sgs | |
| UNITS | 2 | len | unit_byte |
drivers/usb/host/oxu210hp-hcd.c qh_urb_transaction() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 0 | qtd->hw_token | 64 |
| PARAM_VALUE | 2 | len | 0-4096 |
| PARAM_VALUE | 3 | len | (-2147480448),(-2147480192),3200,3456 |
| PARAM_VALUE | 4 | token | 0-2047 |
| CAPPED_DATA | 0 | qtd | 1 |
| CAPPED_DATA | 0 | qtd->qtd_dma | 1 |
| CAPPED_DATA | 0 | qtd->urb->interval | 1 |
| DATA_SOURCE | 0 | qtd | r ehci_qtd_alloc |
| DATA_SOURCE | 4 | token | r usb_maxpacket |
| NO_OVERFLOW_SIMPLE | 0 | qtd->urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | databuffer | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| UNITS | 2 | len | unit_byte |
drivers/usb/host/oxu210hp-hcd.c qh_urb_transaction() -> qtd_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qtd | 4096-ptr_max |
| PARAM_VALUE | 0 | qtd->hw_token | 64 |
| PARAM_VALUE | 1 | databuffer | 0 |
| PARAM_VALUE | 2 | len | 0 |
| PARAM_VALUE | 3 | len | (-2147480448),(-2147480192),3200,3456 |
| PARAM_VALUE | 4 | token | 0 |
| CAPPED_DATA | 0 | qtd | 1 |
| CAPPED_DATA | 0 | qtd->qtd_dma | 1 |
| CAPPED_DATA | 0 | qtd->urb->interval | 1 |
| DATA_SOURCE | 0 | qtd | r ehci_qtd_alloc |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | qtd->urb->num_mapped_sgs |