Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/
A Dmsm_iommu.c20 struct kmem_cache *pt_cache; member
322 return to_msm_iommu(pagetable->parent)->pt_cache; in get_pt_cache()
328 struct kmem_cache *pt_cache = get_pt_cache(mmu); in msm_iommu_pagetable_prealloc_allocate() local
335 ret = kmem_cache_alloc_bulk(pt_cache, GFP_KERNEL, p->count, p->pages); in msm_iommu_pagetable_prealloc_allocate()
347 struct kmem_cache *pt_cache = get_pt_cache(mmu); in msm_iommu_pagetable_prealloc_cleanup() local
353 kmem_cache_free_bulk(pt_cache, remaining_pt_count, &p->pages[p->ptr]); in msm_iommu_pagetable_prealloc_cleanup()
697 kmem_cache_destroy(iommu->pt_cache); in msm_iommu_destroy()
776 iommu->pt_cache = in msm_iommu_gpu_new()
/drivers/gpu/drm/panthor/
A Dpanthor_mmu.c420 static struct kmem_cache *pt_cache; variable
502 kmem_cache_free(pt_cache, data); in free_pt()
1101 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()
1342 ret = kmem_cache_alloc_bulk(pt_cache, GFP_KERNEL, pt_count, in panthor_vm_prepare_unmap_op_ctx()
2826 pt_cache = kmem_cache_create("panthor-mmu-pt", SZ_4K, SZ_4K, 0, NULL); in panthor_mmu_pt_cache_init()
2827 if (!pt_cache) in panthor_mmu_pt_cache_init()
2838 kmem_cache_destroy(pt_cache); in panthor_mmu_pt_cache_fini()

Completed in 14 milliseconds