Searched refs:new_zeroed (Results 1 – 5 of 5) sorted by relevance
49 pub fn new_zeroed() -> Result<Self, SystemError> in new_zeroed() method111 Self::new_zeroed().unwrap_or_else(|_| alloc::alloc::handle_alloc_error(Self::LAYOUT)); in clone()
55 pub const fn new_zeroed() -> Self { in new_zeroed() method
121 RSDP_TMP_BOX = Some(AlignedBox::new_zeroed().expect("rs_acpi_init(): failed to alloc")) in rsdp_paddr()
184 *msg = MsiMsg::new_zeroed(); in irq_msi_compose_msg()
1409 AlignedBox::<[u8; KernelStack::SIZE], { KernelStack::ALIGN }>::new_zeroed()?, in new()