Lines Matching refs:bytes
320 .find_free_at(self.mmap_min, vaddr, page_count.bytes(), map_flags)? in mmap()
324 .find_free(self.mmap_min, page_count.bytes()) in mmap()
372 let to_unmap = VirtRegion::new(start_page.virt_address(), page_count.bytes()); in munmap()
424 let region = VirtRegion::new(start_page.virt_address(), page_count.bytes()); in mprotect()
1245 mut bytes: usize, in initial_extend()
1250 bytes = page_align_up(bytes); in initial_extend()
1251 self.mapped_size += bytes; in initial_extend()
1255 bytes, in initial_extend()
1279 mut bytes: usize, in extend()
1284 bytes = page_align_up(bytes); in extend()
1285 self.mapped_size += bytes; in extend()
1289 bytes, in extend()