Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c, line 2957
- drivers/gpu/drm/amd/amdkfd/kfd_debug.c, line 822
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_enable() -> kfd_dbg_trap_activate()
| 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 | 0 |
| 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 | 0 | target->runtime_info.runtime_state | 1 |
| 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_enable() -> kfd_dbg_trap_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->debug_trap_enabled | 1 |
| PARAM_VALUE | 0 | target->is_runtime_retry | 0 |
| 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 | 0 | target->runtime_info.runtime_state | 1 |
| PARAM_VALUE | 0 | target->runtime_info.ttmp_setup | 0-1 |
| BUF_SIZE | 0 | target | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | target | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | target->lead_thread | 1 |
| CAPPED_DATA | 0 | target->n_pdds | 1 |
| DATA_SOURCE | 0 | target | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | target->runtime_info.r_debug | 0-u64max[u] |
| USER_DATA | 0 | target->runtime_info.ttmp_setup | 0-1 |
| LOCK2 | 0 | &target->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |