Searched refs:dirty_log_bitmap_size (Results 1 – 3 of 3) sorted by relevance
/external/crosvm/kvm/src/ |
D | lib.rs | 102 pub fn dirty_log_bitmap_size(size: usize) -> usize { in dirty_log_bitmap_size() function 522 if dirty_log_bitmap_size(mmap.size()) > dirty_log.len() { in get_dirty_log() 1752 assert_eq!(dirty_log_bitmap_size(0), 0); in dirty_log_size() 1753 assert_eq!(dirty_log_bitmap_size(page_size), 1); in dirty_log_size() 1754 assert_eq!(dirty_log_bitmap_size(page_size * 8), 1); in dirty_log_size() 1755 assert_eq!(dirty_log_bitmap_size(page_size * 8 + 1), 2); in dirty_log_size() 1756 assert_eq!(dirty_log_bitmap_size(page_size * 100), 13); in dirty_log_size()
|
/external/crosvm/src/plugin/ |
D | process.rs | 26 use kvm::{dirty_log_bitmap_size, Datamatch, IoeventAddress, IrqRoute, IrqSource, PicId, Vm}; 639 dirty_log.resize(dirty_log_bitmap_size(length), 0); in handle_socket()
|
/external/crosvm/crosvm_plugin/src/ |
D | lib.rs | 39 use kvm::dirty_log_bitmap_size; 828 let log_slice = slice::from_raw_parts_mut(log, dirty_log_bitmap_size(this.length as usize)); in crosvm_memory_get_dirty_log()
|