Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/host/xen-hcd.c xenhcd_cancel_all_enqueued_urbs() -> xenhcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->error | 0 |
| PARAM_VALUE | 0 | info->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | info->watchdog.entry.pprev | 0 |
| PARAM_VALUE | 0 | info->watchdog.flags | 0-4194302 |
| PARAM_VALUE | 0 | info->watchdog.function | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 2 | status | (-108) |
| CAPPED_DATA | 0 | &info->in_progress_list | 1 |
| DATA_SOURCE | 0 | info | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &info->lock | |
| HALF_LOCKED2 | global &companions_rwsem | ||
| HALF_LOCKED2 | global &xenwatch_mutex | ||
| TYPE_LOCK | (struct xenhcd_info)->lock |
drivers/usb/host/xen-hcd.c xenhcd_cancel_all_enqueued_urbs() -> xenhcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->error | 0 |
| PARAM_VALUE | 0 | info->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | info->watchdog.entry.pprev | 0 |
| PARAM_VALUE | 0 | info->watchdog.flags | 0-4194302 |
| PARAM_VALUE | 0 | info->watchdog.function | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->status | s32min-(-116),(-114)-s32max |
| PARAM_VALUE | 2 | status | s32min-(-116),(-114)-s32max |
| CAPPED_DATA | 0 | &info->in_progress_list | 1 |
| DATA_SOURCE | 0 | info | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &info->lock | |
| HALF_LOCKED2 | global &companions_rwsem | ||
| HALF_LOCKED2 | global &xenwatch_mutex | ||
| TYPE_LOCK | (struct xenhcd_info)->lock |
drivers/usb/host/xen-hcd.c xenhcd_cancel_all_enqueued_urbs() -> xenhcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | info->watchdog.entry.pprev | 0 |
| PARAM_VALUE | 0 | info->watchdog.flags | 0-4194302 |
| PARAM_VALUE | 0 | info->watchdog.function | 0 |
| PARAM_VALUE | 2 | status | (-108) |
| CAPPED_DATA | 0 | &info->in_progress_list | 1 |
| CAPPED_DATA | 0 | &info->pending_submit_list | 1 |
| DATA_SOURCE | 0 | info | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &info->lock | |
| HALF_LOCKED2 | global &companions_rwsem | ||
| HALF_LOCKED2 | global &xenwatch_mutex | ||
| TYPE_LOCK | (struct xenhcd_info)->lock |
drivers/usb/host/xen-hcd.c xenhcd_giveback_unlinked_urbs() -> xenhcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| CAPPED_DATA | 0 | &info->giveback_waiting_list | 1 |
| DATA_SOURCE | 0 | info | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &info->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct xenhcd_info)->lock |
drivers/usb/host/xen-hcd.c xenhcd_kick_pending_urbs() -> xenhcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 1-u32max |
| PARAM_VALUE | 2 | status | (-108) |
| CAPPED_DATA | 0 | &info->pending_submit_list | 1 |
| DATA_SOURCE | 0 | info | $0 |
| PARAM_COMPARE | 0 | &info->pending_submit_list | != $0->pending_submit_list.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &info->lock | |
| TYPE_LOCK | (struct xenhcd_info)->lock |
drivers/usb/host/xen-hcd.c xenhcd_res_to_urb() -> xenhcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->conn_ring.sring->rsp_event | 1 |
| PARAM_VALUE | 0 | info->conn_ring.sring->rsp_prod | 0 |
| PARAM_VALUE | 0 | info->error | 0 |
| PARAM_VALUE | 0 | info->shadow | 4096-ptr_max |
| PARAM_VALUE | 0 | info->urb_ring.sring | 4096-ptr_max |
| PARAM_VALUE | 0 | info->urb_ring.sring->rsp_event | 1-2 |
| PARAM_VALUE | 0 | info->urb_ring.sring->rsp_prod | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0-4294967294 |
| PARAM_VALUE | 1 | urb->start_frame | 0-u16max |
| CAPPED_DATA | 1 | urb->actual_length | 1 |
| DATA_SOURCE | 0 | info | $0 |
| DATA_SOURCE | 1 | urb | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &info->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct xenhcd_info)->lock |