Home
last modified time | relevance | path

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

/DragonOS-0.1.2/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.2/kernel/src/process/
Dfork.rs8 process_control_block, CLONE_CLEAR_SIGHAND, CLONE_SIGHAND, CLONE_THREAD, ENOMEM,
34 return -(ENOMEM as i32); in process_copy_sighand()
90 return -(ENOMEM as i32); in process_copy_signal()
Dfork.c44 retval = -ENOMEM; in do_fork()
100 retval = -ENOMEM; in do_fork()
Dkthread.c57 return ERR_PTR(-ENOMEM); in __kthread_create_on_node()
Dprocess.c147 return (void *)-ENOMEM; in process_open_exec_file()
/DragonOS-0.1.2/user/libs/libc/src/
Dmalloc.c149 return -ENOMEM; in malloc_enlarge()
297 if (malloc_enlarge(size) == -ENOMEM) in malloc()
298 return (void *)-ENOMEM; // 内存不足 in malloc()
311 return (void *)-ENOMEM; in malloc()
Derrno.h65 #define ENOMEM 49 /* 没有足够的空间 Not enough space. */ macro
Dunistd.c104 if (retval == (void *)-ENOMEM) in sbrk()
/DragonOS-0.1.2/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()
/DragonOS-0.1.2/kernel/src/common/
Derrno.h65 #define ENOMEM 49 /* 没有足够的空间 Not enough space. */ macro
/DragonOS-0.1.2/kernel/src/syscall/
Dsyscall.c290 return -ENOMEM; in sys_brk()
320 return -ENOMEM; in sys_sbrk()
394 return -ENOMEM; in sys_chdir()
471 return -ENOMEM; in sys_execve()
/DragonOS-0.1.2/kernel/src/mm/
Dmmio.c41 return -ENOMEM; in mmio_create()
Dmmap.c329 return -ENOMEM; in mm_create_vma()
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/
Derrno.md114 #define ENOMEM 49 /* 没有足够的空间 Not enough space.*/
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c568 return -ENOMEM; in xhci_create_event_ring()
575 return -ENOMEM; in xhci_create_event_ring()
1812 return -ENOMEM; in xhci_configure_port()
1913 if (unlikely((int64_t)(retval) == -ENOMEM)) in xhci_hc_init_intr()
1914 return -ENOMEM; in xhci_hc_init_intr()
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.c392 return -ENOMEM; in do_open()