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_debug.c kfd_dbg_trap_activate() -> kfd_dbg_trap_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->kobj_queues->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | target->lead_thread | 4096-ptr_max |
| PARAM_VALUE | 0 | target->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | target->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | target->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | target->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | target->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | target->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | target->n_pdds | 1-s32max |
| PARAM_VALUE | 0 | target->pdds | 4096-ptr_max |
| PARAM_VALUE | 0 | target->runtime_info.runtime_state | 2-3 |
| PARAM_VALUE | 1 | unwind | 1 |
| PARAM_VALUE | 2 | unwind_count | 0-2147483646 |
| BUF_SIZE | 0 | target | s32min-s32max |
| BUF_SIZE | 0 | target->debugger_process | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | target | 1 |
| CAPPED_DATA | 0 | target->lead_thread | 1 |
| CAPPED_DATA | 0 | target->n_pdds | 1 |
| CAPPED_DATA | 2 | unwind_count | 1 |
| DATA_SOURCE | 0 | target | $0 |
| FUZZY_MAX | 0 | target->runtime_info.runtime_state | 3 |
| PARAM_COMPARE | 2 | unwind_count | < $0->n_pdds |
| BIT_INFO | 0 | target->runtime_info.runtime_state | 0x2,0x3 |
| HARD_MAX | 0 | target->runtime_info.runtime_state | 3 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | target->runtime_info.r_debug | 0-u64max[u] |
| USER_DATA | 0 | target->runtime_info.ttmp_setup | 0-1 |
| UNITS | 2 | unwind_count | unit_array_size |
| LOCK2 | 0 | &target->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_disable() -> kfd_dbg_trap_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->debug_trap_enabled | 1 |
| PARAM_VALUE | 0 | target->kobj_queues->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | target->runtime_info.runtime_state | 1 |
| PARAM_VALUE | 1 | unwind | 0 |
| PARAM_VALUE | 2 | unwind_count | 0 |
| BUF_SIZE | 0 | target | (-1),26 |
| BUF_SIZE | 0 | target | (-1),26 |
| CAPPED_DATA | 0 | target | 1 |
| DATA_SOURCE | 0 | target | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_srcu | ||
| HALF_LOCKED2 | 0 | &target->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_enable() -> kfd_dbg_trap_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->context_id | u16max |
| PARAM_VALUE | 0 | target->dbg_ev_file | 4096-ptr_max |
| PARAM_VALUE | 0 | target->debug_trap_enabled | 1 |
| PARAM_VALUE | 0 | target->debugger_process | 0,4096-ptr_max |
| PARAM_VALUE | 0 | target->kobj_queues->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | target->lead_thread | 4096-ptr_max |
| PARAM_VALUE | 0 | target->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | target->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | target->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | target->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | target->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | target->n_pdds | 0-s32max |
| PARAM_VALUE | 1 | unwind | 0 |
| PARAM_VALUE | 2 | unwind_count | 0 |
| BUF_SIZE | 0 | target | (-1)-0,8 |
| BUF_SIZE | 0 | target | (-1)-0,8 |
| BUF_SIZE | 0 | target->debugger_process | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | target | 1 |
| CAPPED_DATA | 0 | target->n_pdds | 1 |
| DATA_SOURCE | 0 | target | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | target | unit_byte |
| LOCK2 | 0 | &target->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c runtime_disable() -> kfd_dbg_trap_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->debug_trap_enabled | 1 |
| PARAM_VALUE | 0 | target->lead_thread | 4096-ptr_max |
| PARAM_VALUE | 0 | target->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | target->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | target->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | target->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | target->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | target->runtime_info.r_debug | 0 |
| PARAM_VALUE | 0 | target->runtime_info.runtime_state | 0 |
| PARAM_VALUE | 1 | unwind | 0 |
| PARAM_VALUE | 2 | unwind_count | 0 |
| BUF_SIZE | 0 | target | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | target | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | target->lead_thread | 1 |
| DATA_SOURCE | 0 | target | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &target->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |