Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/usb/usbip/stub_rx.c
- drivers/usb/usbip/stub_tx.c, line 123
- drivers/usb/usbip/usbip_common.c, line 506
- drivers/usb/usbip/vhci_rx.c, line 77
- drivers/usb/usbip/vhci_tx.c, line 28
- drivers/usb/usbip/vudc_rx.c, line 29
- drivers/usb/usbip/vudc_tx.c, line 28
Smatch caller information:
drivers/usb/usbip/stub_rx.c stub_recv_cmd_submit() -> usbip_pack_pdu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdu | 5815721568833740800 |
| PARAM_VALUE | 0 | pdu->base.command | 1 |
| PARAM_VALUE | 0 | pdu->base.devid | 0 |
| PARAM_VALUE | 0 | pdu->base.direction | 0 |
| PARAM_VALUE | 0 | pdu->base.ep | 0 |
| PARAM_VALUE | 0 | pdu->base.seqnum | 0 |
| PARAM_VALUE | 0 | pdu->u.cmd_submit.number_of_packets | 0 |
| PARAM_VALUE | 0 | pdu->u.cmd_submit.transfer_buffer_length | 0 |
| PARAM_VALUE | 0 | pdu->u.cmd_submit.transfer_flags | 0-8388608 |
| PARAM_VALUE | 0 | pdu->u.cmd_unlink.seqnum | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->setup_packet | 1-u64max |
| PARAM_VALUE | 2 | cmd | 1 |
| PARAM_VALUE | 3 | pack | 0 |
| DATA_SOURCE | 0 | pdu | $1 |
| MEM_ZERO | 0 | pdu | |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/usb/usbip/stub_rx.c stub_recv_cmd_submit() -> usbip_pack_pdu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdu | 5815721568833740800 |
| PARAM_VALUE | 0 | pdu->base.command | 1 |
| PARAM_VALUE | 0 | pdu->base.devid | 0 |
| PARAM_VALUE | 0 | pdu->base.direction | 0 |
| PARAM_VALUE | 0 | pdu->base.ep | 0 |
| PARAM_VALUE | 0 | pdu->base.seqnum | 0 |
| PARAM_VALUE | 0 | pdu->u.cmd_submit.transfer_flags | 0-16777215 |
| PARAM_VALUE | 0 | pdu->u.cmd_unlink.seqnum | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 1 |
| PARAM_VALUE | 3 | pack | 0 |
| DATA_SOURCE | 0 | pdu | $1 |
| MEM_ZERO | 0 | pdu | |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/usb/usbip/vudc_tx.c setup_ret_submit_pdu() -> usbip_pack_pdu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdu | 8941951654605877248 |
| PARAM_VALUE | 0 | pdu->base.command | 3 |
| PARAM_VALUE | 0 | pdu->base.devid | 0 |
| PARAM_VALUE | 0 | pdu->base.direction | 0 |
| PARAM_VALUE | 0 | pdu->base.ep | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 3 |
| PARAM_VALUE | 3 | pack | 1 |
| DATA_SOURCE | 0 | pdu | $0 |
| MEM_ZERO | 0 | pdu | |
| NOCHECK_CALL |
drivers/usb/usbip/vhci_tx.c setup_cmd_submit_pdu() -> usbip_pack_pdu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdu | 705318835174363136 |
| PARAM_VALUE | 0 | pdu->base.command | 1 |
| PARAM_VALUE | 0 | pdu->base.direction | 0-1 |
| PARAM_VALUE | 0 | pdu->base.ep | 0-15 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->transfer_flags | 0-17039359 |
| PARAM_VALUE | 2 | cmd | 1 |
| PARAM_VALUE | 3 | pack | 1 |
| DATA_SOURCE | 0 | pdu | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| FUZZY_MAX | 0 | pdu->base.direction | 1 |
| BIT_INFO | 1 | urb->transfer_flags | 0x0,0xffffff |
| HARD_MAX | 0 | pdu->base.direction | 1 |
| MEM_ZERO | 0 | pdu | |
| NOCHECK_CALL |
drivers/usb/usbip/vhci_rx.c vhci_recv_ret_submit() -> usbip_pack_pdu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdu | 4907355085874601984 |
| PARAM_VALUE | 0 | pdu->base.command | 3 |
| PARAM_VALUE | 0 | pdu->base.ep | 0 |
| PARAM_VALUE | 0 | pdu->base.seqnum | 0 |
| PARAM_VALUE | 0 | pdu->u.cmd_submit.transfer_flags | 0-8388608 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 2 | cmd | 3 |
| PARAM_VALUE | 3 | pack | 0 |
| DATA_SOURCE | 0 | pdu | $1 |
| DATA_SOURCE | 1 | urb | r pickup_urb_and_free_priv |
| MEM_ZERO | 0 | pdu | |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/usb/usbip/stub_tx.c setup_ret_submit_pdu() -> usbip_pack_pdu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdu | 2113742023298723840 |
| PARAM_VALUE | 0 | pdu->base.command | 3 |
| PARAM_VALUE | 0 | pdu->base.devid | 0 |
| PARAM_VALUE | 0 | pdu->base.direction | 0 |
| PARAM_VALUE | 0 | pdu->base.ep | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->context | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->pipe | 128-u32max |
| PARAM_VALUE | 2 | cmd | 3 |
| PARAM_VALUE | 3 | pack | 1 |
| DATA_SOURCE | 0 | pdu | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| MEM_ZERO | 0 | pdu | |
| NOCHECK_CALL |
drivers/usb/usbip/vudc_rx.c alloc_urb_from_cmd() -> usbip_pack_pdu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdu | 5478923351755513856 |
| PARAM_VALUE | 0 | pdu->base.command | 1 |
| PARAM_VALUE | 0 | pdu->base.direction | 0 |
| PARAM_VALUE | 0 | pdu->base.ep | 0 |
| PARAM_VALUE | 0 | pdu->base.seqnum | 0 |
| PARAM_VALUE | 0 | pdu->u.cmd_submit.transfer_buffer_length | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0 |
| PARAM_VALUE | 1 | urb->anchor | 0 |
| PARAM_VALUE | 1 | urb->anchor_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->complete | 0 |
| PARAM_VALUE | 1 | urb->context | 0 |
| PARAM_VALUE | 1 | urb->dev | 0 |
| PARAM_VALUE | 1 | urb->ep | 0 |
| PARAM_VALUE | 1 | urb->error_count | 0 |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->interval | 0 |
| PARAM_VALUE | 1 | urb->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | urb->num_mapped_sgs | 0 |
| PARAM_VALUE | 1 | urb->num_sgs | 0 |
| PARAM_VALUE | 1 | urb->number_of_packets | 0 |
| PARAM_VALUE | 1 | urb->pipe | 0 |
| PARAM_VALUE | 1 | urb->reject.counter | 0 |
| PARAM_VALUE | 1 | urb->setup_dma | 0 |
| PARAM_VALUE | 1 | urb->setup_packet | 0 |
| PARAM_VALUE | 1 | urb->sg | 0 |
| PARAM_VALUE | 1 | urb->sgt | 0 |
| PARAM_VALUE | 1 | urb->start_frame | 0 |
| PARAM_VALUE | 1 | urb->status | 0 |
| PARAM_VALUE | 1 | urb->stream_id | 0 |
| PARAM_VALUE | 1 | urb->transfer_buffer | 0 |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0 |
| PARAM_VALUE | 1 | urb->transfer_dma | 0 |
| PARAM_VALUE | 1 | urb->transfer_flags | 0 |
| PARAM_VALUE | 1 | urb->unlinked | 0 |
| PARAM_VALUE | 1 | urb->urb_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->use_count.counter | 0 |
| PARAM_VALUE | 2 | cmd | 1 |
| PARAM_VALUE | 3 | pack | 0 |
| BUF_SIZE | 1 | urb | s32min-s32max |
| DATA_SOURCE | 0 | pdu | $1 |
| MEM_ZERO | 0 | pdu | |
| RX_PATH | |||
| NOCHECK_CALL |