pub fn allocate_frames_by_bytes_deferred(
requested_paddr: Option<PhysicalAddress>,
num_bytes: usize
) -> Result<(AllocatedFrames<Page4K>, DeferredAllocAction<'static>), &'static str>
Expand description
Similar to allocated_frames_deferred()
,
but accepts a size value for the allocated frames in number of bytes instead of number of frames.
This function still allocates whole frames by rounding up the number of bytes.