Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_process_destroy_pdds() -> kfd_ptl_disable_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pdd->drm_priv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdd->ptl_disable_req | 1 |
| PARAM_VALUE | 0 | pdd->qpd.dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdd->qpd.dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pdd->qpd.dqm->lock_hidden.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdd->qpd.dqm->lock_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pdd->qpd.dqm->lock_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pdd->qpd.dqm->lock_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | pdd->qpd.dqm->lock_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pdd->qpd.dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | p->n_pdds | 1-s32max |
| PARAM_VALUE | 1 | p->pdds | 4096-ptr_max |
| PARAM_VALUE | 1 | p->svms.deferred_list_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | p->svms.drain_pagefaults.counter | 0-1 |
| PARAM_VALUE | 1 | p->svms.lock.magic | 0,4096-ptr_max |
| PARAM_VALUE | 1 | p->svms.restore_work.work.lockdep_map->name | 0-255 |
| BUF_SIZE | 1 | p | (-1),3376 |
| BUF_SIZE | 1 | p | (-1),3376 |
| CAPPED_DATA | 1 | p | 1 |
| CAPPED_DATA | 1 | p->n_pdds | 1 |
| DATA_SOURCE | 1 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_profiler_ptl_control() -> kfd_ptl_disable_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 1-u64max |
| PARAM_VALUE | 0 | pdd->user_gpu_id | 1-u32max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | p->lead_thread | 4096-ptr_max |
| PARAM_VALUE | 1 | p->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | p->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | p->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | p->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | p->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | p->n_pdds | 1-u32max |
| BUF_SIZE | 1 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | p | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | pdd->user_gpu_id | 1 |
| CAPPED_DATA | 1 | p->lead_thread | 1 |
| CAPPED_DATA | 1 | &p->mutex | 1 |
| DATA_SOURCE | 0 | pdd | r kfd_process_device_data_by_id |
| DATA_SOURCE | 1 | p | $0 |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c profile_lock_device() -> kfd_ptl_disable_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pdd->dev->kfd->profiler_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdd->user_gpu_id | 1-u32max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | p->lead_thread | 4096-ptr_max |
| PARAM_VALUE | 1 | p->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | p->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | p->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | p->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | p->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | p->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | p->n_pdds | 1-u32max |
| BUF_SIZE | 1 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | p | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | pdd->user_gpu_id | 1 |
| CAPPED_DATA | 1 | p | 1 |
| CAPPED_DATA | 1 | p->lead_thread | 1 |
| CAPPED_DATA | 1 | &p->mutex | 1 |
| DATA_SOURCE | 0 | pdd | r kfd_process_device_data_by_id |
| DATA_SOURCE | 1 | p | $0 |