Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/msm/msm_gem_submit.c msm_ioctl_gem_submit() -> submit_bo()

Type Parameter Key Value
PARAM_VALUE 0 submit 4096-ptr_max
PARAM_VALUE 0 submit->base.cb.func 0
PARAM_VALUE 0 submit->base.cb.node.next 0
PARAM_VALUE 0 submit->base.cb.node.prev 0
PARAM_VALUE 0 submit->base.credits 1
PARAM_VALUE 0 submit->base.dependencies.xa_flags 33554436
PARAM_VALUE 0 submit->base.dependencies.xa_head 0
PARAM_VALUE 0 submit->base.entity_stats 0
PARAM_VALUE 0 submit->base.finish_cb.func 0
PARAM_VALUE 0 submit->base.finish_cb.node.next 0
PARAM_VALUE 0 submit->base.finish_cb.node.prev 0
PARAM_VALUE 0 submit->base.karma.counter 0
PARAM_VALUE 0 submit->base.last_dependency 0
PARAM_VALUE 0 submit->base.list.next 4096-ptr_max
PARAM_VALUE 0 submit->base.list.next->next 4096-ptr_max
PARAM_VALUE 0 submit->base.list.prev 4096-ptr_max
PARAM_VALUE 0 submit->base.list.prev->next 4096-ptr_max
PARAM_VALUE 0 submit->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 submit->base.queue_node.next 0
PARAM_VALUE 0 submit->base.s_fence 4096-ptr_max
PARAM_VALUE 0 submit->base.s_priority 0
PARAM_VALUE 0 submit->base.sched 0
PARAM_VALUE 0 submit->base.work.data.counter 0
PARAM_VALUE 0 submit->base.work.entry.next 0
PARAM_VALUE 0 submit->base.work.entry.prev 0
PARAM_VALUE 0 submit->base.work.func 0
PARAM_VALUE 0 submit->bos 4096-ptr_max
PARAM_VALUE 0 submit->bos_pinned 1
PARAM_VALUE 0 submit->cmd 4096-ptr_max
PARAM_VALUE 0 submit->dev 4096-ptr_max
PARAM_VALUE 0 submit->dev->dev_private 4096-ptr_max
PARAM_VALUE 0 submit->dev->gem_lru_mutex.dep_map->name 0-255
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 submit->dev->gem_lru_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 submit->dev->unplugged 0
PARAM_VALUE 0 submit->exec.contended 0
PARAM_VALUE 0 submit->exec.contended->resv->lock->base.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 submit->exec.contended->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 submit->exec.contended->resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 submit->exec.contended->resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 submit->exec.contended->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 submit->exec.flags 1,3
PARAM_VALUE 0 submit->exec.ticket.dep_map->name 0-255
PARAM_VALUE 0 submit->exec.ticket.done_acquire 1
PARAM_VALUE 0 submit->exec.ticket.first_lock_dep_map->name 0-255
PARAM_VALUE 0 submit->exec.ticket.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 0 submit->exec.ticket.ww_class->is_wait_die 0-s32max
PARAM_VALUE 0 submit->exec.ticket.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 0 submit->fault_dumped 0
PARAM_VALUE 0 submit->gpu 4096-ptr_max
PARAM_VALUE 0 submit->has_exec 1
PARAM_VALUE 0 submit->hw_fence 4096-ptr_max
PARAM_VALUE 0 submit->node.next 4096-ptr_max
PARAM_VALUE 0 submit->node.next->next 4096-ptr_max
PARAM_VALUE 0 submit->node.prev 4096-ptr_max
PARAM_VALUE 0 submit->node.prev->next 4096-ptr_max
PARAM_VALUE 0 submit->node.prev->prev 4096-ptr_max
PARAM_VALUE 0 submit->nr_bos 0-s32max
PARAM_VALUE 0 submit->pid 0,4096-ptr_max
PARAM_VALUE 0 submit->queue 4096-ptr_max
PARAM_VALUE 0 submit->queue->ctx 4096-ptr_max
PARAM_VALUE 0 submit->ref.refcount.refs.counter 1
PARAM_VALUE 0 submit->vm 4096-ptr_max
PARAM_VALUE 2 bo 8245360067537510400
PARAM_VALUE 3 iova 7326571079258198016
BUF_SIZE 0 submit 592-s32max
BUF_SIZE 0 submit 592-s32max
BUF_SIZE 0 submit->vm (-1),416
CAPPED_DATA 0 submit->nr_bos 1
CAPPED_DATA 0 submit->queue->id 1
CAPPED_DATA 0 submit->vm 1
DATA_SOURCE 0 submit r submit_create
NO_OVERFLOW_SIMPLE 0 submit->base.entity->num_sched_list
LOCK2 &queue->lock
TYPE_LOCK (struct msm_gpu_submitqueue)->lock

