Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_set_debug_trap() -> kfd_dbg_trap_set_dev_address_watch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->user_gpu_id | 1-u32max |
| PARAM_VALUE | 3 | watch_id | 4096-ptr_max |
| CAPPED_DATA | 0 | pdd->user_gpu_id | 1 |
| DATA_SOURCE | 0 | pdd | r kfd_process_device_data_by_id |
| USER_DATA | 1 | watch_address | 0-u64max[u] |
| USER_DATA | 2 | watch_address_mask | 0-u32max[u] |
| USER_DATA | 3 | *watch_id | 0-u32max[u] |
| USER_DATA | 4 | watch_mode | 0-u32max[u] |
| USER_PTR | 3 | watch_id | |
| LOCK2 | &target->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |