remap_memory

Function remap_memory 

Source
pub fn remap_memory(
    locked: &mut Locked<Unlocked>,
    current_task: &CurrentTask,
    old_addr: UserAddress,
    old_length: u64,
    new_length: u64,
    flags: u32,
    new_addr: UserAddress,
) -> Result<UserAddress, Errno>
Expand description

Convenience wrapper around sys_mremap which extracts the returned UserAddress from the generic SyscallResult.