Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.next 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.prev 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.next 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.prev 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->caps 4096-ptr_max
PARAM_VALUE 0 ehci->hrtimer._softexpires 0
PARAM_VALUE 0 ehci->hrtimer.base 4096-ptr_max
PARAM_VALUE 0 ehci->hrtimer.function 1-u64max
PARAM_VALUE 0 ehci->hrtimer.is_hard 0
PARAM_VALUE 0 ehci->hrtimer.is_lazy 0
PARAM_VALUE 0 ehci->hrtimer.is_queued 0
PARAM_VALUE 0 ehci->hrtimer.is_rel 0
PARAM_VALUE 0 ehci->hrtimer.is_soft 0
PARAM_VALUE 0 ehci->hrtimer.node.expires 0
PARAM_VALUE 0 ehci->hrtimer.node.node.next 0
PARAM_VALUE 0 ehci->hrtimer.node.node.node.rb_left 0
PARAM_VALUE 0 ehci->hrtimer.node.node.node.rb_right 0
PARAM_VALUE 0 ehci->hrtimer.node.node.prev 0
PARAM_VALUE 0 ehci->intr_qh_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_qh_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_qh_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_qh_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_qh_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->need_io_watchdog 1
PARAM_VALUE 0 ehci->next_hrtimer_event 99
PARAM_VALUE 0 ehci->periodic_size 512,1024
PARAM_VALUE 0 ehci->qh_pool 4096-ptr_max
PARAM_VALUE 0 ehci->qtd_pool 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->uframe_periodic_max 100
PARAM_VALUE 1 flags 3264
BUF_SIZE 0 ehci->qh_pool 192
BUF_SIZE 0 ehci->qtd_pool 192
CAPPED_DATA 0 ehci->qh_pool->allocation 1
CAPPED_DATA 0 ehci->qh_pool->boundary 1
CAPPED_DATA 0 ehci->qh_pool->size 1
CAPPED_DATA 0 ehci->qtd_pool->allocation 1
CAPPED_DATA 0 ehci->qtd_pool->boundary 1
CAPPED_DATA 0 ehci->qtd_pool->size 1
DATA_SOURCE 0 ehci $0
DATA_SOURCE 1 flags $1
FUZZY_MAX 0 ehci->periodic_size 1024
BIT_INFO 0 ehci->periodic_size 0x0,0x600
HARD_MAX 0 ehci->periodic_size 1024
MEM_ZERO 0 &ehci->hrtimer

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

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->async 4096-ptr_max
PARAM_VALUE 0 ehci->async->dummy 4096-ptr_max
PARAM_VALUE 0 ehci->async->dummy->hw_alt_next 1
PARAM_VALUE 0 ehci->async->dummy->hw_next 1
PARAM_VALUE 0 ehci->async->dummy->hw_token 64
PARAM_VALUE 0 ehci->async->dummy->qtd_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->async->dummy->qtd_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->async->dummy->qtd_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->async->dummy->qtd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->async->dummy->qtd_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->async->hw 4096-ptr_max
PARAM_VALUE 0 ehci->async->qtd_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->async->qtd_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->async->qtd_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->async->qtd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->async->qtd_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->async->unlink_node.next 4096-ptr_max
PARAM_VALUE 0 ehci->async->unlink_node.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->async->unlink_node.prev 4096-ptr_max
PARAM_VALUE 0 ehci->async->unlink_node.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->async->unlink_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.next 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.prev 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->async_idle.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.next 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.prev 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->async_unlink.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_itd_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->cached_sitd_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->caps 4096-ptr_max
PARAM_VALUE 0 ehci->hrtimer._softexpires 0
PARAM_VALUE 0 ehci->hrtimer.base 4096-ptr_max
PARAM_VALUE 0 ehci->hrtimer.function 1-u64max
PARAM_VALUE 0 ehci->hrtimer.is_hard 0
PARAM_VALUE 0 ehci->hrtimer.is_lazy 0
PARAM_VALUE 0 ehci->hrtimer.is_queued 0
PARAM_VALUE 0 ehci->hrtimer.is_rel 0
PARAM_VALUE 0 ehci->hrtimer.is_soft 0
PARAM_VALUE 0 ehci->hrtimer.node.expires 0
PARAM_VALUE 0 ehci->hrtimer.node.node.next 0
PARAM_VALUE 0 ehci->hrtimer.node.node.node.rb_left 0
PARAM_VALUE 0 ehci->hrtimer.node.node.node.rb_right 0
PARAM_VALUE 0 ehci->hrtimer.node.node.prev 0
PARAM_VALUE 0 ehci->intr_qh_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_qh_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_qh_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_qh_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_qh_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.prev 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->intr_unlink_wait.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->itd_pool 4096-ptr_max
PARAM_VALUE 0 ehci->need_io_watchdog 1
PARAM_VALUE 0 ehci->next_hrtimer_event 99
PARAM_VALUE 0 ehci->periodic 1-ptr_max
PARAM_VALUE 0 ehci->periodic_size 512,1024
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 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 0 ehci->sitd_pool 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.next 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.next->next 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.prev 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ehci->tt_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ehci->uframe_periodic_max 100
PARAM_VALUE 0 ehci->use_dummy_qh 1
PARAM_VALUE 1 flags 3264
BUF_SIZE 0 ehci->async 144
BUF_SIZE 0 ehci->itd_pool 192
BUF_SIZE 0 ehci->periodic 2048,4096
BUF_SIZE 0 ehci->qh_pool 192
BUF_SIZE 0 ehci->qtd_pool 192
BUF_SIZE 0 ehci->sitd_pool 192
CAPPED_DATA 0 ehci->itd_pool->allocation 1
CAPPED_DATA 0 ehci->itd_pool->boundary 1
CAPPED_DATA 0 ehci->itd_pool->size 1
CAPPED_DATA 0 ehci->qh_pool->allocation 1
CAPPED_DATA 0 ehci->qh_pool->boundary 1
CAPPED_DATA 0 ehci->qh_pool->size 1
CAPPED_DATA 0 ehci->qtd_pool->allocation 1
CAPPED_DATA 0 ehci->qtd_pool->boundary 1
CAPPED_DATA 0 ehci->qtd_pool->size 1
CAPPED_DATA 0 ehci->sitd_pool->allocation 1
CAPPED_DATA 0 ehci->sitd_pool->boundary 1
CAPPED_DATA 0 ehci->sitd_pool->size 1
DATA_SOURCE 0 ehci $0
DATA_SOURCE 1 flags $1
FUZZY_MAX 0 ehci->periodic_size 1024
BIT_INFO 0 ehci->periodic_size 0x0,0x600
HARD_MAX 0 ehci->periodic_size 1024
MEM_ZERO 0 &ehci->hrtimer

drivers/usb/host/ehci-hcd.c qh_make() -> ehci_qh_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 s32min-s32max
PARAM_VALUE 0 ehci->qtd_pool->dev->cma_area->nranges s32min-s32max
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
DATA_SOURCE 0 ehci $0
DATA_SOURCE 1 flags $2
RX_PATH
LOCK2 flags
LOCK2 0 &ehci->lock
TYPE_LOCK (struct ehci_hcd)->lock