Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/libUI/
Dscreen_manager.c34 return (void *)-ENOMEM; in __create_buffer()
54 return (void *)-ENOMEM; in __create_buffer()
149 if ((uint64_t)(ui->buf) == (uint64_t)-ENOMEM) in scm_register_alloc()
152 return -ENOMEM; in scm_register_alloc()
185 if ((uint64_t)(ui->buf) == (uint64_t)-ENOMEM) in scm_register()
186 return -ENOMEM; in scm_register()
256 if ((uint64_t)(buf) == (uint64_t)-ENOMEM) in scm_enable_double_buffer()
257 return -ENOMEM; in scm_enable_double_buffer()
/DragonOS-0.1.8/user/libs/libc/src/
Dunistd.c101 errno = -ENOMEM; in brk()
116 if (retval == (void *)-ENOMEM) in sbrk()
Dmalloc.c149 return -ENOMEM; in malloc_enlarge()
298 if (malloc_enlarge(size) == -ENOMEM) in malloc()
299 return (void *)-ENOMEM; // 内存不足 in malloc()
312 return (void *)-ENOMEM; in malloc()
/DragonOS-0.1.8/kernel/src/libs/
Dbitree.c56 return (void*)-ENOMEM; in bt_create_node()
73 FAIL_ON_TO((uint64_t)insert_node == (uint64_t)(-ENOMEM), failed); in bt_insert()
98 return -ENOMEM; in bt_insert()
Didr.c103 return -ENOMEM; in idr_preload()
131 return -ENOMEM; in __idr_grow()
164 return -ENOMEM; in __idr_get_empty_slot()
191 return -ENOMEM; in __idr_get_empty_slot()
695 return -ENOMEM; in idr_replace_get_old()
843 return -ENOMEM; in ida_preload()
854 return -ENOMEM; in ida_preload()
933 return -ENOMEM; in ida_alloc()
944 return -ENOMEM; in ida_alloc()
Dkfifo.c25 return -ENOMEM; in kfifo_alloc()
Dalign.rs53 return Err(SystemError::ENOMEM); in new_zeroed()
Delf.rs586 SystemError::ENOMEM => ExecError::OutOfMemory, in load()
/DragonOS-0.1.8/kernel/src/process/
Dfork.rs35 return SystemError::ENOMEM.to_posix_errno(); in process_copy_sighand()
91 return SystemError::ENOMEM.to_posix_errno(); in process_copy_signal()
Dfork.c47 retval = -ENOMEM; in do_fork()
103 retval = -ENOMEM; in do_fork()
Dkthread.c57 return ERR_PTR(-ENOMEM); in __kthread_create_on_node()
Dexec.rs80 ExecError::OutOfMemory => SystemError::ENOMEM, in into()
/DragonOS-0.1.8/kernel/src/common/
Derrno.h24 #define ENOMEM 12 /* 没有足够的空间 Not enough space. */ macro
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Derrno.h30 #define ENOMEM 12 /* 没有足够的空间 Not enough space. */ macro
/DragonOS-0.1.8/kernel/src/mm/
Dc_adapter.rs111 return SystemError::ENOMEM.to_posix_errno() as i64 as usize; in do_kmalloc()
Ducontext.rs325 .ok_or(SystemError::ENOMEM)?, in mmap()
666 return self.find_free(min_vaddr, size).ok_or(SystemError::ENOMEM); in find_free_at()
689 let requested = self.find_free(min_vaddr, size).ok_or(SystemError::ENOMEM)?; in find_free_at()
Dmmio_buddy.rs516 return Err(SystemError::ENOMEM); in create_mmio()
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Derrno.md114 #define ENOMEM 49 /* 没有足够的空间 Not enough space.*/
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs207 .ok_or(SystemError::ENOMEM)? in setup_new_usermapper()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs58 ENOMEM = 12, enumerator