Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_device.c xe_device_destroy() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &component_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fini() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/i915/intel_region_ttm.c intel_region_ttm_device_fini() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/ttm/tests/ttm_device_test.c ttm_device_fini_basic() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
PARAM_VALUE 0 bdev->alloc_flags 0
PARAM_VALUE 0 bdev->device_list.next 8627146840200146952
PARAM_VALUE 0 bdev->funcs 3832532328000647168
PARAM_VALUE 0 bdev->funcs->access_memory 0,1017633713053646848,3225919106585391104,6129073923208413184
PARAM_VALUE 0 bdev->funcs->delete_mem_notify 0,1324054607772385280,3362702293586616320,3508674538459328512,4046619066990776320,4672322443624128512,6012858452504408064
PARAM_VALUE 0 bdev->funcs->evict_flags 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->eviction_valuable 0,1858549247423643648,2081513394135252992,4678632391305342976,8260624757114155008
PARAM_VALUE 0 bdev->funcs->io_mem_free 0,2194093600872873984
PARAM_VALUE 0 bdev->funcs->io_mem_pfn 0,2706132887046717440,3654902622055292928,7331281985970253824
PARAM_VALUE 0 bdev->funcs->io_mem_reserve 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->move 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->release_notify 0,6700952100510887936,8497440169773187072
PARAM_VALUE 0 bdev->funcs->swap_notify 0,444935274221056000,3637901885053157376,5073818069448499200
PARAM_VALUE 0 bdev->funcs->ttm_tt_create 4096-ptr_max
PARAM_VALUE 0 bdev->funcs->ttm_tt_destroy 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->ttm_tt_populate 0,222258046416863232,3994591000577544192,4134842942852018176,4222010675217444864,4805071350855475200,7664591298186248192,8057603946702434304
PARAM_VALUE 0 bdev->funcs->ttm_tt_unpopulate 0,4666166901115146240,5282055296047239168,6183271797138042880,6595337069447958528,7578260243328782336,7595606228058984448,7854353412451688448
PARAM_VALUE 0 bdev->pool.alloc_flags 0
PARAM_VALUE 0 bdev->pool.dev 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func 8470644571397554176
PARAM_VALUE 0 bdev->sysman.func->alloc 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->compatible 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->debug 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->free 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->intersects 0,277556496761421824,351631188507971584,1562901022217814016,3048074332517179392,6329539114600038400,7579390472687497216
PARAM_VALUE 0 bdev->sysman.usage 0
PARAM_VALUE 0 bdev->sysman.use_tt 1
PARAM_VALUE 0 bdev->sysman.use_type 1
PARAM_VALUE 0 bdev->unevictable.next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.next->next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev->next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev->prev 4096-ptr_max
PARAM_VALUE 0 bdev->vma_manager 1-u64max
PARAM_VALUE 0 bdev->wq 4096-ptr_max
PARAM_VALUE 0 *bdev->sysman->eviction_fences 0
BUF_SIZE 0 bdev 5760
DATA_SOURCE 0 bdev r kunit_kzalloc
MEM_ZERO 0 bdev
NOCHECK_CALL

drivers/gpu/drm/ttm/tests/ttm_device_test.c ttm_device_init_basic() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
PARAM_VALUE 0 bdev->alloc_flags 0
PARAM_VALUE 0 bdev->dev_mapping 0
PARAM_VALUE 0 bdev->device_list.next 8627146840200146952
PARAM_VALUE 0 bdev->funcs 3832532328000647168
PARAM_VALUE 0 bdev->funcs->access_memory 0,1017633713053646848,3225919106585391104,6129073923208413184
PARAM_VALUE 0 bdev->funcs->delete_mem_notify 0,1324054607772385280,3362702293586616320,3508674538459328512,4046619066990776320,4672322443624128512,6012858452504408064
PARAM_VALUE 0 bdev->funcs->evict_flags 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->eviction_valuable 0,1858549247423643648,2081513394135252992,4678632391305342976,8260624757114155008
PARAM_VALUE 0 bdev->funcs->io_mem_free 0,2194093600872873984
PARAM_VALUE 0 bdev->funcs->io_mem_pfn 0,2706132887046717440,3654902622055292928,7331281985970253824
PARAM_VALUE 0 bdev->funcs->io_mem_reserve 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->move 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->release_notify 0,6700952100510887936,8497440169773187072
PARAM_VALUE 0 bdev->funcs->swap_notify 0,444935274221056000,3637901885053157376,5073818069448499200
PARAM_VALUE 0 bdev->funcs->ttm_tt_create 4096-ptr_max
PARAM_VALUE 0 bdev->funcs->ttm_tt_destroy 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->ttm_tt_populate 0,222258046416863232,3994591000577544192,4134842942852018176,4222010675217444864,4805071350855475200,7664591298186248192,8057603946702434304
PARAM_VALUE 0 bdev->funcs->ttm_tt_unpopulate 0,4666166901115146240,5282055296047239168,6183271797138042880,6595337069447958528,7578260243328782336,7595606228058984448,7854353412451688448
PARAM_VALUE 0 bdev->pool.alloc_flags 0
PARAM_VALUE 0 bdev->pool.dev 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func 8470644571397554176
PARAM_VALUE 0 bdev->sysman.func->alloc 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->compatible 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->debug 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->free 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->intersects 0,277556496761421824,351631188507971584,1562901022217814016,3048074332517179392,6329539114600038400,7579390472687497216
PARAM_VALUE 0 bdev->sysman.usage 0
PARAM_VALUE 0 bdev->sysman.use_tt 1
PARAM_VALUE 0 bdev->sysman.use_type 1
PARAM_VALUE 0 bdev->unevictable.next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.next->next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev->next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev->prev 4096-ptr_max
PARAM_VALUE 0 bdev->vma_manager 1-u64max
PARAM_VALUE 0 bdev->wq 4096-ptr_max
PARAM_VALUE 0 *bdev->sysman->eviction_fences 0
BUF_SIZE 0 bdev 5760
DATA_SOURCE 0 bdev r kunit_kzalloc
MEM_ZERO 0 bdev
NOCHECK_CALL

