Home
last modified time | relevance | path

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

/external/crosvm/base/src/
Dshm.rs6 AsRawDescriptor, FromRawDescriptor, IntoRawDescriptor, MemfdSeals, RawDescriptor, Result,
63 fn get_seals(&self) -> Result<MemfdSeals>; in get_seals() argument
65 fn add_seals(&mut self, seals: MemfdSeals) -> Result<()>; in add_seals()
69 fn get_seals(&self) -> Result<MemfdSeals> { in get_seals() argument
73 fn add_seals(&mut self, seals: MemfdSeals) -> Result<()> { in add_seals()
/external/crosvm/sys_util/src/
Dshm.rs38 pub struct MemfdSeals(i32); struct
40 impl MemfdSeals { impl
43 pub fn new() -> MemfdSeals { in new()
44 MemfdSeals(0) in new()
156 pub fn get_seals(&self) -> Result<MemfdSeals> { in get_seals() argument
161 Ok(MemfdSeals(ret)) in get_seals()
168 pub fn add_seals(&mut self, seals: MemfdSeals) -> Result<()> { in add_seals()
/external/crosvm/vm_memory/src/
Dguest_memory.rs17 AsRawDescriptor, AsRawDescriptors, MappedRegion, MemfdSeals, MemoryMapping,
147 let mut seals = MemfdSeals::new(); in create_shm()