Searched refs:ENOMEM (Results 1 – 16 of 16) sorted by relevance
/DragonOS-0.1.5/kernel/src/libs/libUI/ |
D | screen_manager.c | 34 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/ |
D | fork.rs | 8 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()
|
D | fork.c | 45 retval = -ENOMEM; in do_fork() 101 retval = -ENOMEM; in do_fork()
|
D | kthread.c | 57 return ERR_PTR(-ENOMEM); in __kthread_create_on_node()
|
/DragonOS-0.1.5/user/libs/libc/src/ |
D | malloc.c | 149 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()
|
D | unistd.c | 104 if (retval == (void *)-ENOMEM) in sbrk()
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | bitree.c | 56 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()
|
D | idr.c | 103 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()
|
D | kfifo.c | 25 return -ENOMEM; in kfifo_alloc()
|
/DragonOS-0.1.5/kernel/src/common/ |
D | errno.h | 65 #define ENOMEM 49 /* 没有足够的空间 Not enough space. */ macro
|
/DragonOS-0.1.5/user/libs/libc/src/include/export/ |
D | errno.h | 70 #define ENOMEM 49 /* 没有足够的空间 Not enough space. */ macro
|
/DragonOS-0.1.5/kernel/src/syscall/ |
D | syscall.c | 205 return -ENOMEM; in sys_brk() 235 return -ENOMEM; in sys_sbrk() 315 return -ENOMEM; in sys_execve()
|
/DragonOS-0.1.5/kernel/src/mm/ |
D | mmio_buddy.rs | 6 vma_find, EINVAL, ENOMEM, EPERM, MMIO_BASE, MMIO_TOP, PAGE_1G_SHIFT, PAGE_1G_SIZE, 542 return Err(-(ENOMEM as i32)); in create_mmio()
|
D | mmap.c | 329 return -ENOMEM; in mm_create_vma()
|
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/ |
D | errno.md | 114 #define ENOMEM 49 /* 没有足够的空间 Not enough space.*/
|
/DragonOS-0.1.5/kernel/src/driver/usb/xhci/ |
D | xhci.c | 568 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()
|