Home
last modified time | relevance | path

Searched refs:mmap_addr (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Virtualization/libs/dice/driver/src/
Dlib.rs40 mmap_addr: *mut c_void,
87 let mmap_addr = unsafe { in new() localVariable
91 if mmap_addr == MAP_FAILED { in new()
98 unsafe { slice::from_raw_parts((mmap_addr as *const u8).as_ref().unwrap(), mmap_size) }; in new()
103 mmap_addr, in new()
173 if let &mut Self::Real { mmap_addr, mmap_size, .. } = self { in drop()
177 let ret = unsafe { munmap(mmap_addr, mmap_size) }; in drop()