Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/misc/usbtest.c complicated_alloc_urb() -> usbtest_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | transfer_flags | 4 |
| PARAM_VALUE | 4 | offset | 0 |
| PARAM_VALUE | 5 | bInterval | 0 |
| DATA_SOURCE | 0 | udev | $0 |
| DATA_SOURCE | 1 | pipe | $1 |
| DATA_SOURCE | 2 | bytes | $2 |
| DATA_SOURCE | 5 | bInterval | $3 |
| USER_DATA | 2 | bytes | 0-u32max[u] |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c simple_alloc_urb() -> usbtest_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | transfer_flags | 4 |
| PARAM_VALUE | 4 | offset | 0 |
| DATA_SOURCE | 0 | udev | $0 |
| DATA_SOURCE | 1 | pipe | $1 |
| DATA_SOURCE | 2 | bytes | $2 |
| DATA_SOURCE | 5 | bInterval | $3 |
| USER_DATA | 2 | bytes | 0-u32max,18446744071562067968-u64max[u] |
| UNITS | 2 | bytes | unit_byte |
| UNITS | 5 | bInterval | unit_array_size |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c test_unaligned_bulk() -> usbtest_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | transfer_flags | 0,4 |
| PARAM_VALUE | 4 | offset | 1 |
| PARAM_VALUE | 5 | bInterval | 0 |
| DATA_SOURCE | 1 | pipe | $1 |
| DATA_SOURCE | 2 | bytes | $2 |
| DATA_SOURCE | 3 | transfer_flags | $4 |
| HARD_MAX | 3 | transfer_flags | 4 |
| USER_DATA | 2 | bytes | 0-u32max[u] |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |