Documented in 1 files:
Defined in 3 files as a function:
- drivers/usb/gadget/udc/bdc/bdc_ep.c, line 1430 (as a function)
- drivers/usb/gadget/udc/dummy_hcd.c, line 1646 (as a function)
- drivers/usb/usbip/vudc_transfer.c, line 58 (as a function)
Referenced in 3 files:
- drivers/usb/gadget/udc/bdc/bdc_ep.c
- drivers/usb/gadget/udc/dummy_hcd.c, line 1942
- drivers/usb/usbip/vudc_transfer.c, line 373
Smatch caller information:
drivers/usb/gadget/udc/dummy_hcd.c dummy_timer() -> handle_control_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dum_hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->dum | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->dum->ep | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->dum->ints_enabled | 1 |
| PARAM_VALUE | 0 | dum_hcd->next_frame_urbp | 0 |
| PARAM_VALUE | 0 | dum_hcd->rh_state | 2 |
| PARAM_VALUE | 0 | dum_hcd->timer_pending | 0 |
| PARAM_VALUE | 0 | dum_hcd->udev | 1-u64max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->setup_packet | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->unlinked | 0 |
| PARAM_VALUE | 2 | setup | 5913988416301273088 |
| PARAM_VALUE | 3 | status | 449302606612594688 |
| PARAM_VALUE | 3 | *status | (-115) |
| CAPPED_DATA | 0 | &dum_hcd->urbp_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dum->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dummy)->lock |
drivers/usb/gadget/udc/bdc/bdc_ep.c bdc_xsf_ep0_data_start() -> handle_control_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dum_hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->bdc_ep_array | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dum_hcd->num_eps | 1-u32max |
| PARAM_VALUE | 0 | dum_hcd->sr_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->sr_xsf_ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->srr.sr_bds | 4096-ptr_max |
| PARAM_VALUE | 0 | *dum_hcd->ep0_response_buff | 0-u16max |
| DATA_SOURCE | 0 | dum_hcd | $0 |
| BIT_INFO | 0 | dum_hcd->devstatus | 0x0,0xfffbffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dum_hcd->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bdc)->lock |
drivers/usb/gadget/udc/bdc/bdc_ep.c bdc_xsf_ep0_status_start() -> handle_control_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dum_hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->bdc_ep_array | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->ep0_state | 0-1,3-u32max |
| PARAM_VALUE | 0 | dum_hcd->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dum_hcd->num_eps | 1-u32max |
| PARAM_VALUE | 0 | dum_hcd->setup_pkt.wLength | 0 |
| PARAM_VALUE | 0 | dum_hcd->sr_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->srr.sr_bds | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->zlp_needed | 0 |
| PARAM_VALUE | 0 | *dum_hcd->ep0_response_buff | 0-u16max |
| DATA_SOURCE | 0 | dum_hcd | $0 |
| BIT_INFO | 0 | dum_hcd->devstatus | 0x0,0xfffbffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dum_hcd->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bdc)->lock |
drivers/usb/usbip/vudc_transfer.c v_timer() -> handle_control_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dum_hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | dum_hcd->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 3 | status | 4096-ptr_max |
| BUF_SIZE | 2 | setup | 8,11,13-14,19,23 |
| CAPPED_DATA | 0 | &dum_hcd->gadget.ep_list | 1 |
| CAPPED_DATA | 0 | &dum_hcd->urb_queue | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | setup | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &dum_hcd->lock | |
| TYPE_LOCK | (struct vudc)->lock |