Home
last modified time | relevance | path

Searched refs:EINVAL (Results 1 – 25 of 36) sorted by relevance

12

/DragonOS-0.1.5/kernel/src/libs/libUI/
Dscreen_manager.c67 return -EINVAL; in __destroy_buffer()
69 return -EINVAL; in __destroy_buffer()
71 return -EINVAL; in __destroy_buffer()
74 return -EINVAL; in __destroy_buffer()
107 return -EINVAL; in __check_ui_param()
109 return -EINVAL; in __check_ui_param()
111 return -EINVAL; in __check_ui_param()
114 return -EINVAL; in __check_ui_param()
134 return -EINVAL; in scm_register_alloc()
174 return -EINVAL; in scm_register()
[all …]
Dtextui-render.c79 return -EINVAL; in textui_refresh_characters()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dbpb.rs5 include::bindings::bindings::EINVAL,
277 return Err(-(EINVAL as i32)); in validate()
280 return Err(-(EINVAL as i32)); in validate()
283 return Err(-(EINVAL as i32)); in validate()
290 return Err(-(EINVAL as i32)); in validate()
295 return Err(-(EINVAL as i32)); in validate()
300 return Err(-(EINVAL as i32)); in validate()
305 return Err(-(EINVAL as i32)); in validate()
310 return Err(-(EINVAL as i32)); in validate()
315 return Err(-(EINVAL as i32)); in validate()
[all …]
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dsyscall.rs8 pt_regs, verify_area, AT_REMOVEDIR, EBADF, EFAULT, EINVAL, ENAMETOOLONG, ENOENT, ENOTDIR,
32 return (-(EINVAL as i32)) as u64; in sys_open()
135 _ => return (-(EINVAL as i32)) as u64, in sys_lseek()
178 return -(EINVAL as i32) as u64; in sys_chdir()
185 return (-(EINVAL as i32)) as u64; in sys_chdir()
191 return (-(EINVAL as i32)) as u64; in sys_chdir()
240 return (-(EINVAL as i32)) as u64; in sys_getdents()
269 return -(EINVAL as i32) as u64; in sys_mkdir()
276 return (-(EINVAL as i32)) as u64; in sys_mkdir()
281 return (-(EINVAL as i32)) as u64; in sys_mkdir()
[all …]
Dfile.rs9 process_control_block, EINVAL, ENOBUFS, EOVERFLOW, EPERM, ESPIPE,
186 return Err(-(EINVAL as i32)); in lseek()
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahci_inode.rs8 include::bindings::bindings::{EINVAL, ENOTSUP},
127 return Err(-(EINVAL as i32)); in read_at()
134 return Err(-(EINVAL as i32)); in read_at()
146 return Err(-(EINVAL as i32)); in write_at()
153 return Err(-(EINVAL as i32)); in write_at()
/DragonOS-0.1.5/kernel/src/mm/
Dmm-stat.c58 return -EINVAL; in __count_empty_2m_pages()
102 return -EINVAL; in __count_in_using_2m_pages()
188 return -EINVAL; in sys_mstat()
Dmmio_buddy.rs6 vma_find, EINVAL, ENOMEM, EPERM, MMIO_BASE, MMIO_TOP, PAGE_1G_SHIFT, PAGE_1G_SIZE,
27 EINVAL, enumerator
80 return Err(-(EINVAL as i32)); in give_back_block()
372 return Err(MmioResult::EINVAL); in merge_all_exp()
424 return Err(MmioResult::EINVAL); in merge_blocks()
575 return Err(-(EINVAL as i32)); in release_mmio()
584 return Err(-(EINVAL as i32)); in release_mmio()
Dmmap.c325 return -EINVAL; in mm_create_vma()
484 return -EINVAL; in mm_map()
520 return -EINVAL; in mm_unmap_vma()
559 return -EINVAL; in mm_unmap()
565 return -EINVAL; in mm_unmap()
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dnull_dev.rs6 include::bindings::bindings::{EINVAL, ENOTSUP},
122 return Err(-(EINVAL as i32)); in read_at()
141 return Err(-(EINVAL as i32)); in write_at()
Dzero_dev.rs6 include::bindings::bindings::{EINVAL, ENOTSUP},
122 return Err(-(EINVAL as i32)); in read_at()
141 return Err(-(EINVAL as i32)); in write_at()
/DragonOS-0.1.5/kernel/src/driver/usb/
Dusb.c58 return -EINVAL; in usb_init()
/DragonOS-0.1.5/kernel/src/time/
Dsleep.c31 return -EINVAL; in nanosleep()
/DragonOS-0.1.5/kernel/src/libs/
Dbitree.c23 return (void*)-EINVAL; in bt_create_tree()
68 return -EINVAL; in bt_insert()
116 return -EINVAL; in bt_query()
Dvec_cursor.rs8 include::bindings::bindings::{E2BIG, EINVAL, EOVERFLOW},
148 return Err(-(EINVAL as i32)); in seek()
/DragonOS-0.1.5/kernel/src/common/
Derrno.h42 #define EINVAL 28 /* 不可用的参数 Invalid argument. */ macro
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Derrno.h47 #define EINVAL 28 /* 不可用的参数 Invalid argument. */ macro
/DragonOS-0.1.5/docs/community/code_contribution/
Drust-coding-style.md49 return Err(-(EINVAL as i32));
/DragonOS-0.1.5/kernel/src/sched/
Dcore.rs11 process_control_block, pt_regs, EINVAL, EPERM, MAX_CPU_NUM, PF_NEED_MIGRATE, PROC_RUNNING,
208 return -(EINVAL as i32); in sched_migrate_process()
/DragonOS-0.1.5/kernel/src/driver/pci/
Dpci.c300 *type = -EINVAL; in pci_read_header()
313 if (header_type == -EINVAL) in pci_checkFunction()
333 if (header_type == -EINVAL) in pci_checkDevice()
336 return -EINVAL; in pci_checkDevice()
393 if (header_type == EINVAL) in pci_checkAllBuses()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs13 EEXIST, EINVAL, EISDIR, ENOBUFS, ENOENT, ENOTDIR, ENOTEMPTY, EPERM,
127 return Err(-(EINVAL as i32)); in read_at()
159 return Err(-(EINVAL as i32)); in write_at()
230 return Err(-(EINVAL as i32)); in resize()
/DragonOS-0.1.5/kernel/src/driver/usb/xhci/
Dxhci.c628 return -EINVAL; in xhci_hc_irq_install()
1215 return -EINVAL; in xhci_wait_for_interrupt()
1387 return -EINVAL; in xhci_get_desc()
1409 return -EINVAL; in xhci_set_configuration()
1428 return -EINVAL; in xhci_get_config_desc()
1454 return -EINVAL; in xhci_get_config_desc_full()
1470 return -EINVAL; in xhci_get_interface_desc()
1473 return -EINVAL; in xhci_get_interface_desc()
1495 return -EINVAL; in xhci_get_interface_desc()
1510 return -EINVAL; in xhci_get_endpoint_desc()
[all …]
/DragonOS-0.1.5/kernel/src/ktest/
Dtest-bitree.c45 assert((int64_t)rn != (-EINVAL)); in ktest_bitree_case1()
/DragonOS-0.1.5/kernel/src/exception/
Dirq.c164 return -EINVAL; in irq_register()
/DragonOS-0.1.5/kernel/src/ipc/
Dsignal.rs10 spinlock_t, verify_area, EFAULT, EINVAL, ENOTSUP, EPERM, ESRCH, NULL, PF_EXITING,
71 return (-(EINVAL as i64)) as u64; in sys_kill()
169 return Err(-(EINVAL as i32)); in signal_send_sig_info()
866 return (-(EINVAL as i64)) as u64; in sys_sigaction()
927 return -(EINVAL as i32); in do_sigaction()

12