Defined in 1 files as a prototype:
Defined in 3 files as a function:
- drivers/gpu/drm/amd/amdkfd/kfd_process.c, line 1069 (as a function)
- sound/soc/sof/ipc3-topology.c, line 52 (as a function)
- tools/perf/util/evsel.c, line 4215 (as a function)
Referenced in 3 files:
- drivers/gpu/drm/amd/amdkfd/kfd_process.c
- sound/soc/sof/ipc3-topology.c, line 68
- tools/perf/util/evsel.c, line 4424
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_create_process() -> find_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4096-ptr_max |
| PARAM_VALUE | 0 | name->mm | 4096-ptr_max |
| PARAM_VALUE | 0 | name->mm->mm_users.counter | 0-s32max |
| PARAM_VALUE | 1 | ref | 1 |
| DATA_SOURCE | 0 | name | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_lookup_process_by_pid() -> find_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | ref | 1 |
| HALF_LOCKED2 | &process_info->lock |
sound/soc/sof/ipc3-topology.c get_token_process_type() -> find_process()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | name | (-1),44 |
| BUF_SIZE | 0 | name | (-1),44 |
| DATA_SOURCE | 0 | name | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |