Searched refs:offset_pages (Results 1 – 2 of 2) sorted by relevance
203 let mut offset_pages = 0; in create() localVariable236 let file = SwapFile::new(swap_raw_file, offset_pages, num_of_pages)?; in create()239 pages_to_bytes(offset_pages) as u64, in create()253 offset_pages += num_of_pages; in create()
71 pub fn new(file: &'a File, offset_pages: usize, num_of_pages: usize) -> Result<Self> { in new()72 let offset = pages_to_bytes(offset_pages) as u64; in new()