Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/drm_gpuvm.c
- drivers/gpu/drm/msm/msm_gem_vma.c
- drivers/gpu/drm/nouveau/nouveau_uvmm.c
- drivers/gpu/drm/xe/xe_vm.c, line 1377
Smatch caller information:
drivers/gpu/drm/msm/msm_gem_vma.c msm_gem_vma_close() -> drm_gpuva_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | va | 4096-ptr_max |
| BUF_SIZE | 0 | va->vm | (-1),416 |
| DATA_SOURCE | 0 | va | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/msm/msm_gem_vma.c msm_gem_vma_new() -> drm_gpuva_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | va | 4096-ptr_max |
| PARAM_VALUE | 0 | va->gem.obj | 4096-ptr_max |
| PARAM_VALUE | 0 | va->rb.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | va->rb.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | va->vm | 4096-ptr_max |
| NOSPEC | 0 | va->gem.offset | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | va->gem.offset | 0-s32max[c] |
| USER_DATA | 0 | va->va.addr | 0-u64max |
drivers/gpu/drm/nouveau/nouveau_uvmm.c nouveau_uvmm_fini() -> drm_gpuva_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | va | 4096-ptr_max |
| CAPPED_DATA | 0 | &va->rb.entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &uvmm->mutex | ||
| HALF_LOCKED2 | &drm->clients_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct nouveau_uvmm)->mutex |
drivers/gpu/drm/nouveau/nouveau_uvmm.c op_map_prepare_unwind() -> drm_gpuva_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | va | 120 |
| NOCHECK_CALL | |||
| LOCK2 | &sched->mutex | ||
| LOCK2 | &uvmm->mutex | ||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex | ||
| TYPE_LOCK | (struct nouveau_sched)->mutex | ||
| TYPE_LOCK | (struct nouveau_uvmm)->mutex |
drivers/gpu/drm/xe/xe_vm.c xe_vm_remove_vma() -> drm_gpuva_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | va | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vm->lock | ||
| LOCK2 | &vm->snap_mutex | ||
| TYPE_LOCK | (struct xe_vm)->lock | ||
| TYPE_LOCK | (struct xe_vm)->snap_mutex |
drivers/gpu/drm/drm_gpuvm.c drm_gpuva_remap() -> drm_gpuva_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | va | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &queue->lock |
drivers/gpu/drm/drm_gpuvm.c drm_gpuva_unmap() -> drm_gpuva_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | va | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sched->mutex | ||
| HALF_LOCKED2 | &uvmm->mutex |