/DragonOS-0.1.8/kernel/src/mm/ |
D | mmio_buddy.rs | 196 Err(err) => { in query_addr_region() 198 return Err(err); in query_addr_region() 216 Err(err) => { in query_addr_region() 218 return Err(err); in query_addr_region() 229 Err(err) => return Err(err), in query_addr_region() 256 Err(err) => { in query_addr_region() 258 return Err(err); in query_addr_region() 268 Err(err) => { in query_addr_region() 270 return Err(err); in query_addr_region() 280 Err(err) => return Err(err), in query_addr_region() [all …]
|
/DragonOS-0.1.8/kernel/src/time/ |
D | sleep.rs | 76 Err(err) => return Err(err), in usleep() 99 Err(err) => { in rs_usleep() 100 return err.to_posix_errno(); in rs_usleep()
|
D | timer.rs | 121 r.err().unwrap() in run()
|
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | bus.rs | 45 Err(err) => Err(err), in sys_bus_init() 47 Err(err) => Err(err), in sys_bus_init()
|
D | mod.rs | 348 Err(err) => { in add_dir() 349 return Err(err); in add_dir()
|
/DragonOS-0.1.8/kernel/src/driver/virtio/ |
D | virtio.rs | 41 Err(err) => { in virtio_probe() 42 kerror!("Pci transport create failed because of error: {}", err); in virtio_probe()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | c_adapter.rs | 22 .unwrap_or_else(|err| err.to_posix_errno() as usize); in rs_process_copy_mm()
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | mod.rs | 160 if let Err(err) = val { in read_stdin() 161 match err { in read_stdin() 235 if let Err(err) = val { in read_output() 236 match err { in read_output()
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | mod.rs | 102 HbaPortType::Unknown(err) => { in ahci_rust_init() 103 kdebug!("<ahci_rust_init> Find a Unknown({:?}) type Disk.", err); in ahci_rust_init() 143 if let Err(err) = ret { in ahci_rust_init() 149 err in ahci_rust_init()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | syscall.rs | 355 Err(err) => { in unlinkat() 356 kerror!("Failed to Remove Directory, Error Code = {:?}", err); in unlinkat() 357 return Err(err); in unlinkat() 366 Err(err) => { in unlinkat() 367 kerror!("Failed to Remove Directory, Error Code = {:?}", err); in unlinkat() 368 return Err(err); in unlinkat()
|
D | core.rs | 183 fatfs.as_ref().err() in mount_root_fs()
|
/DragonOS-0.1.8/kernel/src/ |
D | lib.rs | 112 kwarn!("net_init() failed: {:?}", r.err().unwrap()); in __rust_demo_func()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | signal.rs | 603 let mut err = 0; in setup_frame() localVariable 634 err |= copy_siginfo_to_user(unsafe { &mut (*frame).info }, info).unwrap_or(1); in setup_frame() 638 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, ®s).unwrap_or(1); in setup_frame() 651 err = 1; in setup_frame() 653 if err != 0 { in setup_frame() 683 return if err == 0 { in setup_frame()
|
/DragonOS-0.1.8/kernel/src/driver/net/ |
D | virtio_net.rs | 156 Err(err) => panic!("VirtIO receive failed: {}", err), in receive()
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | elf.rs | 192 let map_err_handler = |err: SystemError| { in load_elf_segment() 193 if err == SystemError::EEXIST { in load_elf_segment() 200 err in load_elf_segment()
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 365 if let Err(err) = self.unlink(old_name) { in move_() 368 return Err(err); in move_()
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | mod.rs | 257 Err(err) => { in add_dir() 258 return Err(err); in add_dir()
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.rs | 28 Err(err) => { 29 kerror!("Pci_root init failed because of error: {}", err); 265 Self::PciIrqError(err) => write!(f, "Error occurred while setting irq :{:?}.", err), in fmt()
|
/DragonOS-0.1.8/kernel/src/net/ |
D | socket.rs | 740 let err = recv_res.unwrap_err(); in read() localVariable 741 match err { in read()
|