Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c, line 1094
- drivers/gpu/drm/drm_gem_vram_helper.c, line 707
- drivers/gpu/drm/i915/gem/i915_gem_ttm.c, line 353
- drivers/gpu/drm/loongson/lsdc_ttm.c, line 89
- drivers/gpu/drm/nouveau/nouveau_sgdma.c, line 25
- drivers/gpu/drm/qxl/qxl_ttm.c, line 103
- drivers/gpu/drm/radeon/radeon_ttm.c, line 476
- drivers/gpu/drm/ttm/tests/ttm_pool_test.c
- drivers/gpu/drm/ttm/tests/ttm_tt_test.c
- drivers/gpu/drm/ttm/ttm_agp_backend.c, line 120
- drivers/gpu/drm/ttm/ttm_tt.c, line 205
- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c, line 354
- drivers/gpu/drm/xe/xe_bo.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_backend_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_tt_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 1-u64max |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm->sg | (-1),16 |
| DATA_SOURCE | 0 | ttm | $1 |
| NOSPEC | 0 | ttm->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ttm->num_pages | 0-u32max[c] |
| USER_DATA | 0 | ttm->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ttm->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->gobj->size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.sg->orig_nents |
drivers/gpu/drm/drm_gem_vram_helper.c bo_driver_ttm_tt_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 1-u64max |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm->sg | (-1),16 |
| DATA_SOURCE | 0 | ttm | $1 |
| NOSPEC | 0 | ttm->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ttm->num_pages | 0-u32max[c] |
| USER_DATA | 0 | ttm->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ttm->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->gobj->size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.sg->orig_nents |
drivers/gpu/drm/qxl/qxl_ttm.c qxl_ttm_backend_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 1-u64max |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm->sg | (-1),16 |
| DATA_SOURCE | 0 | ttm | $1 |
| NOSPEC | 0 | ttm->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ttm->num_pages | 0-u32max[c] |
| USER_DATA | 0 | ttm->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ttm->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->gobj->size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.sg->orig_nents |
drivers/gpu/drm/xe/xe_bo.c xe_ttm_tt_create() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 0-2 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 12,14,28,30 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/xe/xe_bo.c xe_ttm_tt_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 1-u64max |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm->sg | (-1),16 |
| DATA_SOURCE | 0 | ttm | $1 |
| NOSPEC | 0 | ttm->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ttm->num_pages | 0-u32max[c] |
| USER_DATA | 0 | ttm->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ttm->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->gobj->size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_basic() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 0 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| CAPPED_DATA | 0 | ttm->num_pages | 1 |
| DATA_SOURCE | 0 | ttm | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_basic_dma_addr() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 0 |
| PARAM_VALUE | 0 | ttm->dma_address | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->num_pages | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| DATA_SOURCE | 0 | ttm | r kunit_kzalloc |
| MEM_ZERO | 0 | ttm | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_caching_mismatch() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 0 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| CAPPED_DATA | 0 | ttm->num_pages | 1 |
| DATA_SOURCE | 0 | ttm | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_order_caching_match() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 0 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| CAPPED_DATA | 0 | ttm->num_pages | 1 |
| DATA_SOURCE | 0 | ttm | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_order_mismatch() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 0 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| CAPPED_DATA | 0 | ttm->num_pages | 1 |
| DATA_SOURCE | 0 | ttm | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_free_dma_alloc() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 0 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| CAPPED_DATA | 0 | ttm->num_pages | 1 |
| DATA_SOURCE | 0 | ttm | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_free_no_dma_alloc() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 0 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| CAPPED_DATA | 0 | ttm->num_pages | 1 |
| DATA_SOURCE | 0 | ttm | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_pre_populated() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 0,2 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| CAPPED_DATA | 0 | ttm->num_pages | 1 |
| DATA_SOURCE | 0 | ttm | r ttm_tt_kunit_init |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/radeon/radeon_ttm.c radeon_ttm_backend_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/loongson/lsdc_ttm.c lsdc_ttm_tt_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 1-u64max |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm->sg | (-1),16 |
| DATA_SOURCE | 0 | ttm | $1 |
| NOSPEC | 0 | ttm->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ttm->num_pages | 0-u32max[c] |
| USER_DATA | 0 | ttm->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ttm->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->gobj->size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.sg->orig_nents |
drivers/gpu/drm/nouveau/nouveau_sgdma.c nouveau_sgdma_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c vmw_ttm_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 1-u64max |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm | (-1),64 |
| BUF_SIZE | 0 | ttm->sg | (-1),16 |
| DATA_SOURCE | 0 | ttm | $1 |
| NOSPEC | 0 | ttm->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ttm->num_pages | 0-u32max[c] |
| USER_DATA | 0 | ttm->sg->nents | 2-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ttm->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->gobj->size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.sg->orig_nents |
drivers/gpu/drm/ttm/ttm_agp_backend.c ttm_agp_destroy() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 1-u64max |
| PARAM_VALUE | 0 | ttm->restore->alloced_page | 0-s64max |
| PARAM_VALUE | 0 | ttm->restore->alloced_pages | 0-s64max |
| PARAM_VALUE | 0 | ttm->restore->first_dma | 0-s64max |
| PARAM_VALUE | 0 | ttm->restore->order | 0-4294967295 |
| PARAM_VALUE | 0 | ttm->restore->page_caching | 0-4294967295 |
| PARAM_VALUE | 0 | ttm->restore->restored_pages | 0-s64max |
| BUF_SIZE | 0 | ttm->sg | (-1),16 |
| DATA_SOURCE | 0 | ttm | $0 |
| NOSPEC | 0 | ttm->num_pages | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ttm->num_pages | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ttm->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->gobj->size | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 0 | ttm->ttm.sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_tt_test.c ttm_tt_fini_basic() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 2 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| DATA_SOURCE | 0 | ttm | r kunit_kzalloc |
| MEM_ZERO | 0 | ttm | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_tt_test.c ttm_tt_fini_sg() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 2 |
| PARAM_VALUE | 0 | ttm->dma_address | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 0 |
| BUF_SIZE | 0 | ttm | 64 |
| DATA_SOURCE | 0 | ttm | r kunit_kzalloc |
| MEM_ZERO | 0 | ttm | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |
drivers/gpu/drm/ttm/tests/ttm_tt_test.c ttm_tt_fini_shmem() -> ttm_tt_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | ttm->backup | 0 |
| PARAM_VALUE | 0 | ttm->caching | 2 |
| PARAM_VALUE | 0 | ttm->dma_address | 0 |
| PARAM_VALUE | 0 | ttm->page_flags | 0 |
| PARAM_VALUE | 0 | ttm->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ttm->restore | 0 |
| PARAM_VALUE | 0 | ttm->swap_storage | 4096-u64max |
| BUF_SIZE | 0 | ttm | 64 |
| DATA_SOURCE | 0 | ttm | r kunit_kzalloc |
| MEM_ZERO | 0 | ttm | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ttm->sg->orig_nents |