Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/misc/usbtest.c usbtest_do_ioctl() -> test_unaligned_bulk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tdev->out_pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | iterations | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | transfer_flags | 0 |
| PARAM_VALUE | 5 | label | 2054559923884191744 |
| BUF_SIZE | 0 | tdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tdev | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | label | 7 |
| STR_LEN | 0 | tdev | 6 |
| TERMINATED | 5 | label | 1 |
| USER_DATA | 2 | length | 0-u32max[u] |
| USER_DATA | 3 | iterations | s32min-(-1),1-s32max[u] |
| UNITS | 0 | tdev | 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 usbtest_do_ioctl() -> test_unaligned_bulk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tdev->in_pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | iterations | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | transfer_flags | 0 |
| PARAM_VALUE | 5 | label | 4773785712779890688 |
| BUF_SIZE | 0 | tdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tdev | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | label | 7 |
| STR_LEN | 0 | tdev | 6 |
| TERMINATED | 5 | label | 1 |
| USER_DATA | 2 | length | 0-u32max[u] |
| USER_DATA | 3 | iterations | s32min-(-1),1-s32max[u] |
| UNITS | 0 | tdev | 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 usbtest_do_ioctl() -> test_unaligned_bulk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tdev->out_pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | iterations | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | transfer_flags | 4 |
| PARAM_VALUE | 5 | label | 4960895790602776576 |
| BUF_SIZE | 0 | tdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tdev | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | label | 7 |
| STR_LEN | 0 | tdev | 6 |
| TERMINATED | 5 | label | 1 |
| USER_DATA | 2 | length | 0-u32max[u] |
| USER_DATA | 3 | iterations | s32min-(-1),1-s32max[u] |
| UNITS | 0 | tdev | 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 usbtest_do_ioctl() -> test_unaligned_bulk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tdev->in_pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | pipe | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | iterations | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | transfer_flags | 4 |
| PARAM_VALUE | 5 | label | 3447347263731838976 |
| BUF_SIZE | 0 | tdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tdev | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | label | 7 |
| STR_LEN | 0 | tdev | 6 |
| TERMINATED | 5 | label | 1 |
| USER_DATA | 2 | length | 0-u32max[u] |
| USER_DATA | 3 | iterations | s32min-(-1),1-s32max[u] |
| UNITS | 0 | tdev | unit_byte |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |