Searched refs:pt_pool (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/ttm/tests/ |
D | ttm_pool_test.c | 271 struct ttm_pool_type *pt_pool, *pt_tt; in ttm_pool_alloc_caching_mismatch() local 280 pt_pool = &pool->caching[pool_caching].orders[order]; in ttm_pool_alloc_caching_mismatch() 286 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_caching_mismatch() 295 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_caching_mismatch() 305 struct ttm_pool_type *pt_pool, *pt_tt; in ttm_pool_alloc_order_mismatch() local 314 pt_pool = &pool->caching[caching].orders[order]; in ttm_pool_alloc_order_mismatch() 320 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_order_mismatch() 329 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_order_mismatch()
|
/Linux-v6.6/drivers/iommu/ |
D | sun50i-iommu.c | 111 struct kmem_cache *pt_pool; member 526 page_table = kmem_cache_zalloc(iommu->pt_pool, gfp); in sun50i_iommu_alloc_page_table() 533 kmem_cache_free(iommu->pt_pool, page_table); in sun50i_iommu_alloc_page_table() 549 kmem_cache_free(iommu->pt_pool, page_table); in sun50i_iommu_free_page_table() 991 iommu->pt_pool = kmem_cache_create(dev_name(&pdev->dev), in sun50i_iommu_probe() 995 if (!iommu->pt_pool) in sun50i_iommu_probe() 1056 kmem_cache_destroy(iommu->pt_pool); in sun50i_iommu_probe()
|