Home
last modified time | relevance | path

Searched refs:pt_pool (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_pool_test.c271 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()
/openbmc/linux/drivers/iommu/
H A Dsun50i-iommu.c111 struct kmem_cache *pt_pool; member
527 page_table = kmem_cache_zalloc(iommu->pt_pool, gfp); in sun50i_iommu_alloc_page_table()
534 kmem_cache_free(iommu->pt_pool, page_table); in sun50i_iommu_alloc_page_table()
550 kmem_cache_free(iommu->pt_pool, page_table); in sun50i_iommu_free_page_table()
992 iommu->pt_pool = kmem_cache_create(dev_name(&pdev->dev), in sun50i_iommu_probe()
996 if (!iommu->pt_pool) in sun50i_iommu_probe()
1057 kmem_cache_destroy(iommu->pt_pool); in sun50i_iommu_probe()