Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c, line 107
- drivers/gpu/drm/drm_suballoc.c
- drivers/gpu/drm/radeon/radeon_sa.c
- drivers/gpu/drm/xe/xe_migrate.c
- drivers/gpu/drm/xe/xe_sa.c, line 251
Smatch caller information:
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_update_pgtables() -> drm_suballoc_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | suballoc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->fence | 0 |
| PARAM_VALUE | 0 | suballoc->flist.next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->manager | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->manager->hole | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 0 | suballoc | 0,64 |
| BUF_SIZE | 0 | suballoc | 0,64 |
| BUF_SIZE | 0 | suballoc->manager | (-1),640 |
| DATA_SOURCE | 1 | fence | r dma_fence_get |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | suballoc->manager->size | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &pt_update->vops->vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_update_pgtables() -> drm_suballoc_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | suballoc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->fence | 0 |
| PARAM_VALUE | 0 | suballoc->flist.next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->flist.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->manager | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->manager->hole | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->olist.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | suballoc | 0,64 |
| BUF_SIZE | 0 | suballoc | 0,64 |
| BUF_SIZE | 0 | suballoc->manager | (-1),640 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | suballoc->manager->size | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/radeon/radeon_sa.c radeon_sa_bo_free() -> drm_suballoc_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | suballoc | 1-u64max |
| PARAM_VALUE | 1 | fence | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/radeon/radeon_sa.c radeon_sa_bo_free() -> drm_suballoc_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | suballoc | 1-u64max |
| PARAM_VALUE | 1 | fence | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/drm_suballoc.c drm_suballoc_new() -> drm_suballoc_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | suballoc | 4096-ptr_max |
| PARAM_VALUE | 0 | suballoc->manager | 0 |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | suballoc | 64 |
| DATA_SOURCE | 0 | suballoc | r drm_suballoc_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | suballoc->manager->size |
drivers/gpu/drm/xe/xe_sa.c xe_sa_bo_free() -> drm_suballoc_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 0 | suballoc | (-1),64 |
| BUF_SIZE | 0 | suballoc | (-1),64 |
| DATA_SOURCE | 0 | suballoc | $0 |
| DATA_SOURCE | 1 | fence | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c amdgpu_sa_bo_free() -> drm_suballoc_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | suballoc | 1-u64max |
| PARAM_VALUE | 1 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 1 | fence | (-1)-0,128 |
| BUF_SIZE | 1 | fence | (-1)-0,128 |
| DATA_SOURCE | 1 | fence | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |