/DragonOS-0.1.8/kernel/src/libs/libUI/ |
D | screen_manager.c | 67 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 …]
|
D | textui-render.c | 79 return -EINVAL; in textui_refresh_characters()
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | syscall.rs | 136 return Err(SystemError::EINVAL); in mmap() 175 return Err(SystemError::EINVAL); in munmap() 178 return Err(SystemError::EINVAL); in munmap() 188 .map_err(|_| SystemError::EINVAL)?; in munmap() 208 return Err(SystemError::EINVAL); in mprotect() 211 return Err(SystemError::EINVAL); in mprotect() 214 let prot_flags = ProtFlags::from_bits(prot_flags as u64).ok_or(SystemError::EINVAL)?; in mprotect() 223 .map_err(|_| SystemError::EINVAL)?; in mprotect()
|
D | mmio_buddy.rs | 38 EINVAL, enumerator 118 return Err(SystemError::EINVAL); in give_back_block() 407 return Err(MmioResult::EINVAL); in merge_all_exp() 457 return Err(MmioResult::EINVAL); in merge_blocks() 537 return Err(SystemError::EINVAL); in release_mmio()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | bpb.rs | 194 return Err(SystemError::EINVAL); in validate() 199 return Err(SystemError::EINVAL); in validate() 204 return Err(SystemError::EINVAL); in validate() 209 return Err(SystemError::EINVAL); in validate() 214 return Err(SystemError::EINVAL); in validate() 305 return Err(SystemError::EINVAL); in new() 319 return Err(SystemError::EINVAL); in validate() 322 return Err(SystemError::EINVAL); in validate() 325 return Err(SystemError::EINVAL); in validate() 330 return Err(SystemError::EINVAL); in validate() [all …]
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 123 return Err(SystemError::EINVAL); in read_at() 130 return Err(SystemError::EINVAL); in read_at() 142 return Err(SystemError::EINVAL); in write_at() 149 return Err(SystemError::EINVAL); in write_at()
|
/DragonOS-0.1.8/kernel/src/net/ |
D | syscall.rs | 49 return Err(SystemError::EINVAL); in socket() 372 return Err(SystemError::EINVAL); in getsockname() 378 let endpoint: Endpoint = socket.endpoint().ok_or(SystemError::EINVAL)?; in getsockname() 401 return Err(SystemError::EINVAL); in getpeername() 408 let endpoint: Endpoint = socket.peer_endpoint().ok_or(SystemError::EINVAL)?; in getpeername() 490 return Err(SystemError::EINVAL); in to_endpoint() 506 return Err(SystemError::EINVAL); in to_endpoint() 510 return Err(SystemError::EINVAL); in to_endpoint() 513 return Err(SystemError::EINVAL); in to_endpoint() 516 return Err(SystemError::EINVAL); in to_endpoint() [all …]
|
D | socket.rs | 382 return Err(SystemError::EINVAL); in write() 471 Err(_) => return Err(SystemError::EINVAL), in do_bind() 474 return Err(SystemError::EINVAL); in do_bind() 584 return Err(SystemError::EINVAL); in connect() 703 Err(_) => Err(SystemError::EINVAL), in do_listen() 856 return Err(SystemError::EINVAL); in connect() 868 let local_endpoint = self.local_endpoint.ok_or(SystemError::EINVAL)?; in listen() 893 return Err(SystemError::EINVAL); in bind() 904 let endpoint = self.local_endpoint.ok_or(SystemError::EINVAL)?; in accept() 1097 return <Self as FromPrimitive>::from_u16(x).ok_or_else(|| SystemError::EINVAL); in try_from() [all …]
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | mod.rs | 78 EINVAL = 22, enumerator 417 Err(SystemError::EINVAL) in handle() 483 _ => Err(SystemError::EINVAL), in handle() 521 return Err(SystemError::EINVAL); in handle() 524 let dest_path: &str = dest_path.to_str().map_err(|_| SystemError::EINVAL)?; in handle() 526 return Err(SystemError::EINVAL); in handle() 616 return Err(SystemError::EINVAL); in handle() 619 let path: &str = path.to_str().map_err(|_| SystemError::EINVAL)?.trim(); in handle() 622 return Err(SystemError::EINVAL); in handle() 681 let pathname: &str = pathname.to_str().map_err(|_| SystemError::EINVAL)?; in handle() [all …]
|
D | syscall.c | 102 return -EINVAL; in c_sys_wait4()
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | bitree.c | 23 return (void*)-EINVAL; in bt_create_tree() 68 return -EINVAL; in bt_insert() 116 return -EINVAL; in bt_query()
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | zero_dev.rs | 117 return Err(SystemError::EINVAL); in read_at() 136 return Err(SystemError::EINVAL); in write_at()
|
D | null_dev.rs | 128 return Err(SystemError::EINVAL); in write_at()
|
/DragonOS-0.1.8/docs/community/code_contribution/ |
D | rust-coding-style.md | 49 return Err(SystemError::EINVAL);
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.c | 300 *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()
|
D | pci_irq.c | 39 return EINVAL; in c_irq_install()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | syscall.rs | 49 return Err(SystemError::EINVAL); in kill() 155 return Err(SystemError::EINVAL); in sigaction()
|
D | pipe.rs | 83 return Err(SystemError::EINVAL); in read_at() 162 return Err(SystemError::EINVAL); in write_at()
|
/DragonOS-0.1.8/kernel/src/time/ |
D | sleep.rs | 26 return Err(SystemError::EINVAL); in nanosleep()
|
/DragonOS-0.1.8/kernel/src/common/ |
D | errno.h | 34 #define EINVAL 22 /* 不可用的参数 Invalid argument. */ macro
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | errno.h | 40 #define EINVAL 22 /* 不可用的参数 Invalid argument. */ macro
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | tty_device.rs | 80 return Err(SystemError::EINVAL); in check_rw_param() 134 return Err(SystemError::EINVAL); in open()
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 125 return Err(SystemError::EINVAL); in read_at() 157 return Err(SystemError::EINVAL); in write_at() 226 return Err(SystemError::EINVAL); in resize()
|
/DragonOS-0.1.8/kernel/src/exception/ |
D | irq.c | 200 return -EINVAL; in irq_register()
|
/DragonOS-0.1.8/kernel/src/ktest/ |
D | test-bitree.c | 45 assert((int64_t)rn != (-EINVAL)); in ktest_bitree_case1()
|