Defined in 4 files as a function:
- drivers/gpu/drm/panfrost/panfrost_mmu.c, line 72 (as a function)
- drivers/gpu/drm/panthor/panthor_mmu.c, line 536 (as a function)
- drivers/spi/spi-realtek-rtl.c, line 59 (as a function)
- tools/testing/selftests/sched_ext/rt_stall.c, line 38 (as a function)
Referenced in 4 files:
- drivers/gpu/drm/panfrost/panfrost_mmu.c
- drivers/gpu/drm/panthor/panthor_mmu.c
- drivers/spi/spi-realtek-rtl.c
- tools/testing/selftests/sched_ext/rt_stall.c
Smatch caller information:
drivers/gpu/drm/panfrost/panfrost_mmu.c mmu_hw_do_operation_locked() -> wait_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ptdev->as_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ptdev->base.dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ptdev->base.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->base.huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | ptdev->perfcnt->user | 0-s64max |
| PARAM_VALUE | 1 | as_nr | 0-s32max |
| DATA_SOURCE | 0 | ptdev | $0 |
| DATA_SOURCE | 1 | as_nr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ptdev->as_lock | |
| TYPE_LOCK | (struct panfrost_device)->as_lock |
drivers/gpu/drm/panfrost/panfrost_mmu.c write_cmd() -> wait_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ptdev->as_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ptdev->base.dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ptdev->base.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->base.huge_mnt->mnt_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | ptdev->base.huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | ptdev->perfcnt->user | 0-s64max |
| DATA_SOURCE | 0 | ptdev | $0 |
| DATA_SOURCE | 1 | as_nr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ptdev->as_lock | |
| TYPE_LOCK | (struct panfrost_device)->as_lock |
drivers/gpu/drm/panthor/panthor_mmu.c as_send_cmd_and_wait() -> wait_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ptdev->base.debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ptdev->base.debugfs_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ptdev->base.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->base.huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | 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 | ptdev->clks.core | 0,4096-u64max |
| PARAM_VALUE | 0 | ptdev->clks.coregroup | 0,4096-u64max |
| PARAM_VALUE | 0 | ptdev->clks.stacks | 0,4096-u64max |
| PARAM_VALUE | 0 | ptdev->csif_info.cs_reg_count | 1-256 |
| PARAM_VALUE | 0 | ptdev->csif_info.csg_slot_count | 0-16 |
| PARAM_VALUE | 0 | ptdev->csif_info.scoreboard_slot_count | 0-255 |
| PARAM_VALUE | 0 | ptdev->csif_info.unpreserved_cs_reg_count | 4 |
| PARAM_VALUE | 0 | ptdev->devfreq | 1-u64max |
| PARAM_VALUE | 0 | ptdev->devfreq->devfreq | 0-s64max |
| PARAM_VALUE | 0 | ptdev->fw->booted | 0-1 |
| PARAM_VALUE | 0 | ptdev->fw->vm | 0-s64max |
| PARAM_VALUE | 0 | ptdev->gpu->pending_reqs | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->gpu_info.selected_coherency | 0,31 |
| PARAM_VALUE | 0 | ptdev->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ptdev->mmu->as.alloc_mask | 0 |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ptdev->mmu_info.page_size_bitmap | 2101248 |
| PARAM_VALUE | 0 | ptdev->pwr->pending_reqs | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->scheduler->as_slot_count | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->scheduler->csg_slot_count | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->scheduler->last_tick | 0-s64max |
| PARAM_VALUE | 0 | ptdev->scheduler->might_have_idle_groups | 0-1 |
| PARAM_VALUE | 0 | ptdev->scheduler->ptdev | s64min-(-4096),0-s64max |
| PARAM_VALUE | 0 | ptdev->scheduler->resched_target | (-1)-s64max |
| PARAM_VALUE | 0 | ptdev->scheduler->sb_slot_count | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->scheduler->tick_period | 0-s64max |
| PARAM_VALUE | 0 | *ptdev->gpu_info.texture_features | 0-4294967295 |
| BUF_SIZE | 0 | ptdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ptdev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ptdev | $0 |
| DATA_SOURCE | 1 | as_nr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ptdev->gpu_info.as_present | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.coherency_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.core_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.csf_id | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.gpu_rev | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.l2_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.max_threads | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.mem_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.mmu_features | 64,320-4294967104 |
| HOST_DATA | 0 | ptdev->gpu_info.thread_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.thread_max_barrier_size | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.thread_max_workgroup_size | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.tiler_features | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | ptdev->fw->shared_section->data.size | |
| NO_OVERFLOW_SIMPLE | 0 | ptdev->gpu->irq.irq | |
| UNITS | 0 | ptdev | unit_byte |
| UNITS | 1 | as_nr | unit_array_size |
| HALF_LOCKED2 | &ptdev->mmu->as.slots_lock | ||
| HALF_LOCKED2 | &vm->op_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | 0 | &ptdev->mmu->as.slots_lock | |
| TYPE_LOCK | (struct panthor_mmu)->as.slots_lock |
drivers/gpu/drm/panthor/panthor_mmu.c as_send_cmd_and_wait() -> wait_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ptdev->base.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ptdev->base.debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ptdev->base.debugfs_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ptdev->base.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->base.huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | 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 | ptdev->clks.core | 0,4096-u64max |
| PARAM_VALUE | 0 | ptdev->clks.coregroup | 0,4096-u64max |
| PARAM_VALUE | 0 | ptdev->clks.stacks | 0,4096-u64max |
| PARAM_VALUE | 0 | ptdev->csif_info.cs_reg_count | 1-256 |
| PARAM_VALUE | 0 | ptdev->csif_info.csg_slot_count | 0-16 |
| PARAM_VALUE | 0 | ptdev->csif_info.scoreboard_slot_count | 0-255 |
| PARAM_VALUE | 0 | ptdev->csif_info.unpreserved_cs_reg_count | 4 |
| PARAM_VALUE | 0 | ptdev->devfreq | 1-u64max |
| PARAM_VALUE | 0 | ptdev->devfreq->devfreq | 0-s64max |
| PARAM_VALUE | 0 | ptdev->fw->booted | 0-1 |
| PARAM_VALUE | 0 | ptdev->fw->vm | 0-s64max |
| PARAM_VALUE | 0 | ptdev->gpu->pending_reqs | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->gpu_info.selected_coherency | 0,31 |
| PARAM_VALUE | 0 | ptdev->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ptdev->mmu | 4096-ptr_max |
| PARAM_VALUE | 0 | ptdev->mmu->as.alloc_mask | 0 |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ptdev->mmu->as.slots_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ptdev->mmu_info.page_size_bitmap | 2101248 |
| PARAM_VALUE | 0 | ptdev->pwr->pending_reqs | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->scheduler->as_slot_count | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->scheduler->csg_slot_count | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->scheduler->last_tick | 0-s64max |
| PARAM_VALUE | 0 | ptdev->scheduler->might_have_idle_groups | 0-1 |
| PARAM_VALUE | 0 | ptdev->scheduler->ptdev | s64min-(-4096),0-s64max |
| PARAM_VALUE | 0 | ptdev->scheduler->resched_target | (-1)-s64max |
| PARAM_VALUE | 0 | ptdev->scheduler->sb_slot_count | 0-4294967295 |
| PARAM_VALUE | 0 | ptdev->scheduler->tick_period | 0-s64max |
| PARAM_VALUE | 0 | *ptdev->gpu_info.texture_features | 0-4294967295 |
| BUF_SIZE | 0 | ptdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ptdev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ptdev | $0 |
| DATA_SOURCE | 1 | as_nr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ptdev->gpu_info.as_present | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.coherency_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.core_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.csf_id | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.gpu_rev | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.l2_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.max_threads | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.mem_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.mmu_features | 64,320-4294967104 |
| HOST_DATA | 0 | ptdev->gpu_info.thread_features | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.thread_max_barrier_size | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.thread_max_workgroup_size | 0-u32max |
| HOST_DATA | 0 | ptdev->gpu_info.tiler_features | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | ptdev->fw->shared_section->data.size | |
| NO_OVERFLOW_SIMPLE | 0 | ptdev->gpu->irq.irq | |
| UNITS | 0 | ptdev | unit_byte |
| UNITS | 1 | as_nr | unit_array_size |
| HALF_LOCKED2 | &ptdev->mmu->as.slots_lock | ||
| HALF_LOCKED2 | &vm->op_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | 0 | &ptdev->mmu->as.slots_lock | |
| TYPE_LOCK | (struct panthor_mmu)->as.slots_lock |