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 1519
- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c, line 1069
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c kfd_criu_restore_queue() -> pqm_set_gws()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pqm | 4096-ptr_max |
| PARAM_VALUE | 0 | pqm->process | 4096-ptr_max |
| PARAM_VALUE | 0 | pqm->queues.next | 4096-ptr_max |
| PARAM_VALUE | 1 | qid | 0-1023 |
| HARD_MAX | 1 | qid | 1023 |
| USER_DATA | 1 | qid | 0-1023 |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_alloc_queue_gws() -> pqm_set_gws()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pqm | 4096-ptr_max |
| CAPPED_DATA | 1 | qid | 1 |
| USER_DATA | 1 | qid | 0-u32max[c] |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |