Home
last modified time | relevance | path

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

/external/crosvm/vm_memory/src/
Dguest_memory.rs91 pub struct MemoryPolicy: u32 {
271 pub fn set_memory_policy(&self, mem_policy: MemoryPolicy) { in set_memory_policy() argument
272 if mem_policy.contains(MemoryPolicy::USE_HUGEPAGES) { in set_memory_policy()
/external/crosvm/src/plugin/
Dmod.rs37 use vm_memory::{GuestMemory, MemoryPolicy};
694 let mut mem_policy = MemoryPolicy::empty(); in run_config()
696 mem_policy |= MemoryPolicy::USE_HUGEPAGES; in run_config()
/external/crosvm/src/
Dlinux.rs58 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()