drivers/gpu/drm/msm/msm_gem_submit.c submit_reloc() -> submit_bo()

Type Parameter Key Value
PARAM_VALUE 0 submit 4096-ptr_max
PARAM_VALUE 0 submit->base.cb.func 0
PARAM_VALUE 0 submit->base.cb.node.next 0
PARAM_VALUE 0 submit->base.cb.node.prev 0
PARAM_VALUE 0 submit->base.credits 1
PARAM_VALUE 0 submit->base.dependencies.xa_flags 33554436
PARAM_VALUE 0 submit->base.dependencies.xa_head 0
PARAM_VALUE 0 submit->base.entity_stats 0
PARAM_VALUE 0 submit->base.finish_cb.func 0
PARAM_VALUE 0 submit->base.finish_cb.node.next 0
PARAM_VALUE 0 submit->base.finish_cb.node.prev 0
PARAM_VALUE 0 submit->base.karma.counter 0
PARAM_VALUE 0 submit->base.last_dependency 0
PARAM_VALUE 0 submit->base.list.next 4096-ptr_max
PARAM_VALUE 0 submit->base.list.next->next 4096-ptr_max
PARAM_VALUE 0 submit->base.list.prev 4096-ptr_max
PARAM_VALUE 0 submit->base.list.prev->next 4096-ptr_max
PARAM_VALUE 0 submit->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 submit->base.queue_node.next 0
PARAM_VALUE 0 submit->base.s_fence 4096-ptr_max
PARAM_VALUE 0 submit->base.s_priority 0
PARAM_VALUE 0 submit->base.sched 0
PARAM_VALUE 0 submit->base.work.data.counter 0
PARAM_VALUE 0 submit->base.work.entry.next 0
PARAM_VALUE 0 submit->base.work.entry.prev 0
PARAM_VALUE 0 submit->base.work.func 0
PARAM_VALUE 0 submit->bos 4096-ptr_max
PARAM_VALUE 0 submit->bos_pinned 1
PARAM_VALUE 0 submit->cmd 4096-ptr_max
PARAM_VALUE 0 submit->dev 4096-ptr_max
PARAM_VALUE 0 submit->dev->dev_private 4096-ptr_max
PARAM_VALUE 0 submit->dev->gem_lru_mutex.dep_map->name 0-255
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 submit->dev->gem_lru_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 submit->dev->gem_lru_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 submit->dev->unplugged 0
PARAM_VALUE 0 submit->exec.contended 0
PARAM_VALUE 0 submit->exec.contended->resv->lock->base.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 submit->exec.contended->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 submit->exec.contended->resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 submit->exec.contended->resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 submit->exec.contended->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 submit->exec.flags 1,3
PARAM_VALUE 0 submit->exec.ticket.dep_map->name 0-255
PARAM_VALUE 0 submit->exec.ticket.done_acquire 1
PARAM_VALUE 0 submit->exec.ticket.first_lock_dep_map->name 0-255
PARAM_VALUE 0 submit->exec.ticket.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 0 submit->exec.ticket.ww_class->is_wait_die 0-s32max
PARAM_VALUE 0 submit->exec.ticket.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 0 submit->fault_dumped 0
PARAM_VALUE 0 submit->gpu 4096-ptr_max
PARAM_VALUE 0 submit->has_exec 1
PARAM_VALUE 0 submit->hw_fence 4096-ptr_max
PARAM_VALUE 0 submit->node.next 4096-ptr_max
PARAM_VALUE 0 submit->node.next->next 4096-ptr_max
PARAM_VALUE 0 submit->node.prev 4096-ptr_max
PARAM_VALUE 0 submit->node.prev->next 4096-ptr_max
PARAM_VALUE 0 submit->node.prev->prev 4096-ptr_max
PARAM_VALUE 0 submit->nr_bos 1-s32max
PARAM_VALUE 0 submit->pid 0,4096-ptr_max
PARAM_VALUE 0 submit->queue 4096-ptr_max
PARAM_VALUE 0 submit->queue->ctx 4096-ptr_max
PARAM_VALUE 0 submit->ref.refcount.refs.counter 1
PARAM_VALUE 0 submit->vm 4096-ptr_max
PARAM_VALUE 0 submit->vm->r_obj->_resv.lock.ww_class->is_wait_die 0-1
PARAM_VALUE 0 submit->vm->r_obj->resv->lock.ww_class->is_wait_die 0-1
PARAM_VALUE 2 bo 0
PARAM_VALUE 3 iova 6816560128980795392
BUF_SIZE 0 submit 592-s32max
BUF_SIZE 0 submit 592-s32max
BUF_SIZE 0 submit->vm (-1),416
CAPPED_DATA 0 submit->nr_bos 1
CAPPED_DATA 0 submit->vm 1
DATA_SOURCE 0 submit $0
NO_OVERFLOW_SIMPLE 0 submit->base.entity->num_sched_list
LOCK2 &queue->lock
TYPE_LOCK (struct msm_gpu_submitqueue)->lock

drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c submit_perfmon_validate() -> submit_bo()

Type Parameter Key Value
PARAM_VALUE 0 submit 4096-ptr_max
PARAM_VALUE 0 submit->cmdbuf.size 8,16-131080
PARAM_VALUE 0 submit->cmdbuf.suballoc 4096-ptr_max
PARAM_VALUE 0 submit->cmdbuf.vaddr 4096-ptr_max
PARAM_VALUE 0 submit->ctx 4096-ptr_max
PARAM_VALUE 0 submit->ctx->mmu 4096-ptr_max
PARAM_VALUE 0 submit->exec_state 0-2
PARAM_VALUE 0 submit->flags 0-14
PARAM_VALUE 0 submit->gpu 1-u64max
PARAM_VALUE 0 submit->mmu_context 4096-ptr_max
PARAM_VALUE 0 submit->nr_bos 0-s32max
PARAM_VALUE 0 submit->nr_pmrs 1-128
PARAM_VALUE 0 submit->pid 0,4096-ptr_max
PARAM_VALUE 0 submit->pmrs 16,4096-ptr_max
PARAM_VALUE 0 submit->refcount.refcount.refs.counter 1
PARAM_VALUE 0 submit->sched_job.cb.func 0
PARAM_VALUE 0 submit->sched_job.cb.node.next 0
PARAM_VALUE 0 submit->sched_job.cb.node.prev 0
PARAM_VALUE 0 submit->sched_job.credits 1
PARAM_VALUE 0 submit->sched_job.dependencies.xa_flags 33554436
PARAM_VALUE 0 submit->sched_job.dependencies.xa_head 0
PARAM_VALUE 0 submit->sched_job.entity_stats 0
PARAM_VALUE 0 submit->sched_job.finish_cb.func 0
PARAM_VALUE 0 submit->sched_job.finish_cb.node.next 0
PARAM_VALUE 0 submit->sched_job.finish_cb.node.prev 0
PARAM_VALUE 0 submit->sched_job.karma.counter 0
PARAM_VALUE 0 submit->sched_job.last_dependency 0
PARAM_VALUE 0 submit->sched_job.list.next 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.list.next->next 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.list.prev 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.list.prev->next 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.queue_node.next 0
PARAM_VALUE 0 submit->sched_job.s_fence 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.s_priority 0
PARAM_VALUE 0 submit->sched_job.sched 0
PARAM_VALUE 0 submit->sched_job.work.data.counter 0
PARAM_VALUE 0 submit->sched_job.work.entry.next 0
PARAM_VALUE 0 submit->sched_job.work.entry.prev 0
PARAM_VALUE 0 submit->sched_job.work.func 0
PARAM_VALUE 2 bo 8814003201439547392
BUF_SIZE 0 submit 408-4194712
BUF_SIZE 0 submit 408-4194712
BUF_SIZE 0 submit->ctx 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
CAPPED_DATA 0 submit->mmu_context 1
CAPPED_DATA 0 submit->nr_bos 1
DATA_SOURCE 0 submit $0
MEM_ZERO 0 &submit->sched_job
USER_DATA 0 submit->cmdbuf.size 8,16-131080[c]
USER_DATA 0 submit->exec_state 0[u]
USER_DATA 0 submit->flags 0-14[u]
USER_DATA 0 submit->nr_pmrs 1-128[u]
USER_DATA 1 idx 0-u32max[u]
NO_OVERFLOW_SIMPLE 0 submit->nr_pmrs
NO_OVERFLOW_SIMPLE 0 submit->sched_job.entity->num_sched_list

drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c submit_reloc() -> submit_bo()

Type Parameter Key Value
PARAM_VALUE 0 submit 4096-ptr_max
PARAM_VALUE 0 submit->cmdbuf.size 8,16-131080
PARAM_VALUE 0 submit->cmdbuf.suballoc 4096-ptr_max
PARAM_VALUE 0 submit->cmdbuf.vaddr 4096-ptr_max
PARAM_VALUE 0 submit->ctx 4096-ptr_max
PARAM_VALUE 0 submit->ctx->mmu 4096-ptr_max
PARAM_VALUE 0 submit->exec_state 0-2
PARAM_VALUE 0 submit->flags 0-14
PARAM_VALUE 0 submit->gpu 1-u64max
PARAM_VALUE 0 submit->mmu_context 4096-ptr_max
PARAM_VALUE 0 submit->nr_bos 0-s32max
PARAM_VALUE 0 submit->nr_pmrs 0-128
PARAM_VALUE 0 submit->pid 0,4096-ptr_max
PARAM_VALUE 0 submit->pmrs 16,4096-ptr_max
PARAM_VALUE 0 submit->refcount.refcount.refs.counter 1
PARAM_VALUE 0 submit->sched_job.cb.func 0
PARAM_VALUE 0 submit->sched_job.cb.node.next 0
PARAM_VALUE 0 submit->sched_job.cb.node.prev 0
PARAM_VALUE 0 submit->sched_job.credits 1
PARAM_VALUE 0 submit->sched_job.dependencies.xa_flags 33554436
PARAM_VALUE 0 submit->sched_job.dependencies.xa_head 0
PARAM_VALUE 0 submit->sched_job.entity_stats 0
PARAM_VALUE 0 submit->sched_job.finish_cb.func 0
PARAM_VALUE 0 submit->sched_job.finish_cb.node.next 0
PARAM_VALUE 0 submit->sched_job.finish_cb.node.prev 0
PARAM_VALUE 0 submit->sched_job.karma.counter 0
PARAM_VALUE 0 submit->sched_job.last_dependency 0
PARAM_VALUE 0 submit->sched_job.list.next 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.list.next->next 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.list.prev 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.list.prev->next 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.queue_node.next 0
PARAM_VALUE 0 submit->sched_job.s_fence 4096-ptr_max
PARAM_VALUE 0 submit->sched_job.s_priority 0
PARAM_VALUE 0 submit->sched_job.sched 0
PARAM_VALUE 0 submit->sched_job.work.data.counter 0
PARAM_VALUE 0 submit->sched_job.work.entry.next 0
PARAM_VALUE 0 submit->sched_job.work.entry.prev 0
PARAM_VALUE 0 submit->sched_job.work.func 0
PARAM_VALUE 2 bo 7398844719704526848
BUF_SIZE 0 submit 408-4194712
BUF_SIZE 0 submit 408-4194712
BUF_SIZE 0 submit->ctx 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
CAPPED_DATA 0 submit->mmu_context 1
CAPPED_DATA 0 submit->nr_bos 1
DATA_SOURCE 0 submit $0
BIT_INFO 0 submit->flags 0x0,0x7
MEM_ZERO 0 &submit->sched_job
USER_DATA 0 submit->cmdbuf.size 8,16-131080[c]
USER_DATA 0 submit->exec_state 0[u]
USER_DATA 0 submit->flags 0-14[u]
USER_DATA 0 submit->nr_pmrs 0-128[u]
USER_DATA 1 idx 0-u32max[u]
NO_OVERFLOW_SIMPLE 0 submit->nr_pmrs
NO_OVERFLOW_SIMPLE 0 submit->sched_job.entity->num_sched_list