Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/legacy/inode.c ep0_complete() -> clean_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| BUF_SIZE | 0 | ep | (-1),64,72,640,1744 |
| BUF_SIZE | 0 | ep | (-1),64,72,640,1744 |
| BUF_SIZE | 1 | req | s32min,(-1)-s32max |
| BUF_SIZE | 1 | req | s32min,(-1)-s32max |
| BUF_SIZE | 1 | req->buf | (-1)-1000000000,2147479552 |
| BUF_SIZE | 1 | req->context | (-1),96 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| NOSPEC | 1 | req->actual | |
| NOSPEC | 1 | req->length | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | req->actual | 0-u32max[c] |
| HOST_DATA | 1 | req->frame_number | 0-16383[c] |
| HOST_DATA | 1 | req->length | 0-64[c] |
| HOST_DATA | 1 | req->zero | 0-1 |
| USER_DATA | 1 | req->actual | 0-64 |
| USER_DATA | 1 | req->length | 0-u32max |
| USER_DATA | 1 | req->zero | 0-1[c] |
| USER_DATA | 1 | *req->buf | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | req->dma | |
| NO_OVERFLOW_SIMPLE | 1 | req->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | req->status | |
| USER_PTR | 1 | req->buf | |
| LOCK2 | &dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dev_data)->lock |
drivers/usb/gadget/legacy/inode.c ep0_read() -> clean_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->actual | 0-u32max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | req->buf | |
| LOCK2 | &dev->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct dev_data)->lock |
drivers/usb/gadget/legacy/inode.c ep0_write() -> clean_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data->setup_out_ready | 0 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->buf | 4096-ptr_max |
| PARAM_VALUE | 1 | req->complete | 8432922198820679680 |
| PARAM_VALUE | 1 | req->length | 0-u16max |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | req->length | 0-u16max[c] |
| USER_DATA | 1 | *req->buf | s64min-s64max |
| USER_PTR | 1 | req->buf | |
| LOCK2 | &dev->lock | ||
| LOCK2 | &dev->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct dev_data)->lock |
drivers/usb/gadget/legacy/inode.c gadgetfs_setup() -> clean_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data->setup_out_ready | 0 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->complete | 8432922198820679680 |
| PARAM_VALUE | 1 | req->context | 0 |
| PARAM_VALUE | 1 | req->length | 1-256 |
| PARAM_VALUE | 1 | req->zero | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | req->length | 1-256 |
| USER_DATA | 1 | req->length | 1-256[u] |
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | &udc->spi_bus_mutex | ||
| HALF_LOCKED2 | &vhub->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dev_data)->lock |