Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_get_attr() -> svm_range_set_default_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | svms | 4096-ptr_max |
| PARAM_VALUE | 1 | location | 8235399021335470080 |
| PARAM_VALUE | 1 | *location | (-1) |
| PARAM_VALUE | 2 | prefetch_loc | 591760076508844032 |
| PARAM_VALUE | 2 | *prefetch_loc | (-1) |
| PARAM_VALUE | 3 | granularity | 3672005572374601728 |
| PARAM_VALUE | 3 | *granularity | 255 |
| PARAM_VALUE | 4 | flags | 6253015386824163328 |
| PARAM_VALUE | 4 | *flags | u32max |
| BUF_SIZE | 0 | svms | 1096 |
| CAPPED_DATA | 0 | &svms->lock | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &svms->lock | |
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct svm_range_list)->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_new() -> svm_range_set_default_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | location | 4096-ptr_max |
| PARAM_VALUE | 2 | prefetch_loc | 4096-ptr_max |
| PARAM_VALUE | 3 | granularity | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 4096-ptr_max |
| BUF_SIZE | 0 | svms | (-1),1096 |
| BUF_SIZE | 0 | svms | (-1),1096 |
| DATA_SOURCE | 0 | svms | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &process_info->lock | ||
| HALF_LOCKED2 | &svms->lock |