Searched refs:pt_pool (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/ttm/tests/ |
D | ttm_pool_test.c | 270 struct ttm_pool_type *pt_pool, *pt_tt; in ttm_pool_alloc_caching_mismatch() local 279 pt_pool = &pool->caching[pool_caching].orders[order]; in ttm_pool_alloc_caching_mismatch() 285 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_caching_mismatch() 294 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_caching_mismatch() 304 struct ttm_pool_type *pt_pool, *pt_tt; in ttm_pool_alloc_order_mismatch() local 313 pt_pool = &pool->caching[caching].orders[order]; in ttm_pool_alloc_order_mismatch() 319 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_order_mismatch() 328 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_order_mismatch()
|
/linux-6.12.1/drivers/iommu/ |
D | sun50i-iommu.c | 112 struct kmem_cache *pt_pool; member 530 page_table = kmem_cache_zalloc(iommu->pt_pool, gfp); in sun50i_iommu_alloc_page_table() 537 kmem_cache_free(iommu->pt_pool, page_table); in sun50i_iommu_alloc_page_table() 553 kmem_cache_free(iommu->pt_pool, page_table); in sun50i_iommu_free_page_table() 1007 iommu->pt_pool = kmem_cache_create(dev_name(&pdev->dev), in sun50i_iommu_probe() 1011 if (!iommu->pt_pool) in sun50i_iommu_probe() 1063 kmem_cache_destroy(iommu->pt_pool); in sun50i_iommu_probe()
|