Searched refs:pt_cache (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_iommu.c | 22 struct kmem_cache *pt_cache; member 326 return to_msm_iommu(pagetable->parent)->pt_cache; in get_pt_cache() 332 struct kmem_cache *pt_cache = get_pt_cache(mmu); in msm_iommu_pagetable_prealloc_allocate() local 339 ret = kmem_cache_alloc_bulk(pt_cache, GFP_KERNEL, p->count, p->pages); in msm_iommu_pagetable_prealloc_allocate() 353 struct kmem_cache *pt_cache = get_pt_cache(mmu); in msm_iommu_pagetable_prealloc_cleanup() local 362 kmem_cache_free_bulk(pt_cache, remaining_pt_count, &p->pages[p->ptr]); in msm_iommu_pagetable_prealloc_cleanup() 710 kmem_cache_destroy(iommu->pt_cache); in msm_iommu_destroy() 789 iommu->pt_cache = in msm_iommu_gpu_new()
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 408 static struct kmem_cache *pt_cache; variable 490 kmem_cache_free(pt_cache, data); in free_pt() 1096 kmem_cache_free_bulk(pt_cache, remaining_pt_count, in panthor_vm_cleanup_op_ctx() 1286 ret = kmem_cache_alloc_bulk(pt_cache, GFP_KERNEL, pt_count, in panthor_vm_prepare_map_op_ctx() 1341 ret = kmem_cache_alloc_bulk(pt_cache, GFP_KERNEL, pt_count, in panthor_vm_prepare_unmap_op_ctx() 2820 pt_cache = kmem_cache_create("panthor-mmu-pt", SZ_4K, SZ_4K, 0, NULL); in panthor_mmu_pt_cache_init() 2821 if (!pt_cache) in panthor_mmu_pt_cache_init() 2832 kmem_cache_destroy(pt_cache); in panthor_mmu_pt_cache_fini()
|