Home
last modified time | relevance | path

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

/linux-6.12.1/rust/kernel/alloc/
Dvec_ext.rs20 fn with_capacity(capacity: usize, flags: Flags) -> Result<Self, AllocError>; in with_capacity() method
78 fn with_capacity(capacity: usize, flags: Flags) -> Result<Self, AllocError> { in with_capacity() method
/linux-6.12.1/rust/macros/
Dzeroable.rs18 let mut new_impl_generics = Vec::with_capacity(impl_generics.len()); in derive()
/linux-6.12.1/rust/kernel/
Dstr.rs806 let mut buf = <Vec<_> as VecExt<_>>::with_capacity(size, GFP_KERNEL)?; in try_from_fmt()