Home
last modified time | relevance | path

Searched defs:AllocError (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/rust/alloc/
H A Dalloc.rs178 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
198 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
242 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
247 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
266 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
288 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
H A Dboxed.rs306 pub fn try_new(x: T) -> Result<Self, AllocError> { in try_new() argument
689 pub fn try_new_uninit_slice(len: usize) -> Result<Box<[mem::MaybeUninit<T>]>, AllocError> { in try_new_uninit_slice() argument
723 pub fn try_new_zeroed_slice(len: usize) -> Result<Box<[mem::MaybeUninit<T>]>, AllocError> { in try_new_zeroed_slice() argument
/openbmc/linux/rust/kernel/
H A Dinit.rs1120 E: From<AllocError>; in try_pin_init()
1140 E: From<AllocError>; in try_init()
1159 E: From<AllocError>, in try_pin_init()
1173 E: From<AllocError>, in try_init()
1189 E: From<AllocError>, in try_pin_init()
1203 E: From<AllocError>, in try_init()
H A Dstr.rs206 pub fn to_cstring(&self) -> Result<CString, AllocError> { in to_cstring() argument
599 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from() argument
/openbmc/linux/rust/alloc/collections/
H A Dmod.rs94 AllocError { enumerator
/openbmc/linux/rust/kernel/sync/
H A Darc.rs165 pub fn try_new(contents: T) -> Result<Self, AllocError> { in try_new() argument
519 pub fn try_new(value: T) -> Result<Self, AllocError> { in try_new() argument