Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c, line 1294
- drivers/gpu/drm/i915/gem/i915_gem_ttm.c, line 342
- drivers/gpu/drm/loongson/lsdc_ttm.c, line 137
- drivers/gpu/drm/nouveau/nouveau_bo.c, line 1454
- drivers/gpu/drm/radeon/radeon_ttm.c, line 570
- drivers/gpu/drm/ttm/tests/ttm_pool_test.c
- drivers/gpu/drm/ttm/ttm_pool.c, line 989
- drivers/gpu/drm/ttm/ttm_tt.c, line 440
- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c, line 397
- drivers/gpu/drm/xe/xe_bo.c, line 590
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_tt_unpopulate() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->sg | 0 |
| PARAM_VALUE | 1 | tt->sg->orig_nents | 0-s32max |
| PARAM_VALUE | 1 | tt->sg->sgl | 0 |
| BUF_SIZE | 0 | pool | (-1),5296 |
| BUF_SIZE | 0 | pool | (-1),5296 |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt | (-1),64 |
| CAPPED_DATA | 1 | tt->num_pages | 1 |
| DATA_SOURCE | 1 | tt | $1 |
| BIT_INFO | 1 | tt->page_flags | 0x0,0xfffffffb |
| NOSPEC | 1 | tt->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tt->num_pages | 0-s32max[c] |
| USER_DATA | 1 | tt->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | tt->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->gobj->size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->restore->snapshot_alloc.remaining_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.sg->orig_nents |
drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_ttm_tt_unpopulate() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt->sg | (-1),16 |
| DATA_SOURCE | 1 | tt | $1 |
| BIT_INFO | 1 | tt->page_flags | 0x0,0xfffffffb |
| NOSPEC | 1 | tt->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tt->num_pages | 0-u32max[c] |
| USER_DATA | 1 | tt->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | tt->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->gobj->size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->restore->snapshot_alloc.remaining_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.sg->orig_nents |
drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_tt_unpopulate() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt->sg | (-1),16 |
| DATA_SOURCE | 1 | tt | $1 |
| NOSPEC | 1 | tt->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | tt->num_pages | 0-u32max[c] |
| USER_DATA | 1 | tt->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | tt->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->gobj->size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->restore->snapshot_alloc.remaining_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.sg->orig_nents |
drivers/gpu/drm/xe/xe_bo.c xe_ttm_tt_unpopulate() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt->sg | (-1),16 |
| DATA_SOURCE | 1 | tt | $1 |
| BIT_INFO | 1 | tt->page_flags | 0x0,0xffffffff |
| NOSPEC | 1 | tt->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | tt->num_pages | 0-u32max[c] |
| USER_DATA | 1 | tt->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | tt->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->gobj->size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->restore->snapshot_alloc.remaining_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_basic() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 0 |
| PARAM_VALUE | 0 | pool->dev | 0,(-22),(-12) |
| PARAM_VALUE | 0 | pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pool->nid | (-1) |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->backup | 0 |
| PARAM_VALUE | 1 | tt->caching | 0 |
| PARAM_VALUE | 1 | tt->dma_address | 0 |
| PARAM_VALUE | 1 | tt->page_flags | 0 |
| PARAM_VALUE | 1 | tt->pages | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->restore | 0 |
| PARAM_VALUE | 1 | tt->swap_storage | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| BUF_SIZE | 1 | tt | 64 |
| DATA_SOURCE | 0 | pool | r kunit_kzalloc |
| DATA_SOURCE | 1 | tt | r ttm_tt_kunit_init |
| MEM_ZERO | 0 | pool | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_basic_dma_addr() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 256 |
| PARAM_VALUE | 0 | pool->dev | 0,(-22),(-12) |
| PARAM_VALUE | 0 | pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pool->nid | (-1) |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->backup | 0 |
| PARAM_VALUE | 1 | tt->caching | 0 |
| PARAM_VALUE | 1 | tt->dma_address | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->num_pages | 0 |
| PARAM_VALUE | 1 | tt->page_flags | 0 |
| PARAM_VALUE | 1 | tt->pages | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tt->restore | 0 |
| PARAM_VALUE | 1 | tt->swap_storage | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| BUF_SIZE | 1 | tt | 64 |
| DATA_SOURCE | 0 | pool | r kunit_kzalloc |
| DATA_SOURCE | 1 | tt | r kunit_kzalloc |
| MEM_ZERO | 0 | pool | |
| MEM_ZERO | 1 | tt | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_caching_mismatch() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 256 |
| PARAM_VALUE | 0 | pool->caching | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dev | 0,4096-u64max |
| PARAM_VALUE | 0 | pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pool->nid | (-1) |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->backup | 0 |
| PARAM_VALUE | 1 | tt->caching | 0 |
| PARAM_VALUE | 1 | tt->dma_address | 0 |
| PARAM_VALUE | 1 | tt->page_flags | 0 |
| PARAM_VALUE | 1 | tt->pages | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tt->restore | 0 |
| PARAM_VALUE | 1 | tt->swap_storage | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| BUF_SIZE | 1 | tt | 64 |
| CAPPED_DATA | 0 | pool->dev->cma_area->nranges | 1 |
| DATA_SOURCE | 0 | pool | r ttm_pool_pre_populated |
| DATA_SOURCE | 1 | tt | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_order_caching_match() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 256 |
| PARAM_VALUE | 0 | pool->caching | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dev | 0,4096-u64max |
| PARAM_VALUE | 0 | pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pool->nid | (-1) |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->backup | 0 |
| PARAM_VALUE | 1 | tt->caching | 0 |
| PARAM_VALUE | 1 | tt->dma_address | 0 |
| PARAM_VALUE | 1 | tt->page_flags | 0 |
| PARAM_VALUE | 1 | tt->pages | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tt->restore | 0 |
| PARAM_VALUE | 1 | tt->swap_storage | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| BUF_SIZE | 1 | tt | 64 |
| CAPPED_DATA | 0 | pool->dev->cma_area->nranges | 1 |
| DATA_SOURCE | 0 | pool | r ttm_pool_pre_populated |
| DATA_SOURCE | 1 | tt | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_order_mismatch() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 256 |
| PARAM_VALUE | 0 | pool->caching | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dev | 0,4096-u64max |
| PARAM_VALUE | 0 | pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pool->nid | (-1) |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->backup | 0 |
| PARAM_VALUE | 1 | tt->caching | 0 |
| PARAM_VALUE | 1 | tt->dma_address | 0 |
| PARAM_VALUE | 1 | tt->page_flags | 0 |
| PARAM_VALUE | 1 | tt->pages | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tt->restore | 0 |
| PARAM_VALUE | 1 | tt->swap_storage | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| BUF_SIZE | 1 | tt | 64 |
| CAPPED_DATA | 0 | pool->dev->cma_area->nranges | 1 |
| DATA_SOURCE | 0 | pool | r ttm_pool_pre_populated |
| DATA_SOURCE | 1 | tt | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_free_dma_alloc() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 256 |
| PARAM_VALUE | 0 | pool->dev | 0,(-22),(-12) |
| PARAM_VALUE | 0 | pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pool->nid | (-1) |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->backup | 0 |
| PARAM_VALUE | 1 | tt->caching | 0 |
| PARAM_VALUE | 1 | tt->dma_address | 0 |
| PARAM_VALUE | 1 | tt->page_flags | 0 |
| PARAM_VALUE | 1 | tt->pages | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tt->restore | 0 |
| PARAM_VALUE | 1 | tt->swap_storage | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| BUF_SIZE | 1 | tt | 64 |
| DATA_SOURCE | 0 | pool | r kunit_kzalloc |
| DATA_SOURCE | 1 | tt | r ttm_tt_kunit_init |
| MEM_ZERO | 0 | pool | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_free_no_dma_alloc() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 0 |
| PARAM_VALUE | 0 | pool->dev | 0,(-22),(-12) |
| PARAM_VALUE | 0 | pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pool->nid | (-1) |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->backup | 0 |
| PARAM_VALUE | 1 | tt->caching | 0 |
| PARAM_VALUE | 1 | tt->dma_address | 0 |
| PARAM_VALUE | 1 | tt->page_flags | 0 |
| PARAM_VALUE | 1 | tt->pages | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tt->restore | 0 |
| PARAM_VALUE | 1 | tt->swap_storage | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| BUF_SIZE | 1 | tt | 64 |
| DATA_SOURCE | 0 | pool | r kunit_kzalloc |
| DATA_SOURCE | 1 | tt | r ttm_tt_kunit_init |
| MEM_ZERO | 0 | pool | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_pre_populated() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 256 |
| PARAM_VALUE | 0 | pool->dev | 0,(-22),(-12) |
| PARAM_VALUE | 0 | pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pool->nid | (-1) |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| PARAM_VALUE | 1 | tt->backup | 0 |
| PARAM_VALUE | 1 | tt->caching | 0,2 |
| PARAM_VALUE | 1 | tt->dma_address | 0 |
| PARAM_VALUE | 1 | tt->page_flags | 0 |
| PARAM_VALUE | 1 | tt->pages | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tt->restore | 0 |
| PARAM_VALUE | 1 | tt->swap_storage | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| BUF_SIZE | 1 | tt | 64 |
| DATA_SOURCE | 0 | pool | r kunit_kzalloc |
| DATA_SOURCE | 1 | tt | r ttm_tt_kunit_init |
| MEM_ZERO | 0 | pool | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents |
drivers/gpu/drm/radeon/radeon_ttm.c radeon_ttm_tt_unpopulate() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt->sg | (-1),16 |
| DATA_SOURCE | 1 | tt | $1 |
| BIT_INFO | 1 | tt->page_flags | 0x0,0xfffffffb |
| NOSPEC | 1 | tt->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tt->num_pages | 0-u32max[c] |
| USER_DATA | 1 | tt->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | tt->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->gobj->size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->restore->snapshot_alloc.remaining_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.sg->orig_nents |
drivers/gpu/drm/loongson/lsdc_ttm.c lsdc_ttm_tt_unpopulate() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt->sg | (-1),16 |
| DATA_SOURCE | 1 | tt | $1 |
| BIT_INFO | 1 | tt->page_flags | 0x0,0xfffffffb |
| NOSPEC | 1 | tt->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tt->num_pages | 0-u32max[c] |
| USER_DATA | 1 | tt->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | tt->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->gobj->size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->restore->snapshot_alloc.remaining_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.sg->orig_nents |
drivers/gpu/drm/ttm/ttm_tt.c ttm_tt_unpopulate() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt->sg | (-1),16 |
| DATA_SOURCE | 1 | tt | $1 |
| NOSPEC | 1 | tt->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | tt->num_pages | 0-u32max[c] |
| USER_DATA | 1 | tt->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | tt->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->gobj->size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->restore->snapshot_alloc.remaining_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.sg->orig_nents |
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c vmw_ttm_unpopulate() -> ttm_pool_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tt | 4096-ptr_max |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt | (-1),64 |
| BUF_SIZE | 1 | tt->sg | (-1),16 |
| DATA_SOURCE | 1 | tt | $1 |
| BIT_INFO | 1 | tt->page_flags | 0x0,0xfffffffb |
| NOSPEC | 1 | tt->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | tt->num_pages | 0-u32max[c] |
| USER_DATA | 1 | tt->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | tt->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->gobj->size | |
| NO_OVERFLOW_SIMPLE | 1 | tt->num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->restore->snapshot_alloc.remaining_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | tt->ttm.sg->orig_nents |