Searched refs:round_up_to_page_size (Results 1 – 5 of 5) sorted by relevance
/external/crosvm/gpu_display/src/ |
D | gpu_display_wl.rs | 24 round_up_to_page_size, AsRawDescriptor, MemoryMapping, MemoryMappingBuilder, RawDescriptor, 208 let buffer_size = round_up_to_page_size(fb_size as usize * BUFFER_COUNT); in create_surface()
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | gralloc.rs | 10 use base::{round_up_to_page_size, MappedRegion}; 309 reqs.size = round_up_to_page_size(reqs.size as usize) as u64; in get_image_memory_requirements()
|
/external/crosvm/sys_util/src/ |
D | lib.rs | 131 pub fn round_up_to_page_size(v: usize) -> usize { in round_up_to_page_size() function 367 let page_size = set_pipe_size(tx.as_raw_fd(), round_up_to_page_size(1))?; in new_pipe_full()
|
/external/crosvm/devices/src/virtio/ |
D | wl.rs | 54 error, pipe, round_up_to_page_size, warn, AsRawDescriptor, Error, Event, FileFlags, 599 let size_page_aligned = round_up_to_page_size(size as usize) as u64; in allocate()
|
/external/crosvm/cros_async/src/ |
D | uring_executor.rs | 937 let mut buf = vec![0u8; sys_util::round_up_to_page_size(1)]; in dont_drop_backing_mem_write()
|