Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/remoteproc/mtk_scp.c scp_elf_load_segments() -> rproc_da_to_va()

Type Parameter Key Value
PARAM_VALUE 0 rproc 4096-ptr_max
PARAM_VALUE 0 rproc->dbg_dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 rproc->dbg_dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 rproc->dbg_dir->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 rproc->dbg_dir->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 rproc->dbg_dir->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 rproc->dbg_dir->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 rproc->dbg_dir->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 rproc->dbg_dir->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 rproc->dbg_dir->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 rproc->dbg_dir->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 rproc->dbg_dir->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 rproc->dbg_dir->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 rproc->dbg_dir->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 rproc->dbg_dir->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 rproc->dbg_dir->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 rproc->dbg_dir->d_sb->__s_d_op->d_weak_revalidate 0,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 rproc->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 rproc->dev.class 0,4096-ptr_max
PARAM_VALUE 0 rproc->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 rproc->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 rproc->dev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 rproc->dev.kobj.parent->kset->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 rproc->dev.kobj.parent->kset->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 rproc->dev.kobj.parent->kset->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 rproc->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 rproc->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 rproc->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 rproc->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 rproc->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 rproc->dev.p->dead 0-1
PARAM_VALUE 0 rproc->dev.p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 rproc->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 rproc->firmware 0,4096-ptr_max
PARAM_VALUE 0 rproc->lock.dep_map->name 0-255
PARAM_VALUE 0 rproc->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 rproc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rproc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rproc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rproc->lock.wait_lock.owner (-1)
PARAM_VALUE 0 rproc->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rproc->ops 4096-ptr_max
PARAM_VALUE 0 rproc->ops->load 1-u64max
PARAM_VALUE 0 rproc->priv 4096-ptr_max
PARAM_VALUE 0 rproc->state 0-3,5,7-u32max
PARAM_VALUE 0 *rproc->firmware 0-127
PARAM_VALUE 2 len 1-u32max
PARAM_VALUE 3 is_iomem 0
BUF_SIZE 0 rproc s32min-(-1),1-s32max
BUF_SIZE 0 rproc s32min-(-1),1-s32max
DATA_SOURCE 0 rproc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 da unit_byte
UNITS 2 len unit_byte
LOCK2 0 &rproc->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rproc)->lock

drivers/remoteproc/remoteproc_coredump.c rproc_copy_segment() -> rproc_da_to_va()

Type Parameter Key Value
PARAM_VALUE 0 rproc 4096-ptr_max
PARAM_VALUE 3 is_iomem 7870953381807697920
PARAM_VALUE 3 *is_iomem 0
BUF_SIZE 0 rproc s32min-(-1),1-s32max
BUF_SIZE 0 rproc s32min-(-1),1-s32max
DATA_SOURCE 0 rproc $0
DATA_SOURCE 2 len $4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 len 2-4096[c]
UNITS 1 da unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &rproc->lock

drivers/remoteproc/remoteproc_debugfs.c rproc_trace_read() -> rproc_da_to_va()

Type Parameter Key Value
PARAM_VALUE 3 is_iomem 0
UNITS 1 da unit_byte
UNITS 2 len unit_byte

drivers/remoteproc/remoteproc_elf_loader.c rproc_elf_find_loaded_rsc_table() -> rproc_da_to_va()

Type Parameter Key Value
PARAM_VALUE 0 rproc 4096-ptr_max
PARAM_VALUE 0 rproc->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 rproc->dev.class 0,4096-ptr_max
PARAM_VALUE 0 rproc->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 rproc->firmware 0,4096-ptr_max
PARAM_VALUE 0 rproc->lock.dep_map->name 0-255
PARAM_VALUE 0 rproc->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 rproc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rproc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rproc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rproc->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rproc->lock.wait_lock.owner (-1)
PARAM_VALUE 0 rproc->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rproc->ops 4096-ptr_max
PARAM_VALUE 0 rproc->ops->find_loaded_rsc_table 1-u64max
PARAM_VALUE 0 rproc->ops->load 1-u64max
PARAM_VALUE 0 rproc->priv->cluster->cluster_lock.dep_map->name 0-255
PARAM_VALUE 0 rproc->priv->cluster->cluster_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rproc->state 0-3,5,7-u32max
PARAM_VALUE 3 is_iomem 0
BUF_SIZE 0 rproc s32min-(-1),1-s32max
BUF_SIZE 0 rproc s32min-(-1),1-s32max
DATA_SOURCE 0 rproc $0
DATA_SOURCE 1 da r elf_shdr_get_sh_addr
DATA_SOURCE 2 len r elf_shdr_get_sh_size
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &rproc->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rproc)->lock

drivers/remoteproc/remoteproc_elf_loader.c rproc_elf_load_segments() -> rproc_da_to_va()

Type Parameter Key Value
PARAM_VALUE 0 rproc 4096-ptr_max
PARAM_VALUE 0 rproc->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 rproc->dev.class 0,4096-ptr_max
PARAM_VALUE 0 rproc->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 rproc->firmware 0,4096-ptr_max
PARAM_VALUE 0 rproc->lock.dep_map->name 0-255
PARAM_VALUE 0 rproc->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 rproc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rproc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rproc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rproc->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rproc->lock.wait_lock.owner (-1)
PARAM_VALUE 0 rproc->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rproc->ops 4096-ptr_max
PARAM_VALUE 0 rproc->ops->load 1-u64max
PARAM_VALUE 0 rproc->state 0-3,5,7-u32max
PARAM_VALUE 2 len 1-u64max
PARAM_VALUE 3 is_iomem 8981539466554105856
PARAM_VALUE 3 *is_iomem 0
BUF_SIZE 0 rproc s32min-(-1),1-s32max
BUF_SIZE 0 rproc s32min-(-1),1-s32max
DATA_SOURCE 0 rproc $0
DATA_SOURCE 1 da r elf_phdr_get_p_paddr
DATA_SOURCE 2 len r elf_phdr_get_p_memsz
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &rproc->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rproc)->lock