Home
last modified time | relevance | path

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

/trusty/kernel/lib/trusty/
Dsyscall.c353 size_t mapped_size = 0; in sys_prepare_dma() local
381 ret = slice.obj->ops->get_page(slice.obj, slice.offset + mapped_size, in sys_prepare_dma()
388 kpmem.size = MIN(size - mapped_size, paddr_size); in sys_prepare_dma()
405 mapped_size += kpmem.size; in sys_prepare_dma()
408 } while (mapped_size < size && (flags & DMA_FLAG_MULTI_PMEM)); in sys_prepare_dma()
411 arch_clean_invalidate_cache_range(vaddr, mapped_size); in sys_prepare_dma()
413 arch_clean_cache_range(vaddr, mapped_size); in sys_prepare_dma()
415 if (!(flags & DMA_FLAG_ALLOW_PARTIAL) && mapped_size != size) { in sys_prepare_dma()