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 3203
- drivers/gpu/drm/amd/amdkfd/kfd_debug.c, line 617
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c kfd_dbg_trap_deactivate() -> kfd_dbg_trap_set_wave_launch_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->debug_event_workarea.lockdep_map->name | 0-255 |
| 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->n_pdds | 0-s32max |
| PARAM_VALUE | 0 | target->runtime_info.runtime_state | 0-3 |
| PARAM_VALUE | 1 | wave_launch_mode | 0 |
| 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->n_pdds | 1 |
| CAPPED_DATA | 0 | &target->debug_event_workarea | 1 |
| DATA_SOURCE | 0 | target | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | target | unit_byte |
| HALF_LOCKED2 | 0 | &target->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_set_debug_trap() -> kfd_dbg_trap_set_wave_launch_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->context_id | u16max |
| PARAM_VALUE | 0 | target->debug_trap_enabled | 1 |
| 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.runtime_state | 1 |
| CAPPED_DATA | 0 | target | 1 |
| CAPPED_DATA | 0 | target->mm | 1 |
| CAPPED_DATA | 0 | &target->mutex | 1 |
| DATA_SOURCE | 0 | target | r kfd_lookup_process_by_pid |
| USER_DATA | 1 | wave_launch_mode | 0-255[u] |
| LOCK2 | 0 | &target->mutex | |
| TYPE_LOCK | (struct kfd_process)->mutex |