Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/host/xhci-dbgcap.c xhci_dbc_mem_cleanup() -> dbc_ring_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dbc->enable_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &xhci->mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->enable_mutex |
drivers/usb/host/xhci-dbgcap.c xhci_dbc_mem_cleanup() -> dbc_ring_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dbc->enable_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &xhci->mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->enable_mutex |
drivers/usb/host/xhci-dbgcap.c xhci_dbc_mem_cleanup() -> dbc_ring_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dbc->enable_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &xhci->mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->enable_mutex |
drivers/usb/host/xhci-dbgcap.c xhci_dbc_mem_init() -> dbc_ring_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->cycle_state | 1 |
| PARAM_VALUE | 1 | ring->deq_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->enq_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->first_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->last_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->num_segs | 1 |
| PARAM_VALUE | 1 | ring->td_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->type | 2 |
| BUF_SIZE | 1 | ring | 96 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 1 | ring | r xhci_dbc_ring_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dbc->enable_mutex | ||
| LOCK2 | &dbc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->enable_mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->lock |
drivers/usb/host/xhci-dbgcap.c xhci_dbc_mem_init() -> dbc_ring_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->cycle_state | 1 |
| PARAM_VALUE | 1 | ring->deq_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->enq_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->first_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->last_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->num_segs | 1 |
| PARAM_VALUE | 1 | ring->td_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->type | 2 |
| BUF_SIZE | 1 | ring | 96 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 1 | ring | r xhci_dbc_ring_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dbc->enable_mutex | ||
| LOCK2 | &dbc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->enable_mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->lock |
drivers/usb/host/xhci-dbgcap.c xhci_dbc_mem_init() -> dbc_ring_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->cycle_state | 1 |
| PARAM_VALUE | 1 | ring->deq_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->enq_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->first_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->last_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->num_segs | 1 |
| PARAM_VALUE | 1 | ring->td_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->td_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->type | 6 |
| BUF_SIZE | 1 | ring | 96 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 1 | ring | r xhci_dbc_ring_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dbc->enable_mutex | ||
| LOCK2 | &dbc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->enable_mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->lock |