Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/misc/usbtest.c halt_simple() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 0 | udev->speed | 5 |
| PARAM_VALUE | 1 | pipe | 0 |
| PARAM_VALUE | 2 | bytes | 1024 |
| PARAM_VALUE | 3 | bInterval | 0 |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c halt_simple() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 0 | udev->speed | 0-4,6-u32max |
| PARAM_VALUE | 1 | pipe | 0 |
| PARAM_VALUE | 2 | bytes | 512 |
| PARAM_VALUE | 3 | bInterval | 0 |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c test_ctrl_queue() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 3 | bInterval | 0 |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| UNITS | 2 | bytes | unit_byte |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c toggle_sync_simple() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | 0 |
| PARAM_VALUE | 2 | bytes | 0-131070 |
| PARAM_VALUE | 3 | bInterval | 0 |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c unlink1() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | bytes | 1-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | bInterval | 0 |
| DATA_SOURCE | 1 | pipe | $1 |
| DATA_SOURCE | 2 | bytes | $2 |
| USER_DATA | 2 | bytes | 1-s32max,18446744071562067968-u64max[u] |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c usbtest_do_ioctl() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | bInterval | 0 |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| 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 usbtest_do_ioctl() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | bInterval | 0 |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| 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 usbtest_do_ioctl() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | bInterval | 0 |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| 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 usbtest_do_ioctl() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | bInterval | 0 |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| 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 usbtest_do_ioctl() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| USER_DATA | 2 | bytes | 0-u32max[u] |
| UNITS | 3 | 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 usbtest_do_ioctl() -> simple_alloc_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | udev | r testdev_to_usbdev |
| USER_DATA | 2 | bytes | 0-u32max[u] |
| UNITS | 3 | bInterval | unit_array_size |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |