Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/bus/mhi/host/init.c mhi_init_chan_ctxt() -> mhi_alloc_aligned_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_ctxt->chan_ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_dev->mhi_cntrl->cntrl_dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->el_size | 16 |
| BUF_SIZE | 1 | ring | 96 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mhi_cntrl | unit_byte |
| LOCK2 | &mhi_chan->mutex | ||
| HALF_LOCKED2 | &port->ops_lock | ||
| TYPE_LOCK | (struct mhi_chan)->mutex |
drivers/bus/mhi/host/init.c mhi_init_dev_ctxt() -> mhi_alloc_aligned_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | mhi_cntrl->dev_wake.counter | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->max_chan | 0-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | mhi_cntrl->pending_pkts.counter | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mhi_cntrl->total_ev_rings | 1-u32max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->el_size | 16 |
| BUF_SIZE | 0 | mhi_cntrl | (-1),984 |
| BUF_SIZE | 0 | mhi_cntrl | (-1),984 |
| BUF_SIZE | 0 | mhi_cntrl->cntrl_dev | (-1),1616 |
| BUF_SIZE | 0 | mhi_cntrl->irq | (-1),4 |
| BUF_SIZE | 0 | mhi_cntrl->name | (-1),7 |
| BUF_SIZE | 1 | ring | 96 |
| CAPPED_DATA | 0 | mhi_cntrl | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->cntrl_dev | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->max_chan | 1 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| STR_LEN | 0 | mhi_cntrl->name | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mhi_cntrl->nr_irqs | |
| UNITS | 0 | mhi_cntrl | unit_byte |
| LOCK2 | 0 | &mhi_cntrl->pm_mutex | |
| TYPE_LOCK | (struct mhi_controller)->pm_mutex |
drivers/bus/mhi/host/init.c mhi_init_dev_ctxt() -> mhi_alloc_aligned_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->cntrl_dev->iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | mhi_cntrl->dev_wake.counter | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->max_chan | 0-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | mhi_cntrl->pending_pkts.counter | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mhi_cntrl->pm_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mhi_cntrl->total_ev_rings | 0-s32max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->el_size | 16 |
| PARAM_VALUE | 1 | ring->elements | 128 |
| PARAM_VALUE | 1 | ring->len | 2048 |
| PARAM_VALUE | 2 | len | 2048 |
| BUF_SIZE | 0 | mhi_cntrl | (-1),984 |
| BUF_SIZE | 0 | mhi_cntrl | (-1),984 |
| BUF_SIZE | 0 | mhi_cntrl->cntrl_dev | (-1),1616 |
| BUF_SIZE | 0 | mhi_cntrl->irq | (-1),4 |
| BUF_SIZE | 0 | mhi_cntrl->name | (-1),7 |
| BUF_SIZE | 1 | ring | 96 |
| CAPPED_DATA | 0 | mhi_cntrl | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->cntrl_dev | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->max_chan | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->total_ev_rings | 1 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| STR_LEN | 0 | mhi_cntrl->name | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mhi_cntrl->nr_irqs | |
| UNITS | 0 | mhi_cntrl | unit_byte |
| LOCK2 | 0 | &mhi_cntrl->pm_mutex | |
| TYPE_LOCK | (struct mhi_controller)->pm_mutex |