drivers/gpu/drm/ttm/tests/ttm_device_test.c ttm_device_init_multiple() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/ttm/tests/ttm_device_test.c ttm_device_init_pools() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 16,4096-ptr_max
PARAM_VALUE 0 bdev->device_list.next 8627146840200146952
PARAM_VALUE 0 bdev->funcs 3832532328000647168
PARAM_VALUE 0 bdev->funcs->access_memory 0,1017633713053646848,3225919106585391104,6129073923208413184
PARAM_VALUE 0 bdev->funcs->delete_mem_notify 0,1324054607772385280,3362702293586616320,3508674538459328512,4046619066990776320,4672322443624128512,6012858452504408064
PARAM_VALUE 0 bdev->funcs->evict_flags 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->eviction_valuable 0,1858549247423643648,2081513394135252992,4678632391305342976,8260624757114155008
PARAM_VALUE 0 bdev->funcs->io_mem_free 0,2194093600872873984
PARAM_VALUE 0 bdev->funcs->io_mem_pfn 0,2706132887046717440,3654902622055292928,7331281985970253824
PARAM_VALUE 0 bdev->funcs->io_mem_reserve 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->move 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->release_notify 0,6700952100510887936,8497440169773187072
PARAM_VALUE 0 bdev->funcs->swap_notify 0,444935274221056000,3637901885053157376,5073818069448499200
PARAM_VALUE 0 bdev->funcs->ttm_tt_create 4096-ptr_max
PARAM_VALUE 0 bdev->funcs->ttm_tt_destroy 0,4096-ptr_max
PARAM_VALUE 0 bdev->funcs->ttm_tt_populate 0,222258046416863232,3994591000577544192,4134842942852018176,4222010675217444864,4805071350855475200,7664591298186248192,8057603946702434304
PARAM_VALUE 0 bdev->funcs->ttm_tt_unpopulate 0,4666166901115146240,5282055296047239168,6183271797138042880,6595337069447958528,7578260243328782336,7595606228058984448,7854353412451688448
PARAM_VALUE 0 bdev->pool.caching 0
PARAM_VALUE 0 bdev->pool.dev 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func 8470644571397554176
PARAM_VALUE 0 bdev->sysman.func->alloc 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->compatible 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->debug 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->free 0,4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func->intersects 0,277556496761421824,351631188507971584,1562901022217814016,3048074332517179392,6329539114600038400,7579390472687497216
PARAM_VALUE 0 bdev->sysman.usage 0
PARAM_VALUE 0 bdev->sysman.use_tt 1
PARAM_VALUE 0 bdev->sysman.use_type 1
PARAM_VALUE 0 bdev->unevictable.next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.next->next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev->next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev->prev 4096-ptr_max
PARAM_VALUE 0 bdev->vma_manager 1-u64max
PARAM_VALUE 0 bdev->wq 4096-ptr_max
PARAM_VALUE 0 *bdev->sysman->eviction_fences 0
BUF_SIZE 0 bdev 5760
DATA_SOURCE 0 bdev r kunit_kzalloc
MEM_ZERO 0 bdev
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_driver_load() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
PARAM_VALUE 0 bdev->alloc_flags 0,256
PARAM_VALUE 0 bdev->device_list.next 8627146840200146952
PARAM_VALUE 0 bdev->funcs 4484982198590341120
PARAM_VALUE 0 bdev->pool.alloc_flags 0,256
PARAM_VALUE 0 bdev->pool.dev 4096-ptr_max
PARAM_VALUE 0 bdev->sysman.func 8470644571397554176
PARAM_VALUE 0 bdev->sysman.use_tt 1
PARAM_VALUE 0 bdev->sysman.use_type 1
PARAM_VALUE 0 bdev->unevictable.next 4096-ptr_max
PARAM_VALUE 0 bdev->unevictable.prev 4096-ptr_max
PARAM_VALUE 0 bdev->vma_manager 1-u64max
PARAM_VALUE 0 bdev->wq 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_driver_unload() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nouveau_ttm.c nouveau_ttm_fini() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/drm_gem_vram_helper.c drm_vram_mm_cleanup() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mode_config.connection_mutex
HALF_LOCKED2 global &component_mutex

drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c ttm_bo_validate_busy_domain_evict() -> ttm_device_fini()

Type Parameter Key Value
NOCHECK_CALL

drivers/gpu/drm/qxl/qxl_ttm.c qxl_ttm_fini() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/radeon/radeon_ttm.c radeon_ttm_fini() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c ttm_test_devices_put() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 1-u64max
NOCHECK_CALL

drivers/gpu/drm/loongson/lsdc_ttm.c lsdc_ttm_fini() -> ttm_device_fini()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &component_mutex