Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/panthor/panthor_sched.c group_create_queue() -> group_free_queue()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->csg_id (-1)
PARAM_VALUE 0 group->max_compute_cores 0-64
PARAM_VALUE 0 group->max_fragment_cores 0-64
PARAM_VALUE 0 group->max_tiler_cores 0-64
PARAM_VALUE 0 group->priority 0-3
PARAM_VALUE 0 group->protm_suspend_buf 4096-ptr_max
PARAM_VALUE 0 group->ptdev 4096-ptr_max
PARAM_VALUE 0 group->ptdev->base.huge_mnt->mnt_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 group->ptdev->base.huge_mnt->mnt_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 group->ptdev->base.huge_mnt->mnt_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 group->ptdev->base.huge_mnt->mnt_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 group->ptdev->base.mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max
PARAM_VALUE 0 group->ptdev->fw->vm 0-s64max
PARAM_VALUE 0 group->ptdev->scheduler 4096-ptr_max
PARAM_VALUE 0 group->refcount.refcount.refs.counter 1
PARAM_VALUE 0 group->run_node.next 4096-ptr_max
PARAM_VALUE 0 group->run_node.next->next 4096-ptr_max
PARAM_VALUE 0 group->run_node.prev 4096-ptr_max
PARAM_VALUE 0 group->run_node.prev->next 4096-ptr_max
PARAM_VALUE 0 group->run_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 group->state 0
PARAM_VALUE 0 group->suspend_buf 4096-ptr_max
PARAM_VALUE 0 group->syncobjs 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->_resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->_resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 group->syncobjs->obj->dev 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->filp 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->funcs 8658083686396645376
PARAM_VALUE 0 group->syncobjs->obj->funcs->vmap 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->lru_node.next 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->lru_node.prev 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->refcount.refcount.refs.counter 1
PARAM_VALUE 0 group->syncobjs->obj->size 0,4096-u64max
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_lock.magic 3736018669
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_lock.owner (-1)
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_node.hole_size 0-1
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_node.mm 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->obj->vma_node.vm_node.subtree_max_hole 1
PARAM_VALUE 0 group->syncobjs->va_node.color 0
PARAM_VALUE 0 group->syncobjs->va_node.hole_size 0-1
PARAM_VALUE 0 group->syncobjs->va_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.mm 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.mm->hole_stack.next->next 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.mm->hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.mm->holes_addr.rb_node 1-u64max
PARAM_VALUE 0 group->syncobjs->va_node.mm->holes_size.rb_leftmost 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.mm->holes_size.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.rb.rb_left 0,4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.rb.rb_right 0,4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 group->syncobjs->va_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 group->syncobjs->va_node.size 1-u64max
PARAM_VALUE 0 group->syncobjs->va_node.subtree_max_hole 1
PARAM_VALUE 0 group->syncobjs->vm 4096-ptr_max
PARAM_VALUE 0 group->vm 4096-ptr_max
PARAM_VALUE 0 group->vm->base.r_obj->resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 group->vm->base.r_obj->resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 group->vm->mm_lock.dep_map->name 0-255
PARAM_VALUE 0 group->vm->mm_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 group->vm->mm_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 group->vm->mm_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 group->vm->mm_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 group->vm->mm_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 group->vm->mm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 group->vm->mm_lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 group->vm->mm_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 group->vm->mm_lock.osq.tail.counter s32min-s32max
PARAM_VALUE 0 group->vm->op_lock.dep_map->name 0-255
PARAM_VALUE 0 group->vm->op_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 group->vm->op_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 group->vm->op_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 group->vm->op_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 group->vm->op_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 group->vm->ptdev->gpu->pending_reqs 0-4294967295
PARAM_VALUE 0 group->vm->ptdev->gpu->reqs_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 group->vm->ptdev->mmu->as.slots_lock.dep_map->name 0-255
PARAM_VALUE 0 group->vm->ptdev->mmu->as.slots_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 group->vm->ptdev->mmu->as.slots_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 group->vm->ptdev->mmu->as.slots_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 group->wait_node.next 4096-ptr_max
PARAM_VALUE 0 group->wait_node.next->next 4096-ptr_max
PARAM_VALUE 0 group->wait_node.prev 4096-ptr_max
PARAM_VALUE 0 group->wait_node.prev->next 4096-ptr_max
PARAM_VALUE 0 group->wait_node.prev->prev 4096-ptr_max
PARAM_VALUE 1 queue 4096-ptr_max
PARAM_VALUE 1 queue->fence_ctx.in_flight_jobs.next 4096-ptr_max
PARAM_VALUE 1 queue->fence_ctx.in_flight_jobs.next->next 4096-ptr_max
PARAM_VALUE 1 queue->fence_ctx.in_flight_jobs.prev 4096-ptr_max
PARAM_VALUE 1 queue->fence_ctx.in_flight_jobs.prev->next 4096-ptr_max
PARAM_VALUE 1 queue->fence_ctx.in_flight_jobs.prev->prev 4096-ptr_max
PARAM_VALUE 1 queue->priority 0-15
PARAM_VALUE 1 queue->ringbuf 4096-u64max
PARAM_VALUE 1 queue->ringbuf->obj 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->_resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->_resv.lock.ww_class 8825623990767841280
PARAM_VALUE 1 queue->ringbuf->obj->dev 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->filp 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->funcs 8658083686396645376
PARAM_VALUE 1 queue->ringbuf->obj->funcs->vmap 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->lru_node.next 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->lru_node.prev 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->ringbuf->obj->size 0,4096-9223372036854775807
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_node.hole_size 0-1
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_node.mm 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->obj->vma_node.vm_node.subtree_max_hole 1
PARAM_VALUE 1 queue->ringbuf->va_node.color 0
PARAM_VALUE 1 queue->ringbuf->va_node.hole_size 0-1
PARAM_VALUE 1 queue->ringbuf->va_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.mm 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.mm->hole_stack.next->next 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.mm->hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.mm->holes_addr.rb_node 1-u64max
PARAM_VALUE 1 queue->ringbuf->va_node.mm->holes_size.rb_leftmost 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.mm->holes_size.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.rb.rb_left 0,4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.rb.rb_left->rb_right 0
PARAM_VALUE 1 queue->ringbuf->va_node.rb.rb_right 0,4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.rb_hole_addr.rb_left->rb_right 0
PARAM_VALUE 1 queue->ringbuf->va_node.rb_hole_addr.rb_right->rb_left 0
PARAM_VALUE 1 queue->ringbuf->va_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 1 queue->ringbuf->va_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 1 queue->ringbuf->va_node.size 1-u64max
PARAM_VALUE 1 queue->ringbuf->va_node.subtree_max_hole 1
PARAM_VALUE 1 queue->ringbuf->vm 4096-ptr_max
PARAM_VALUE 1 queue->scheduler.ops->cancel_job 0,7588619251115601920
PARAM_VALUE 1 queue->scheduler.ops->free_job 4096-ptr_max
PARAM_VALUE 1 queue->scheduler.ops->prepare_job 0,6347586488842227712
PARAM_VALUE 1 queue->scheduler.ops->run_job 4096-ptr_max
PARAM_VALUE 1 queue->scheduler.ops->timedout_job 0,4096-ptr_max
PARAM_VALUE 1 queue->timeout.remaining 0-536870912
BUF_SIZE 0 group 912
BUF_SIZE 0 group->protm_suspend_buf 200
BUF_SIZE 0 group->suspend_buf 200
BUF_SIZE 0 group->syncobjs 200
BUF_SIZE 1 queue 1424
BUF_SIZE 1 queue->iface.mem (-1)-s32max
BUF_SIZE 1 queue->name (-1)-s32max
BUF_SIZE 1 queue->profiling.slots (-1),16,200
BUF_SIZE 1 queue->ringbuf (-1),16,200
CAPPED_DATA 0 group 1
CAPPED_DATA 0 group->max_compute_cores 1
CAPPED_DATA 0 group->max_fragment_cores 1
CAPPED_DATA 0 group->max_tiler_cores 1
CAPPED_DATA 0 group->ptdev->fw->vm 1
CAPPED_DATA 0 group->vm 1
DATA_SOURCE 0 group $0
DATA_SOURCE 1 queue r _kzalloc_noprof
NOSPEC 0 group->syncobjs->va_node.size
NOSPEC 1 queue->profiling.slot_count
NOSPEC 1 queue->profiling.slots->va_node.size
NOSPEC 1 queue->ringbuf->va_node.size
MEM_ZERO 0 group->syncobjs->kmap
NOCHECK_CALL
USER_DATA 0 group->compute_core_mask 0-u64max[u]
USER_DATA 0 group->fragment_core_mask 0-u64max[u]
USER_DATA 0 group->priority 0-3[u]
USER_DATA 0 group->syncobjs->obj->size 0,4096-u64max[c]
USER_DATA 0 group->syncobjs->obj->vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 group->syncobjs->obj->vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 group->syncobjs->va_node.size 1-21474869214[c]
USER_DATA 0 group->syncobjs->va_node.start 0-s32max[c]
USER_DATA 0 group->tiler_core_mask 0-u64max[u]
USER_DATA 0 group->vm->op_ctx->va.addr s64min-s64max
USER_DATA 0 group->vm->op_ctx->va.range s64min-s64max
USER_DATA 1 queue->priority 0-15[u]
USER_DATA 1 queue->profiling.slot_count 0-536871935[c]
USER_DATA 1 queue->profiling.slots->obj->size 0,4096-9223372036854775807[c]
USER_DATA 1 queue->profiling.slots->obj->vma_node.vm_node.size 1-s32max[c]
USER_DATA 1 queue->profiling.slots->obj->vma_node.vm_node.start 0-s32max[c]
USER_DATA 1 queue->profiling.slots->va_node.size 1-21474869214[c]
USER_DATA 1 queue->profiling.slots->va_node.start 0-s32max[c]
USER_DATA 1 queue->ringbuf->obj->size 0,4096-9223372036854775807[c]
USER_DATA 1 queue->ringbuf->obj->vma_node.vm_node.size 1-s32max[c]
USER_DATA 1 queue->ringbuf->obj->vma_node.vm_node.start 0-s32max[c]
USER_DATA 1 queue->ringbuf->va_node.size 1-21474869214[c]
USER_DATA 1 queue->ringbuf->va_node.start 0-s32max[c]
USER_DATA 1 queue->scheduler.credit_limit 0-536870911
NO_OVERFLOW_SIMPLE 0 group->ptdev->fw->vm->op_ctx->rsvd_page_tables.count

drivers/gpu/drm/panthor/panthor_sched.c group_release_work() -> group_free_queue()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->ptdev->base.huge_mnt->mnt_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 group->queue_count 1-u32max
PARAM_VALUE 0 group->queues 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock