Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/panthor/panthor_sched.c cs_slot_process_tiler_oom_event_locked() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
NOCHECK_CALL
LOCK2 &sched->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct panthor_scheduler)->lock

drivers/gpu/drm/panthor/panthor_sched.c csg_slot_sync_update_locked() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 1-u64max
NOCHECK_CALL
LOCK2 &sched->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct panthor_scheduler)->lock

drivers/gpu/drm/panthor/panthor_sched.c group_bind_locked() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->csg_id (-1)
PARAM_VALUE 0 group->ptdev 4096-ptr_max
PARAM_VALUE 0 group->ptdev->scheduler 4096-ptr_max
PARAM_VALUE 0 group->ptdev->scheduler->csg_slots 4096-ptr_max
PARAM_VALUE 0 group->vm 4096-ptr_max
PARAM_VALUE 0 group->vm->as.active_cnt.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 group->vm->as.id 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->next 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->op_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 group->vm->op_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 group->vm->ptdev 4096-ptr_max
PARAM_VALUE 0 group->vm->ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648
PARAM_VALUE 0 group->vm->ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576
PARAM_VALUE 0 group->vm->ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 group->vm->ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360
PARAM_VALUE 0 group->vm->ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 group->vm->ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 group->vm->ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 group->vm->ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 group->vm->ptdev->base.gem_lru_mutex.dep_map->name 0-255
PARAM_VALUE 0 group->vm->ptdev->base.gem_lru_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 group->vm->ptdev->base.gem_lru_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 group->vm->ptdev->base.gem_lru_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 group->vm->ptdev->base.gem_lru_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 group->vm->ptdev->base.gem_lru_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 group->vm->ptdev->base.gem_lru_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 group->vm->ptdev->base.huge_mnt->mnt_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 group->vm->ptdev->base.mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264
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->gpu_info.selected_coherency 0,31
PARAM_VALUE 0 group->vm->ptdev->mmu->as.faulty_mask 0-4294967295
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.dep_map->name 0-255
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->vm->ptdev->mmu->as.slots_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 group->vm->ptdev->mmu->as.slots_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 group->vm->ptdev->mmu->irq.mask 0-4294967295
PARAM_VALUE 0 group->vm->ptdev->mmu_info.page_size_bitmap 2101248
PARAM_VALUE 0 group->vm->ptdev->scheduler->ptdev 0-s64max
PARAM_VALUE 0 group->vm->ptdev->scheduler->resched_target 0-s64max
PARAM_VALUE 0 group->vm->unhandled_fault 0
DATA_SOURCE 0 group $0
NOCHECK_CALL
LOCK2 &sched->lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct panthor_scheduler)->lock

drivers/gpu/drm/panthor/panthor_sched.c group_from_handle() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 0-1025,1027-1029,1031-u64max
PREEMPT_ADD <- disables preempt
LOCK2 &(&pool->xa)->xa_lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/panthor/panthor_sched.c panthor_group_destroy() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->csg_id s32min-(-1)
PARAM_VALUE 0 group->destroyed 1
PARAM_VALUE 0 group->run_node.next->prev 4096-ptr_max
PARAM_VALUE 0 group->run_node.prev->next 4096-ptr_max
PARAM_VALUE 0 group->wait_node.next->prev 4096-ptr_max
PARAM_VALUE 0 group->wait_node.prev->next 4096-ptr_max
DATA_SOURCE 0 group r xa_erase
HARD_MAX 0 group->csg_id (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sched->lock
LOCK2 &sched->reset.lock
TYPE_LOCK (struct panthor_scheduler)->lock
TYPE_LOCK (struct panthor_scheduler)->reset.lock

drivers/gpu/drm/panthor/panthor_sched.c panthor_group_start() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->ptdev 4096-ptr_max
PARAM_VALUE 0 group->run_node.next->prev 4096-ptr_max
PARAM_VALUE 0 group->run_node.prev->next 4096-ptr_max
PARAM_VALUE 0 group->wait_node.next->prev 4096-ptr_max
PARAM_VALUE 0 group->wait_node.prev->next 4096-ptr_max
CAPPED_DATA 0 group->queue_count 1
DATA_SOURCE 0 group $0
NOCHECK_CALL
LOCK2 &sched->reset.lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct panthor_scheduler)->reset.lock

drivers/gpu/drm/panthor/panthor_sched.c panthor_group_stop() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->ptdev 4096-ptr_max
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
BUF_SIZE 0 group (-1),912
BUF_SIZE 0 group (-1),912
BUF_SIZE 0 group->protm_suspend_buf (-1),200
BUF_SIZE 0 group->suspend_buf (-1),200
BUF_SIZE 0 group->syncobjs (-1),200
CAPPED_DATA 0 group 1
CAPPED_DATA 0 group->queue_count 1
DATA_SOURCE 0 group $0
NOSPEC 0 group->syncobjs->va_node.size
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]
NO_OVERFLOW_SIMPLE 0 group->ptdev->fw->vm->op_ctx->rsvd_page_tables.count
LOCK2 &sched->reset.lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct panthor_scheduler)->reset.lock

drivers/gpu/drm/panthor/panthor_sched.c panthor_sched_suspend() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 1-u64max
NOCHECK_CALL
LOCK2 &sched->lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &sched->reset.lock
TYPE_LOCK (struct panthor_scheduler)->lock

drivers/gpu/drm/panthor/panthor_sched.c panthor_sched_suspend() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->ptdev 4096-ptr_max
PARAM_VALUE 0 group->wait_node.next->prev 4096-ptr_max
PARAM_VALUE 0 group->wait_node.prev->next 4096-ptr_max
CAPPED_DATA 0 &group->run_node 1
NOCHECK_CALL
LOCK2 &sched->lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &sched->reset.lock
TYPE_LOCK (struct panthor_scheduler)->lock

drivers/gpu/drm/panthor/panthor_sched.c queue_timedout_job() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->csg_id s32min-(-1)
PARAM_VALUE 0 group->ptdev 4096-ptr_max
PARAM_VALUE 0 group->ptdev->scheduler->lock.dep_map->name 0-255
PARAM_VALUE 0 group->ptdev->scheduler->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 group->ptdev->scheduler->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 group->ptdev->scheduler->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 group->ptdev->scheduler->lock.wait_lock.owner (-1)
PARAM_VALUE 0 group->ptdev->scheduler->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 group->queues 4096-ptr_max
PARAM_VALUE 0 group->run_node.next->prev 4096-ptr_max
PARAM_VALUE 0 group->run_node.prev->next 4096-ptr_max
PARAM_VALUE 0 group->timedout 1
PARAM_VALUE 0 group->wait_node.next->prev 4096-ptr_max
PARAM_VALUE 0 group->wait_node.prev->next 4096-ptr_max
HARD_MAX 0 group->csg_id (-1)
NOCHECK_CALL
LOCK2 &sched->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct panthor_scheduler)->lock

drivers/gpu/drm/panthor/panthor_sched.c tick_ctx_cleanup() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
CAPPED_DATA 0 &group->run_node 1
NOCHECK_CALL
LOCK2 &sched->lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct panthor_scheduler)->lock

drivers/gpu/drm/panthor/panthor_sched.c tick_ctx_init() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 1-u64max
NOCHECK_CALL
LOCK2 &sched->lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct panthor_scheduler)->lock

drivers/gpu/drm/panthor/panthor_sched.c tick_ctx_pick_groups_from_list() -> group_get()

Type Parameter Key Value
PARAM_VALUE 0 group 4096-ptr_max
PARAM_VALUE 0 group->destroyed 0
PARAM_VALUE 0 group->fatal_queues 0
PARAM_VALUE 0 group->state 0-2,5-u32max
PARAM_VALUE 0 group->timedout 0
CAPPED_DATA 0 &group->run_node 1
NOCHECK_CALL
LOCK2 &sched->lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct panthor_scheduler)->lock