Defined in 2 files as a function:
- drivers/greybus/es2.c, line 338 (as a function)
- drivers/usb/usbip/vudc_dev.c, line 28 (as a function)
Referenced in 8 files:
- drivers/greybus/es2.c
- drivers/media/rc/imon_raw.c
- drivers/media/usb/stk1160/stk1160-video.c
- drivers/net/can/usb/etas_es58x/es58x_core.c
- drivers/net/wireless/zydas/zd1211rw/zd_usb.c
- drivers/usb/misc/lvstest.c
- drivers/usb/usbip/vudc_dev.c, line 65
- drivers/usb/usbip/vudc_rx.c
Smatch caller information:
drivers/greybus/es2.c cport_out_callback() -> free_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es2 | 4096-ptr_max |
| PARAM_VALUE | 0 | es2->cport_out_urb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor | 0 |
| PARAM_VALUE | 1 | urb->context | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->setup_dma | 0 |
| PARAM_VALUE | 1 | urb->setup_packet | 0-255 |
| PARAM_VALUE | 1 | urb->status | s32min-(-71),(-2),0 |
| PARAM_VALUE | 1 | urb->transfer_buffer->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 1 | urb->transfer_buffer->memcg_data | 0 |
| PARAM_VALUE | 1 | urb->transfer_buffer->page_type | 0-4294967295 |
| PARAM_VALUE | 1 | urb->transfer_dma | 0 |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | urb | 1 |
| DATA_SOURCE | 0 | es2 | r hd_to_es2 |
| DATA_SOURCE | 1 | urb | $0 |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| HALF_LOCKED2 | &pool->lock |
drivers/greybus/es2.c message_send() -> free_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | es2 | 4096-ptr_max |
| PARAM_VALUE | 0 | es2->cport_out_urb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | es2->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | es2->usb_dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | es2->usb_dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | es2->usb_dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *es2->cport_out_urb_busy | 1 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->complete | 3877485900560908288 |
| PARAM_VALUE | 1 | urb->context | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->pipe | 0,1073741824-u32max |
| BUF_SIZE | 1 | urb | s32min-s32max |
| CAPPED_DATA | 1 | urb | 1 |
| DATA_SOURCE | 0 | es2 | r hd_to_es2 |
| DATA_SOURCE | 1 | urb | r next_free_urb |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | urb->transfer_buffer_length | 10-401392[c] |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/usbip/vudc_dev.c free_urbp_and_urb() -> free_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ud->sysfs_lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | &udc->lock_tx | ||
| HALF_LOCKED2 | flags |