Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/usb/host/ehci-hcd.c ehci_qh_alloc() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->qh_pool 4096-ptr_max
PARAM_VALUE 0 ehci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ehci->qh_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ehci->qh_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ehci->qh_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ehci->qh_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qh_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ehci->qh_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ehci->qh_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qh_pool->size 0-s32max
PARAM_VALUE 0 ehci->qtd_pool 4096-ptr_max
PARAM_VALUE 1 flags 2080,3264
BUF_SIZE 0 ehci->async (-1),144
BUF_SIZE 0 ehci->itd_pool (-1),192
BUF_SIZE 0 ehci->periodic (-1),2048,4096
BUF_SIZE 0 ehci->qh_pool (-1),192
BUF_SIZE 0 ehci->qtd_pool (-1),192
BUF_SIZE 0 ehci->sitd_pool (-1),192
CAPPED_DATA 0 ehci->qh_pool->size 1
CAPPED_DATA 0 ehci->qtd_pool->size 1
DATA_SOURCE 0 ehci $0
DATA_SOURCE 1 flags $1
HARD_MAX 1 flags 3264
RX_PATH
NO_OVERFLOW_SIMPLE 0 ehci->qtd_pool->allocation
HALF_LOCKED2 flags
HALF_LOCKED2 0 &ehci->lock

drivers/usb/host/ehci-hcd.c ehci_submit_single_step_set_feature() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 1 flags 3264
RX_PATH

drivers/usb/host/ehci-hcd.c ehci_submit_single_step_set_feature() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->qtd_pool 4096-ptr_max
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ehci->qtd_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qtd_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ehci->qtd_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ehci->qtd_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qtd_pool->size 0-s32max
PARAM_VALUE 1 flags 2080
CAPPED_DATA 0 ehci->qtd_pool->size 1
RX_PATH

drivers/usb/host/ehci-hcd.c qh_urb_transaction() -> ehci_qtd_alloc()

Type Parameter Key Value
DATA_SOURCE 0 ehci $0
DATA_SOURCE 1 flags $3

drivers/usb/host/ehci-hcd.c qh_urb_transaction() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->qtd_pool 4096-ptr_max
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ehci->qtd_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qtd_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ehci->qtd_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ehci->qtd_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qtd_pool->size 0-s32max
CAPPED_DATA 0 ehci->qtd_pool->size 1
DATA_SOURCE 0 ehci $0
DATA_SOURCE 1 flags $3

drivers/usb/host/ehci-hcd.c qh_urb_transaction() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->qtd_pool 4096-ptr_max
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ehci->qtd_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qtd_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ehci->qtd_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ehci->qtd_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qtd_pool->size 0-s32max
CAPPED_DATA 0 ehci->qtd_pool->size 1
DATA_SOURCE 0 ehci $0
DATA_SOURCE 1 flags $3

drivers/usb/host/ehci-hcd.c qh_urb_transaction() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->qtd_pool 4096-ptr_max
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ehci->qtd_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qtd_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ehci->qtd_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ehci->qtd_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qtd_pool->size 0-s32max
CAPPED_DATA 0 ehci->qtd_pool->size 1
DATA_SOURCE 0 ehci $0
DATA_SOURCE 1 flags $3

drivers/usb/host/oxu210hp-hcd.c oxu_qh_alloc() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->mem->qh_pool 4096-ptr_max
PARAM_VALUE 0 ehci->mem_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ehci->qh_used 4096-ptr_max
PARAM_VALUE 0 *ehci->qtd_used 0-255
BUF_SIZE 0 ehci->murb_pool (-1),1664
DATA_SOURCE 0 ehci $0
PREEMPT_ADD <- disables preempt
LOCK2 0 &ehci->mem_lock
HALF_LOCKED2 flags
HALF_LOCKED2 0 &ehci->lock
TYPE_LOCK (struct oxu_hcd)->mem_lock

drivers/usb/host/oxu210hp-hcd.c qh_urb_transaction() -> ehci_qtd_alloc()

Type Parameter Key Value
DATA_SOURCE 0 ehci $0

drivers/usb/host/oxu210hp-hcd.c qh_urb_transaction() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->mem_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *ehci->db_used 1-4
PARAM_VALUE 0 *ehci->qtd_used 1
DATA_SOURCE 0 ehci $0

drivers/usb/host/oxu210hp-hcd.c qh_urb_transaction() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->mem_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *ehci->db_used 0-255
PARAM_VALUE 0 *ehci->qtd_used 0-255
DATA_SOURCE 0 ehci $0

drivers/usb/host/oxu210hp-hcd.c qh_urb_transaction() -> ehci_qtd_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->mem_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *ehci->db_used 0-255
PARAM_VALUE 0 *ehci->qtd_used 0-255
DATA_SOURCE 0 ehci $0