Searched refs:new_sz (Results 1 – 1 of 1) sorted by relevance
278 static void resize_gralloc_dmaregion_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in resize_gralloc_dmaregion_locked() argument279 grdma->sz = new_sz; in resize_gralloc_dmaregion_locked()327 … gralloc_dmaregion_register_ashmem_direct_mem_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in gralloc_dmaregion_register_ashmem_direct_mem_locked() argument328 if (new_sz == grdma->sz) return; in gralloc_dmaregion_register_ashmem_direct_mem_locked()333 allocator->hostMalloc(block, new_sz); in gralloc_dmaregion_register_ashmem_direct_mem_locked()334 grdma->sz = new_sz; in gralloc_dmaregion_register_ashmem_direct_mem_locked()337 …ic void gralloc_dmaregion_register_ashmem_dma_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in gralloc_dmaregion_register_ashmem_dma_locked() argument338 if (new_sz != grdma->sz) { in gralloc_dmaregion_register_ashmem_dma_locked()339 if (new_sz > MAX_DMA_SIZE) { in gralloc_dmaregion_register_ashmem_dma_locked()341 __func__, new_sz, MAX_DMA_SIZE); in gralloc_dmaregion_register_ashmem_dma_locked()[all …]