Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/usb/core/driver.c usb_suspend_both() -> usb_get_std_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->actconfig | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->do_remote_wakeup | 0 |
| PARAM_VALUE | 0 | dev->offload_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->offload_pm_locked | 1 |
| PARAM_VALUE | 0 | dev->parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->port_is_suspended | 1 |
| PARAM_VALUE | 1 | recip | 0 |
| PARAM_VALUE | 2 | target | 0 |
| PARAM_VALUE | 3 | data | 8557396889427439616 |
| BUF_SIZE | 3 | data | 2 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c finish_port_resume() -> usb_get_std_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | dev->state | 0,2,5-8 |
| PARAM_VALUE | 0 | *dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | recip | 0 |
| PARAM_VALUE | 2 | target | 0 |
| PARAM_VALUE | 3 | data | 8418107157905457152 |
| PARAM_VALUE | 3 | *data | 0 |
| BUF_SIZE | 3 | data | 2 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port_dev->status_lock | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c finish_port_resume() -> usb_get_std_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->actconfig | 1-u64max |
| PARAM_VALUE | 0 | dev->bus->sysdev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | dev->dev.power.can_wakeup | 0 |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reset_resume | 0 |
| PARAM_VALUE | 0 | dev->speed | 5-u32max |
| PARAM_VALUE | 0 | dev->state | 0,2,5-8 |
| PARAM_VALUE | 0 | *dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | recip | 1 |
| PARAM_VALUE | 2 | target | 0 |
| PARAM_VALUE | 3 | data | 8418107157905457152 |
| PARAM_VALUE | 3 | *data | 0-u16max |
| BUF_SIZE | 3 | data | 2 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->speed | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port_dev->status_lock | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_configure() -> usb_get_std_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->actconfig | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->descriptor.bNumConfigurations | 0-1 |
| PARAM_VALUE | 0 | dev->dev.power.autosuspend_delay | s32min-0 |
| PARAM_VALUE | 0 | dev->level | 0-5,7-255 |
| PARAM_VALUE | 0 | dev->parent | 0 |
| PARAM_VALUE | 0 | *dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | recip | 0 |
| PARAM_VALUE | 2 | target | 0 |
| PARAM_VALUE | 3 | data | 3124743877886152704 |
| BUF_SIZE | 3 | data | 2 |
| CAPPED_DATA | 0 | dev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c hub_port_connect() -> usb_get_std_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus->devnum_next | 1-65 |
| PARAM_VALUE | 0 | dev->bus->devnum_next_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->bus->devnum_next_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->bus->devnum_next_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->bus->devnum_next_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->bus->devnum_next_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->bus->devnum_next_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->bus->devnum_next_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->bus->devnum_next_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->bus->sysdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus_mA | 0-150 |
| PARAM_VALUE | 0 | dev->descriptor.bDeviceClass | 9 |
| PARAM_VALUE | 0 | dev->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | dev->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | dev->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | dev->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | dev->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->ep0.urb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ep0.urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ep0.urb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->filelist.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->filelist.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->filelist.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb4_link->link_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->usb4_link->link_dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->usb4_link->supplier->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | recip | 0 |
| PARAM_VALUE | 2 | target | 0 |
| PARAM_VALUE | 3 | data | 2120149870874365952 |
| BUF_SIZE | 0 | dev | 2344 |
| BUF_SIZE | 3 | data | 2 |
| CAPPED_DATA | 0 | dev->bus_mA | 1 |
| DATA_SOURCE | 0 | dev | r usb_alloc_dev |
| FUZZY_MAX | 0 | dev->bus_mA | 150 |
| BIT_INFO | 0 | dev->quirks | 0x0,0xffffffff |
| HARD_MAX | 0 | dev->bus_mA | 150 |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/misc/usbtest.c ch9_postconfig() -> usb_get_std_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus->sysdev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | recip | 0 |
| PARAM_VALUE | 2 | target | 0 |
| BUF_SIZE | 3 | data | 256 |
| CAPPED_DATA | 0 | dev->descriptor.bNumConfigurations | 1 |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c ch9_postconfig() -> usb_get_std_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus->sysdev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | recip | 1 |
| PARAM_VALUE | 2 | target | 0-255 |
| BUF_SIZE | 3 | data | 256 |
| CAPPED_DATA | 0 | dev->descriptor.bNumConfigurations | 1 |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c verify_halted() -> usb_get_std_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | dev->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | dev->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | dev->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | *dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | recip | 2 |
| PARAM_VALUE | 2 | target | 0-15,128-143 |
| PARAM_VALUE | 3 | data | 6084069285833981952 |
| BUF_SIZE | 3 | data | 2 |
| DATA_SOURCE | 2 | target | $1 |
| BIT_INFO | 2 | target | 0x0,0x8f |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |
drivers/usb/misc/usbtest.c verify_not_halted() -> usb_get_std_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | recip | 2 |
| PARAM_VALUE | 2 | target | 0-15,128-143 |
| PARAM_VALUE | 3 | data | 264015217289191424 |
| BUF_SIZE | 3 | data | 2 |
| DATA_SOURCE | 2 | target | $1 |
| BIT_INFO | 2 | target | 0x0,0x8f |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usbtest_dev)->lock |