Home
last modified time | relevance | path

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

/external/rust/android-crates-io/crates/vmm-sys-util/src/
Dfam.rs164 pub struct FamStructWrapper<T: Default + FamStruct> { struct
174 impl<T: Default + FamStruct> FamStructWrapper<T> { implementation
216 pub fn new(num_elements: usize) -> Result<FamStructWrapper<T>, Error> { in new()
221 FamStructWrapper::<T>::mem_allocator_len(num_elements) in new()
236 Ok(FamStructWrapper { mem_allocator }) in new()
250 pub fn from_entries(entries: &[T::Entry]) -> Result<FamStructWrapper<T>, Error> { in from_entries()
251 let mut adapter = FamStructWrapper::<T>::new(entries.len())?; in from_entries()
276 FamStructWrapper { in from_raw()
344 FamStructWrapper::<T>::fam_len(self.mem_allocator.capacity()) in capacity()
361 let required_mem_allocator_len = FamStructWrapper::<T>::mem_allocator_len(desired_capacity) in reserve()
[all …]
/external/rust/android-crates-io/crates/vmm-sys-util/
DCHANGELOG.md14 - Fixed a bug in `serde` implementation of `FamStructWrapper` which allowed out of
60 - Derive `Debug` for `FamStructWrapper` & `EventFd`.
115 * Added conditionally compiled `serde` compatibility to `FamStructWrapper`,
147 * Fixed the FamStructWrapper Clone implementation to avoid UB.
/external/rust/android-crates-io/crates/vm-memory/src/
Dmmap_xen.rs15 fam::{Error as FamError, FamStruct, FamStructWrapper},
727 type GntDevMapGrantRefWrapper = FamStructWrapper<GntDevMapGrantRef>;
/external/rust/android-crates-io/extra_versions/crates/vm-memory/src/
Dmmap_xen.rs15 fam::{Error as FamError, FamStruct, FamStructWrapper},
726 type GntDevMapGrantRefWrapper = FamStructWrapper<GntDevMapGrantRef>;
/external/rust/android-crates-io/crates/vhost/src/vhost_kern/
Dvdpa.rs32 type VhostVdpaConfig = FamStructWrapper<vhost_vdpa_config>;