Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/xe/xe_trace_bo.h, line 109
- drivers/gpu/drm/xe/xe_userptr.c
- drivers/gpu/drm/xe/xe_vm.c
Smatch caller information:
drivers/gpu/drm/xe/xe_vm.c xe_vm_snapshot_capture() -> xe_vma_userptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| DATA_SOURCE | 0 | vma | r gpuva_to_vma |
| LOCK2 | &coredump->lock | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | &vm->snap_mutex | ||
| TYPE_LOCK | (struct xe_devcoredump)->lock | ||
| TYPE_LOCK | (struct xe_vm)->snap_mutex |
drivers/gpu/drm/xe/xe_vm.c xe_vma_create() -> xe_vma_userptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| BUF_SIZE | 0 | vma | 416 |
| BUF_SIZE | 0 | vma->gpuva.vm | 416 |
| BIT_INFO | 0 | vma->gpuva.flags | 0x0,0x1c16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_pin_pages() -> xe_vma_userptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| BUF_SIZE | 0 | vma | 416 |
| BIT_INFO | 0 | vma->gpuva.flags | 0x0,0xfffffff7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_pin_pages() -> xe_vma_userptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| BUF_SIZE | 0 | vma | 416 |
| BIT_INFO | 0 | vma->gpuva.flags | 0x0,0xfffffff7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |