Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/host/uhci-hcd.c uhci_alloc_qh() -> uhci_alloc_td()

Type Parameter Key Value
PARAM_VALUE 0 uhci 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->qh_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->qh_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->qh_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->qh_pool->size 0-s32max
CAPPED_DATA 0 uhci->qh_pool->size 1
DATA_SOURCE 0 uhci $0
PREEMPT_ADD
LOCK2 flags
LOCK2 0 &uhci->lock
TYPE_LOCK (struct uhci_hcd)->lock

drivers/usb/host/uhci-hcd.c uhci_start() -> uhci_alloc_td()

Type Parameter Key Value
PARAM_VALUE 0 uhci 4096-ptr_max
PARAM_VALUE 0 uhci->frame 1-ptr_max
PARAM_VALUE 0 uhci->frame_cpu 4096-ptr_max
PARAM_VALUE 0 uhci->fsbr_timer.entry.pprev 0
PARAM_VALUE 0 uhci->fsbr_timer.flags 0-4194302
PARAM_VALUE 0 uhci->fsbr_timer.lockdep_map->name 0-255
PARAM_VALUE 0 uhci->idle_qh_list.next 4096-ptr_max
PARAM_VALUE 0 uhci->idle_qh_list.next->next 4096-ptr_max
PARAM_VALUE 0 uhci->idle_qh_list.prev 4096-ptr_max
PARAM_VALUE 0 uhci->idle_qh_list.prev->next 4096-ptr_max
PARAM_VALUE 0 uhci->idle_qh_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool 4096-ptr_max
PARAM_VALUE 0 uhci->td_pool 4096-ptr_max
PARAM_VALUE 0 uhci->waitqh.head.next 4096-ptr_max
PARAM_VALUE 0 uhci->waitqh.head.next->next 4096-ptr_max
PARAM_VALUE 0 uhci->waitqh.head.prev 4096-ptr_max
PARAM_VALUE 0 uhci->waitqh.head.prev->next 4096-ptr_max
PARAM_VALUE 0 uhci->waitqh.head.prev->prev 4096-ptr_max
BUF_SIZE 0 uhci->frame 4096
BUF_SIZE 0 uhci->frame_cpu 8192
BUF_SIZE 0 uhci->qh_pool 192
BUF_SIZE 0 uhci->td_pool 192
CAPPED_DATA 0 uhci->qh_pool->allocation 1
CAPPED_DATA 0 uhci->qh_pool->boundary 1
CAPPED_DATA 0 uhci->qh_pool->size 1
CAPPED_DATA 0 uhci->td_pool->allocation 1
CAPPED_DATA 0 uhci->td_pool->boundary 1
CAPPED_DATA 0 uhci->td_pool->size 1
MEM_ZERO 0 uhci->frame

drivers/usb/host/uhci-hcd.c uhci_submit_common() -> uhci_alloc_td()

Type Parameter Key Value
PARAM_VALUE 0 uhci->qh_pool 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->qh_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->qh_pool->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 uhci->qh_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->qh_pool->size 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 uhci->td_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->td_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->td_pool->lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 uhci->qh_pool->size 1
DATA_SOURCE 0 uhci $0
PREEMPT_ADD
LOCK2 flags
LOCK2 0 &uhci->lock
TYPE_LOCK (struct uhci_hcd)->lock

drivers/usb/host/uhci-hcd.c uhci_submit_common() -> uhci_alloc_td()

Type Parameter Key Value
PARAM_VALUE 0 uhci->qh_pool 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->qh_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->qh_pool->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 uhci->qh_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->qh_pool->size 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 uhci->td_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->td_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->td_pool->lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 uhci->qh_pool->size 1
DATA_SOURCE 0 uhci $0
PREEMPT_ADD
LOCK2 flags
LOCK2 0 &uhci->lock
TYPE_LOCK (struct uhci_hcd)->lock

drivers/usb/host/uhci-hcd.c uhci_submit_common() -> uhci_alloc_td()

Type Parameter Key Value
PARAM_VALUE 0 uhci->qh_pool 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->qh_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->qh_pool->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 uhci->qh_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->qh_pool->size 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 uhci->td_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->td_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->td_pool->lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 uhci->qh_pool->size 1
DATA_SOURCE 0 uhci $0
PREEMPT_ADD
LOCK2 flags
LOCK2 0 &uhci->lock
TYPE_LOCK (struct uhci_hcd)->lock

drivers/usb/host/uhci-hcd.c uhci_submit_control() -> uhci_alloc_td()

Type Parameter Key Value
PARAM_VALUE 0 uhci->qh_pool 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->qh_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->qh_pool->size 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->td_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->td_pool->lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 uhci->qh_pool->size 1
DATA_SOURCE 0 uhci $0
PREEMPT_ADD
LOCK2 flags
LOCK2 0 &uhci->lock
TYPE_LOCK (struct uhci_hcd)->lock

drivers/usb/host/uhci-hcd.c uhci_submit_control() -> uhci_alloc_td()

Type Parameter Key Value
PARAM_VALUE 0 uhci->qh_pool 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->qh_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->qh_pool->size 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->td_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->td_pool->lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 uhci->qh_pool->size 1
DATA_SOURCE 0 uhci $0
PREEMPT_ADD
LOCK2 flags
LOCK2 0 &uhci->lock
TYPE_LOCK (struct uhci_hcd)->lock

drivers/usb/host/uhci-hcd.c uhci_submit_control() -> uhci_alloc_td()

Type Parameter Key Value
PARAM_VALUE 0 uhci 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->qh_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->qh_pool->size 0-s32max
PARAM_VALUE 0 uhci->td_pool 4096-ptr_max
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 uhci->td_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->td_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->td_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->td_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->td_pool->size 0-s32max
CAPPED_DATA 0 uhci->qh_pool->size 1
CAPPED_DATA 0 uhci->td_pool->size 1
DATA_SOURCE 0 uhci $0
PREEMPT_ADD
LOCK2 flags
LOCK2 0 &uhci->lock
TYPE_LOCK (struct uhci_hcd)->lock

drivers/usb/host/uhci-hcd.c uhci_submit_isochronous() -> uhci_alloc_td()

Type Parameter Key Value
PARAM_VALUE 0 uhci 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool 4096-ptr_max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 uhci->qh_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->qh_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 uhci->qh_pool->size 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 uhci->td_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 uhci->td_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 uhci->td_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 uhci->td_pool->lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 uhci->qh_pool->size 1
DATA_SOURCE 0 uhci $0
PREEMPT_ADD
LOCK2 flags
LOCK2 0 &uhci->lock
TYPE_LOCK (struct uhci_hcd)->lock