Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 15 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c, line 2638
- drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
- drivers/gpu/drm/amd/amdkfd/kfd_debug.c
- drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c, line 201
- drivers/gpu/drm/amd/amdkfd/kfd_device.c
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c, line 3266
- drivers/gpu/drm/amd/amdkfd/kfd_events.c
- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c
- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v12_1.c
- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c, line 160
- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c, line 1012
- drivers/gpu/drm/amd/amdkfd/kfd_process.c
- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c, line 357
- drivers/gpu/drm/amd/amdkfd/kfd_svm.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c amdgpu_amdkfd_set_sigbus_delay() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| CAPPED_DATA | 0 | p->mm | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c create_process() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->debug_trap_enabled | 0 |
| PARAM_VALUE | 0 | p->debugged_process_count.counter | 0 |
| PARAM_VALUE | 0 | p->debugger_process | 0 |
| PARAM_VALUE | 0 | p->event_idr.idr_base | 0 |
| PARAM_VALUE | 0 | p->event_idr.idr_next | 0 |
| PARAM_VALUE | 0 | p->event_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->event_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | p->event_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | p->event_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | p->event_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | p->exception_enable_mask | 0 |
| PARAM_VALUE | 0 | p->kfd_processes.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | p->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | p->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | p->n_pdds | 0-64 |
| PARAM_VALUE | 0 | p->pqm.process | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.process->debugger_process | 0 |
| PARAM_VALUE | 0 | p->pqm.process->event_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.process->n_pdds | 0 |
| PARAM_VALUE | 0 | p->pqm.process->queues_paused | 0 |
| PARAM_VALUE | 0 | p->pqm.process->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | p->pqm.process->runtime_info.runtime_state | 0-3 |
| PARAM_VALUE | 0 | p->pqm.process->runtime_info.ttmp_setup | 0-1 |
| PARAM_VALUE | 0 | p->pqm.process->signal_event_count | 1 |
| PARAM_VALUE | 0 | p->pqm.process->signal_page | 0 |
| PARAM_VALUE | 0 | p->pqm.queue_slot_bitmap | 16,4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pqm.queues.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->queues_paused | 0 |
| PARAM_VALUE | 0 | p->runtime_info.runtime_state | 0-3 |
| PARAM_VALUE | 0 | p->runtime_info.ttmp_setup | 0-1 |
| PARAM_VALUE | 0 | p->signal_event_count | 1 |
| PARAM_VALUE | 0 | p->signal_page | 0 |
| PARAM_VALUE | 0 | p->svms.criu_svm_metadata_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.criu_svm_metadata_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.criu_svm_metadata_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.criu_svm_metadata_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.criu_svm_metadata_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.default_granularity | 0-27 |
| PARAM_VALUE | 0 | p->svms.deferred_range_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.deferred_range_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.deferred_range_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.deferred_range_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.deferred_range_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.drain_pagefaults.counter | 0 |
| PARAM_VALUE | 0 | p->svms.evicted_ranges.counter | 0 |
| PARAM_VALUE | 0 | p->svms.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter | 0 |
| PARAM_VALUE | 0 | p->svms.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | p->svms.lock.owner.counter | 0 |
| BUF_SIZE | 0 | p | 3376 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| DATA_SOURCE | 0 | p | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_create_process_sysfs() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| CAPPED_DATA | 0 | p->mm | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_process_alloc_id() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| CAPPED_DATA | 0 | p->mm | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_process_close_interrupt_drain() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->irq_drain_is_open | 0 |
| PARAM_VALUE | 0 | p->wait_irq_drain.lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_process_free_id() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| CAPPED_DATA | 0 | p->mm | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_process_free_notifier() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_process_notifier_release_internal() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->eviction_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->restore_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->signal_work.work.lockdep_map->name | 0-255 |
| BUF_SIZE | 0 | p | (-1),26 |
| BUF_SIZE | 0 | p | (-1),26 |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &srcu |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v9.c event_interrupt_poison_consumption_v9() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->poison.counter | 0-s32max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_smi_events.c kfd_smi_event_queue_restore_rescheduled() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 0 | p->n_pdds | 0-s32max |
| CAPPED_DATA | 0 | p->mm | 1 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debugfs.c kfd_debugfs_add_process() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| CAPPED_DATA | 0 | p | 1 |
| CAPPED_DATA | 0 | p->mm | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c svm_migrate_to_ram() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 0 | p->svms.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->svms.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->svms.lock.wait_lock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | p->mm | 1 |
| CAPPED_DATA | 0 | &p->svms.lock | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c kgd2kfd_quiesce_mm() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| CAPPED_DATA | 0 | p->mm | 1 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &prange->lock | ||
| HALF_LOCKED2 | &process_info->notifier_lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c kgd2kfd_resume_mm() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 0 | p->n_pdds | 0-s32max |
| CAPPED_DATA | 0 | p->mm | 1 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| NOCHECK_CALL | |||
| LOCK2 | &process_info->lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &process_info->notifier_lock | ||
| HALF_LOCKED2 | &svms->lock | ||
| TYPE_LOCK | (struct amdkfd_process_info)->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c kgd2kfd_schedule_evict_and_restore_process() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->last_eviction_seqno | 0-u32max |
| LOCK2 | flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c kgd2kfd_vmfault_fast_path() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->debug_trap_enabled | 0 |
| PARAM_VALUE | 0 | p->gpu_page_fault | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c kgd2kfd_vmfault_fast_path() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->gpu_page_fault | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.c kfd_signal_event_interrupt() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.c kfd_signal_hw_exception_event() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| CAPPED_DATA | 0 | p->event_idr.idr_base | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.c kfd_signal_poison_consumed_event() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.c kfd_signal_poison_consumed_event() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->kfd_sigbus_delay_ms.counter | s32min,0-s32max |
| PARAM_VALUE | 0 | p->lead_thread | 4096-ptr_max |
| CAPPED_DATA | 0 | p->event_idr.idr_base | 1 |
| CAPPED_DATA | 0 | p->lead_thread | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.c kfd_signal_sigbus_delayed_fn() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->lead_thread->sighand->siglock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->lead_thread->signal->flags | 0,2-u32max |
| CAPPED_DATA | 0 | p->lead_thread | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.c kfd_signal_sigbus_with_delay() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->lead_thread | 4096-ptr_max |
| CAPPED_DATA | 0 | p->event_idr.idr_base | 1 |
| DATA_SOURCE | 0 | p | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_disable() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dbg_ev_file | 0 |
| PARAM_VALUE | 0 | p->debug_event_workarea.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->debug_trap_enabled | 0 |
| PARAM_VALUE | 0 | p->debugger_process | 0 |
| PARAM_VALUE | 0 | p->exception_status | 0 |
| PARAM_VALUE | 0 | p->kobj_queues->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | p->n_pdds | 0-s32max |
| PARAM_VALUE | 0 | p->runtime_info.runtime_state | 0-1 |
| BUF_SIZE | 0 | p | (-1),26 |
| BUF_SIZE | 0 | p | (-1),26 |
| CAPPED_DATA | 0 | p | 1 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| CAPPED_DATA | 0 | &p->debug_event_workarea | 1 |
| DATA_SOURCE | 0 | p | $0 |
| FUZZY_MAX | 0 | p->n_pdds | 1 |
| FUZZY_MAX | 0 | p->runtime_info.runtime_state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_srcu | ||
| HALF_LOCKED2 | 0 | &p->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_enable() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 0 | p->dbg_ev_file | 0 |
| PARAM_VALUE | 0 | p->debug_event_workarea.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->debug_trap_enabled | 0 |
| PARAM_VALUE | 0 | p->debugger_process | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->kobj_queues->sd->attr.open->nr_mmapped | 0-4294967295 |
| 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 | 0-s32max |
| BUF_SIZE | 0 | p | (-1)-0,8 |
| BUF_SIZE | 0 | p | (-1)-0,8 |
| BUF_SIZE | 0 | p->debugger_process | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | p | 1 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | 0 | &p->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_set_dbg_ev_from_interrupt() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path->dentry->d_parent->d_alias.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path->dentry->d_parent->d_fsdata->d_fsdata | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path->dentry->d_parent->d_inode->i_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->active.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_flags | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->__i_nlink | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_atime_nsec | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_blkbits | 0-255 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_bytes | 0-u16max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_ctime_nsec | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_dir_seq | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_flags | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_fsnotify_mask | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_generation | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_linklen | s32min-s32max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_mode | 0-u16max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_mtime_nsec | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_nlink | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_opflags | 0-u16max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_private->id | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_rdev | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_security->flags | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_security->is_hard | 0-1 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_security->is_lazy | 0-1 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_security->is_soft | 0-1 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_wb_frn_avg_time | 0-u16max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_wb_frn_history | 0-u16max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_wb_frn_winner | s32min-s32max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_inode->i_write_hint | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->d_lockref.count | s32min-s32max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->data->ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->management_timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->management_timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->management_timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->management_timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->management_timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_fsdata->ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->dbg_ev_file->f_path.dentry->d_parent->d_hash.next->pprev | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c criu_resume() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 0 | p->kgd_process_info | 4096-ptr_max |
| PARAM_VALUE | 0 | p->kgd_process_info->evicted_bos | 0-4294967295 |
| PARAM_VALUE | 0 | p->kgd_process_info->notifier_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->kgd_process_info->notifier_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->kgd_process_info->notifier_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->kgd_process_info->notifier_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | p->kgd_process_info->notifier_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->kgd_process_info->notifier_lock.osq.tail.counter | 0-s32max |
| 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | p->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->mutex.wait_lock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | p->mm | 1 |
| CAPPED_DATA | 0 | &p->mutex | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pid |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_create_process() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 0 | p->lead_thread | 4096-ptr_max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | p | 1 |
| CAPPED_DATA | 0 | p->lead_thread | 1 |
| DATA_SOURCE | 0 | p | $1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_set_debug_trap() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 0 | p->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | p->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->runtime_enable_sema.first_waiter->up | 0-1 |
| BUF_SIZE | 0 | p | (-1),3376 |
| BUF_SIZE | 0 | p | (-1),3376 |
| BUF_SIZE | 0 | p->debugger_process | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | p | 1 |
| CAPPED_DATA | 0 | p->mm | 1 |
| CAPPED_DATA | 0 | &p->mutex | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->dbg_flags | 0-u32max[u] |
| USER_DATA | 0 | p->exception_enable_mask | 0-u64max[u] |
| USER_DATA | 0 | p->exception_status | 0-u64max[c][u] |
| NO_OVERFLOW_SIMPLE | 0 | &p->runtime_info | |
| UNITS | 0 | p | unit_byte |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_release() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| BUF_SIZE | 0 | p | (-1),26 |
| BUF_SIZE | 0 | p | (-1),26 |
| CAPPED_DATA | 0 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v11.c event_interrupt_poison_consumption_v11() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->poison.counter | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v11.c event_interrupt_poison_consumption_v11() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->poison.counter | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_bo_release() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| CAPPED_DATA | 0 | p->mm | 1 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_restore_pages() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.checkpoint_ts | 4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->svms.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->svms.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->svms.lock.wait_lock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_unmap_from_cpu() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 0 | p->n_pdds | 0-64 |
| PARAM_VALUE | 0 | p->svms.deferred_list_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | p->mm | 1 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_mm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &prange->lock | ||
| HALF_LOCKED2 | &ctx->map_changing_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &ksm_thread_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c update_invalid_user_pages() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->context_id | u16max |
| PARAM_VALUE | 0 | p->n_pdds | 0-s32max |
| CAPPED_DATA | 0 | p->mm | 1 |
| CAPPED_DATA | 0 | p->n_pdds | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pid |
| NOCHECK_CALL | |||
| LOCK2 | &process_info->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdkfd_process_info)->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c kfd_dqm_suspend_bad_queue_mes() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v12_1.c event_interrupt_poison_consumption_v12_1() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->poison.counter | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v12_1.c event_interrupt_poison_consumption_v12_1() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->poison.counter | 1 |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/cik_event_interrupt.c cik_event_interrupt_wq() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/cik_event_interrupt.c cik_event_interrupt_wq() -> kfd_unref_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r kfd_lookup_process_by_pasid |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |