Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/gpu/drm/gud/gud_pipe.c, line 259
- drivers/input/touchscreen/sur40.c, line 592
- drivers/misc/cardreader/rtsx_usb.c, line 55
- drivers/mmc/host/vub300.c
- drivers/usb/core/message.c, line 769
- drivers/usb/misc/usbtest.c, line 628
- drivers/usb/storage/transport.c, line 447
Smatch caller information:
drivers/usb/storage/transport.c usb_stor_bulk_transfer_sglist() -> usb_sg_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io | 4096-ptr_max |
| PARAM_VALUE | 0 | io->bytes | 0 |
| PARAM_VALUE | 0 | io->complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->entries | 1-s32max |
| PARAM_VALUE | 0 | io->status | (-104),0 |
| PARAM_VALUE | 0 | io->urbs | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io->count | |
| NO_OVERFLOW_SIMPLE | 0 | io->entries | |
| HALF_LOCKED2 | &us->dev_mutex |
drivers/mmc/host/vub300.c __command_read_data() -> usb_sg_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io | 4096-ptr_max |
| PARAM_VALUE | 0 | io->bytes | 0 |
| PARAM_VALUE | 0 | io->complete.done | 0 |
| PARAM_VALUE | 0 | io->complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->count | 1-s32max |
| PARAM_VALUE | 0 | io->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->entries | 1-s32max |
| PARAM_VALUE | 0 | io->pipe | s32min-0,128-s32max |
| PARAM_VALUE | 0 | io->status | 0 |
| PARAM_VALUE | 0 | io->urbs | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &vub300->cmd_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vub300_mmc_host)->cmd_mutex |
drivers/mmc/host/vub300.c __command_write_data() -> usb_sg_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io | 4096-ptr_max |
| PARAM_VALUE | 0 | io->bytes | 0 |
| PARAM_VALUE | 0 | io->complete.done | 0 |
| PARAM_VALUE | 0 | io->complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->count | 1-s32max |
| PARAM_VALUE | 0 | io->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->entries | 1-s32max |
| PARAM_VALUE | 0 | io->pipe | s32min-0,1073741824-s32max |
| PARAM_VALUE | 0 | io->status | 0 |
| PARAM_VALUE | 0 | io->urbs | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &vub300->cmd_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vub300_mmc_host)->cmd_mutex |
drivers/usb/misc/usbtest.c perform_sglist() -> usb_sg_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io | 9005575591594491904 |
| PARAM_VALUE | 0 | io->bytes | 0 |
| PARAM_VALUE | 0 | io->complete.done | 0 |
| PARAM_VALUE | 0 | io->complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->count | 1-s32max |
| PARAM_VALUE | 0 | io->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->entries | 1-s32max |
| PARAM_VALUE | 0 | io->pipe | 1-s32max |
| PARAM_VALUE | 0 | io->status | 0 |
| PARAM_VALUE | 0 | io->urbs | 4096-ptr_max |
| PARAM_VALUE | 0 | *io->urbs | 4096-ptr_max |
| DATA_SOURCE | 0 | io | $3 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | io->count | 2-128[c] |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_bulk_transfer_sglist() -> usb_sg_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io | 4096-ptr_max |
| PARAM_VALUE | 0 | io->bytes | 0 |
| PARAM_VALUE | 0 | io->complete.done | 0 |
| PARAM_VALUE | 0 | io->complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->count | 1-s32max |
| PARAM_VALUE | 0 | io->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->entries | 1-s32max |
| PARAM_VALUE | 0 | io->pipe | s32min-0,128-s32max |
| PARAM_VALUE | 0 | io->status | 0 |
| PARAM_VALUE | 0 | io->urbs | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ucr->dev_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/input/touchscreen/sur40.c sur40_process_video() -> usb_sg_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io | 3977028659952234496 |
| PARAM_VALUE | 0 | io->bytes | 0 |
| PARAM_VALUE | 0 | io->complete.done | 0 |
| PARAM_VALUE | 0 | io->complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->count | 1-s32max |
| PARAM_VALUE | 0 | io->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->entries | 1-s32max |
| PARAM_VALUE | 0 | io->pipe | s32min-0,128-s32max |
| PARAM_VALUE | 0 | io->status | 0 |
| PARAM_VALUE | 0 | io->urbs | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/gud/gud_pipe.c gud_usb_bulk() -> usb_sg_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io | 6547381254050992216 |
| PARAM_VALUE | 0 | io->bytes | 0 |
| PARAM_VALUE | 0 | io->complete.done | 0 |
| PARAM_VALUE | 0 | io->complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | io->complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | io->complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->count | 1-s32max |
| PARAM_VALUE | 0 | io->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | io->entries | 1-s32max |
| PARAM_VALUE | 0 | io->status | 0 |
| PARAM_VALUE | 0 | io->urbs | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &drm_unplug_srcu |