Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
- drivers/gpu/drm/amd/amdkfd/kfd_device.c, line 1214
- drivers/gpu/drm/amd/amdkfd/kfd_process.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c evict_process_worker() -> kfd_process_evict_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | trigger | 2 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_suspend_all_processes() -> kfd_process_evict_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-u64max |
| PARAM_VALUE | 0 | p->ef->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | trigger | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &kfd_processes_mutex | ||
| LOCK2 | global &kfd_processes_srcu |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c kgd2kfd_quiesce_mm() -> kfd_process_evict_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 1 | trigger | 0-1 |
| CAPPED_DATA | 0 | p->mm | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| DATA_SOURCE | 1 | trigger | $1 |
| HARD_MAX | 1 | trigger | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &prange->lock | ||
| HALF_LOCKED2 | &process_info->notifier_lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c criu_process_info() -> kfd_process_evict_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->lead_thread | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->n_pdds | 1-u32max |
| PARAM_VALUE | 1 | trigger | 4 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | p->lead_thread | 1 |
| CAPPED_DATA | 0 | &p->mutex | 1 |
| DATA_SOURCE | 0 | p | $1 |
| LOCK2 | 0 | &p->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c criu_restore() -> kfd_process_evict_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->lead_thread | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | trigger | 5 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | p->lead_thread | 1 |
| CAPPED_DATA | 0 | &p->mutex | 1 |
| DATA_SOURCE | 0 | p | $1 |
| LOCK2 | 0 | &p->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |