Lines Matching refs:virt_new
233 void *virt_new) in sys_mm_drv_simple_remap_region() argument
240 !sys_mm_drv_is_virt_addr_aligned(virt_new) || in sys_mm_drv_simple_remap_region()
246 if ((POINTER_TO_UINT(virt_new) >= POINTER_TO_UINT(virt_old)) && in sys_mm_drv_simple_remap_region()
247 (POINTER_TO_UINT(virt_new) < (POINTER_TO_UINT(virt_old) + size))) { in sys_mm_drv_simple_remap_region()
255 !sys_mm_drv_is_virt_region_unmapped(virt_new, size)) { in sys_mm_drv_simple_remap_region()
262 uint8_t *va_new = (uint8_t *)virt_new + offset; in sys_mm_drv_simple_remap_region()
279 (void)unmap_locked(virt_new, offset, true); in sys_mm_drv_simple_remap_region()
297 (void)unmap_locked(virt_new, offset, true); in sys_mm_drv_simple_remap_region()
311 (void)unmap_locked(virt_new, offset, true); in sys_mm_drv_simple_remap_region()
330 void *virt_new, uintptr_t phys_new) in sys_mm_drv_simple_move_region() argument
338 !sys_mm_drv_is_virt_addr_aligned(virt_new) || in sys_mm_drv_simple_move_region()
344 if ((POINTER_TO_UINT(virt_new) >= POINTER_TO_UINT(virt_old)) && in sys_mm_drv_simple_move_region()
345 (POINTER_TO_UINT(virt_new) < (POINTER_TO_UINT(virt_old) + size))) { in sys_mm_drv_simple_move_region()
353 !sys_mm_drv_is_virt_region_unmapped(virt_new, size)) { in sys_mm_drv_simple_move_region()
360 uint8_t *va_new = (uint8_t *)virt_new + offset; in sys_mm_drv_simple_move_region()
373 (void)unmap_locked(virt_new, offset, true); in sys_mm_drv_simple_move_region()
391 (void)unmap_locked(virt_new, offset, true); in sys_mm_drv_simple_move_region()
398 (void)memcpy(virt_new, virt_old, size); in sys_mm_drv_simple_move_region()
414 void *virt_new, in sys_mm_drv_simple_move_array() argument
423 !sys_mm_drv_is_virt_addr_aligned(virt_new) || in sys_mm_drv_simple_move_array()
429 if ((POINTER_TO_UINT(virt_new) >= POINTER_TO_UINT(virt_old)) && in sys_mm_drv_simple_move_array()
430 (POINTER_TO_UINT(virt_new) < (POINTER_TO_UINT(virt_old) + size))) { in sys_mm_drv_simple_move_array()
438 !sys_mm_drv_is_virt_region_unmapped(virt_new, size)) { in sys_mm_drv_simple_move_array()
447 uint8_t *va_new = (uint8_t *)virt_new + offset; in sys_mm_drv_simple_move_array()
459 (void)unmap_locked(virt_new, offset, true); in sys_mm_drv_simple_move_array()
479 (void)unmap_locked(virt_new, offset, true); in sys_mm_drv_simple_move_array()
489 (void)memcpy(virt_new, virt_old, size); in sys_mm_drv_simple_move_array()