Searched refs:new_sz (Results 1 – 1 of 1) sorted by relevance
251 static void resize_gralloc_dmaregion_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in resize_gralloc_dmaregion_locked() argument256 goldfish_dma_create_region(new_sz, &grdma->goldfish_dma); in resize_gralloc_dmaregion_locked()257 grdma->sz = new_sz; in resize_gralloc_dmaregion_locked()305 … gralloc_dmaregion_register_ashmem_direct_mem_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in gralloc_dmaregion_register_ashmem_direct_mem_locked() argument306 if (new_sz == grdma->sz) return; in gralloc_dmaregion_register_ashmem_direct_mem_locked()311 allocator->hostMalloc(block, new_sz); in gralloc_dmaregion_register_ashmem_direct_mem_locked()312 grdma->sz = new_sz; in gralloc_dmaregion_register_ashmem_direct_mem_locked()315 …ic void gralloc_dmaregion_register_ashmem_dma_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in gralloc_dmaregion_register_ashmem_dma_locked() argument316 if (new_sz != grdma->sz) { in gralloc_dmaregion_register_ashmem_dma_locked()317 if (new_sz > MAX_DMA_SIZE) { in gralloc_dmaregion_register_ashmem_dma_locked()[all …]