Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c svm_migrate_copy_memory_gart() -> svm_migrate_gart_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 1 | entity->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | entity->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | entity->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | entity->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | entity->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | entity->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | entity->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | npages | 1-1024 |
| PARAM_VALUE | 4 | gart_addr | 6447746534350843904 |
| PARAM_VALUE | 5 | flags | 0 |
| BUF_SIZE | 1 | entity | 5696 |
| BUF_SIZE | 1 | entity | 5696 |
| CAPPED_DATA | 1 | &entity->lock | 1 |
| CAPPED_DATA | 2 | npages | 1 |
| CAPPED_DATA | 2 | npages | 1 |
| DATA_SOURCE | 3 | addr | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | npages | unit_page |
| UNITS | 3 | addr | unit_page |
| LOCK2 | &prange->migrate_mutex | ||
| LOCK2 | 1 | &entity->lock | |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &p->svms.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &process_info->lock | ||
| HALF_LOCKED2 | &svms->lock | ||
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock | ||
| TYPE_LOCK | (struct svm_range)->migrate_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c svm_migrate_copy_memory_gart() -> svm_migrate_gart_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 1 | entity->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | entity->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | entity->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | entity->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | entity->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | entity->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | entity->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | npages | 1-1024 |
| PARAM_VALUE | 4 | gart_addr | 3300578502376153088 |
| PARAM_VALUE | 5 | flags | 8 |
| BUF_SIZE | 1 | entity | 5696 |
| BUF_SIZE | 1 | entity | 5696 |
| CAPPED_DATA | 1 | &entity->lock | 1 |
| CAPPED_DATA | 2 | npages | 1 |
| CAPPED_DATA | 2 | npages | 1 |
| DATA_SOURCE | 3 | addr | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | npages | unit_page |
| UNITS | 3 | addr | unit_page |
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &prange->migrate_mutex | ||
| LOCK2 | &svms->lock | ||
| LOCK2 | 1 | &entity->lock | |
| HALF_LOCKED2 | &process_info->lock | ||
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct svm_range)->migrate_mutex | ||
| TYPE_LOCK | (struct svm_range_list)->lock |