Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/bus/mhi/host/boot.c mhi_fw_load_handler() -> mhi_alloc_bhie_table()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 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->available_count 0-s64max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->cma_area->lock.rlock.dep_map->name 0-255
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->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->dev_state 0
PARAM_VALUE 0 mhi_cntrl->ee 0,6
PARAM_VALUE 0 mhi_cntrl->fbc_download 1
PARAM_VALUE 0 mhi_cntrl->mhi_dev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_dev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_dev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_lock.raw_lock.wlocked 0
PARAM_VALUE 0 mhi_cntrl->pm_state 2-127
PARAM_VALUE 0 mhi_cntrl->read_reg 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->sbl_size 1-u64max
PARAM_VALUE 0 mhi_cntrl->transition_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 image_info 4096-ptr_max
CAPPED_DATA 0 mhi_cntrl->cntrl_dev 1
CAPPED_DATA 0 mhi_cntrl->cntrl_dev->cma_area->nranges 1
DATA_SOURCE 0 mhi_cntrl $0
FUZZY_MAX 0 mhi_cntrl->ee 6
BIT_INFO 0 mhi_cntrl->ee 0x0,0x6
HOST_DATA 0 mhi_cntrl->ee 0
HOST_DATA 0 mhi_cntrl->serial_number 0-u32max
UNITS 2 alloc_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/bus/mhi/host/boot.c mhi_load_image_bhie() -> mhi_alloc_bhie_table()

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->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->ee 0,6
PARAM_VALUE 0 mhi_cntrl->fbc_download 0
PARAM_VALUE 0 mhi_cntrl->mhi_dev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_dev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_dev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_lock.raw_lock.wlocked 0
PARAM_VALUE 0 mhi_cntrl->pm_state 0-127
PARAM_VALUE 0 mhi_cntrl->read_reg 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->seg_len 1-u64max
PARAM_VALUE 0 mhi_cntrl->transition_list.next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->transition_list.next->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->transition_list.next->prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->transition_list.prev->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->transition_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->transition_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 image_info 7456197133602631680
CAPPED_DATA 2 alloc_size 1
CAPPED_DATA 2 alloc_size 1
DATA_SOURCE 0 mhi_cntrl $0
DATA_SOURCE 2 alloc_size $2
FUZZY_MAX 0 mhi_cntrl->ee 6
CONSTRAINT 2 alloc_size <=2870
BIT_INFO 0 mhi_cntrl->ee 0x0,0x6
HOST_DATA 0 mhi_cntrl->ee 0
HOST_DATA 0 mhi_cntrl->serial_number 0-u32max
UNITS 2 alloc_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/bus/mhi/host/init.c mhi_prepare_for_power_up() -> mhi_alloc_bhie_table()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->bhi 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->bhie 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->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_chan->tre_ring.db_addr 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.alloc_size 4095
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.base 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.ctxt_wp 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.el_size 16
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.elements 128
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.iommu_base 0,2048-u64max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.len 2048
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.pre_aligned 1-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.rp 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.wp 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_ctxt 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_ctxt->chan_ctxt 1-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_ctxt->cmd_ctxt 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_ctxt->er_ctxt 1-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->mhi_event->db_cfg.db_mode 1
PARAM_VALUE 0 mhi_cntrl->mhi_event->ring.base 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_event->ring.ctxt_wp 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_event->ring.el_size 16
PARAM_VALUE 0 mhi_cntrl->mhi_event->ring.pre_aligned 1-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_event->ring.rp 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_event->ring.wp 4096-ptr_max
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->rddm_size 1-u64max
PARAM_VALUE 0 mhi_cntrl->read_reg 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->reg_len 1-u64max
PARAM_VALUE 0 mhi_cntrl->total_ev_rings 0-s32max
PARAM_VALUE 0 *mhi_cntrl->mhi_cmd->ring->ctxt_wp 0,2048-u64max
PARAM_VALUE 1 image_info 4096-ptr_max
PARAM_VALUE 2 alloc_size 1-u64max
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
CAPPED_DATA 0 mhi_cntrl 1
CAPPED_DATA 0 mhi_cntrl->cntrl_dev 1
CAPPED_DATA 0 mhi_cntrl->cntrl_dev->cma_area->nranges 1
CAPPED_DATA 0 mhi_cntrl->max_chan 1
CAPPED_DATA 0 mhi_cntrl->total_ev_rings 1
CAPPED_DATA 0 &mhi_cntrl->pm_mutex 1
DATA_SOURCE 0 mhi_cntrl $0
STR_LEN 0 mhi_cntrl->name (-1),6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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