Home
last modified time | relevance | path

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

/DragonOS-0.1.5/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.5/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.c45 retval = -ENOMEM; in do_fork()
101 retval = -ENOMEM; in do_fork()
Dkthread.c57 return ERR_PTR(-ENOMEM); in __kthread_create_on_node()
/DragonOS-0.1.5/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()
Dunistd.c104 if (retval == (void *)-ENOMEM) in sbrk()
/DragonOS-0.1.5/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.5/kernel/src/common/
Derrno.h65 #define ENOMEM 49 /* 没有足够的空间 Not enough space. */ macro
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Derrno.h70 #define ENOMEM 49 /* 没有足够的空间 Not enough space. */ macro
/DragonOS-0.1.5/kernel/src/syscall/
Dsyscall.c205 return -ENOMEM; in sys_brk()
235 return -ENOMEM; in sys_sbrk()
315 return -ENOMEM; in sys_execve()
/DragonOS-0.1.5/kernel/src/mm/
Dmmio_buddy.rs6 vma_find, EINVAL, ENOMEM, EPERM, MMIO_BASE, MMIO_TOP, PAGE_1G_SHIFT, PAGE_1G_SIZE,
542 return Err(-(ENOMEM as i32)); in create_mmio()
Dmmap.c329 return -ENOMEM; in mm_create_vma()
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/
Derrno.md114 #define ENOMEM 49 /* 没有足够的空间 Not enough space.*/
/DragonOS-0.1.5/kernel/src/driver/usb/xhci/
Dxhci.c568 return -ENOMEM; in xhci_create_event_ring()
575 return -ENOMEM; in xhci_create_event_ring()
1814 return -ENOMEM; in xhci_configure_port()
1915 if (unlikely((int64_t)(retval) == -ENOMEM)) in xhci_hc_init_intr()
1916 return -ENOMEM; in xhci_hc_init_intr()