Home
last modified time | relevance | path

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

/Linux-v6.6/rust/alloc/
Draw_vec.rs194 AllocInit::Zeroed => alloc.allocate_zeroed(layout), in allocate_in()
222 AllocInit::Zeroed => alloc.allocate_zeroed(layout), in try_allocate_in()
Dalloc.rs251 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() method
Dboxed.rs557 let ptr = alloc.allocate_zeroed(layout)?.cast(); in try_new_zeroed_in()
719 let ptr = Global.allocate_zeroed(layout)?; in try_new_zeroed_slice()