Searched refs:MemoryPolicy (Results 1 – 3 of 3) sorted by relevance
91 pub struct MemoryPolicy: u32 {271 pub fn set_memory_policy(&self, mem_policy: MemoryPolicy) { in set_memory_policy() argument272 if mem_policy.contains(MemoryPolicy::USE_HUGEPAGES) { in set_memory_policy()
37 use vm_memory::{GuestMemory, MemoryPolicy};694 let mut mem_policy = MemoryPolicy::empty(); in run_config()696 mem_policy |= MemoryPolicy::USE_HUGEPAGES; in run_config()
58 use vm_memory::{GuestAddress, GuestMemory, MemoryPolicy};2294 let mut mem_policy = MemoryPolicy::empty(); in run_config()2296 mem_policy |= MemoryPolicy::USE_HUGEPAGES; in run_config()