Home
last modified time | relevance | path

Searched refs:ENOMEM (Results 1 – 21 of 21) sorted by relevance

/DragonOS/kernel/src/misc/
H A Dksysfs.rs35 SystemError::ENOMEM in ksysfs_init()
/DragonOS/kernel/src/common/
H A Derrno.h24 #define ENOMEM 12 /* 没有足够的空间 Not enough space. */ macro
/DragonOS/kernel/src/mm/
H A Dsyscall.rs577 return Err(SystemError::ENOMEM); in msync()
585 let mut err = Err(SystemError::ENOMEM); in msync()
603 unmapped_error = Err(SystemError::ENOMEM); in msync()
649 return Err(SystemError::ENOMEM); in msync()
H A Dc_adapter.rs54 return SystemError::ENOMEM.to_posix_errno() as i64 as usize; in do_kmalloc()
H A Dearly_ioremap.rs111 let start_slot = start_slot.ok_or(SystemError::ENOMEM)?; in map()
H A Dmemblock.rs93 return Err(SystemError::ENOMEM); in add_range()
H A Ducontext.rs459 .ok_or(SystemError::ENOMEM)?, in mmap()
961 return self.find_free(min_vaddr, size).ok_or(SystemError::ENOMEM); in find_free_at()
984 let requested = self.find_free(min_vaddr, size).ok_or(SystemError::ENOMEM)?; in find_free_at()
H A Dmmio_buddy.rs517 return Err(SystemError::ENOMEM); in create_mmio()
/DragonOS/kernel/crates/system_error/src/
H A Dlib.rs36 ENOMEM = 12, enumerator
/DragonOS/kernel/src/libs/
H A Dalign.rs55 return Err(SystemError::ENOMEM); in new_zeroed()
H A Delf.rs710 SystemError::ENOMEM => ExecError::OutOfMemory, in load()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dmemmap.rs135 return Err(SystemError::ENOMEM); in do_efi_memmap_init()
H A Dtables.rs115 SystemError::ENOMEM in parse_config_tables()
/DragonOS/kernel/src/process/
H A Dexec.rs81 ExecError::OutOfMemory => SystemError::ENOMEM, in from()
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dlapic_vector.rs240 .ok_or(SystemError::ENOMEM)?; in arch_early_irq_init()
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs267 .ok_or(SystemError::ENOMEM)? as u32; in sys_eventfd()
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dmod.rs196 .ok_or(SystemError::ENOMEM)? in setup_new_usermapper()
/DragonOS/kernel/src/ipc/
H A Dpipe.rs377 return Err(SystemError::ENOMEM); in write_at()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dvcpu.rs398 .ok_or(SystemError::ENOMEM)? in kvm_mmu_load()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs237 .ok_or(SystemError::ENOMEM)? in setup_new_usermapper()
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs757 return Err(SystemError::ENOMEM); in getcwd()