/DragonOS-0.1.7/kernel/src/mm/ |
D | mmio_buddy.rs | 159 Err(err) => { in query_addr_region() 161 return Err(err); in query_addr_region() 179 Err(err) => { in query_addr_region() 181 return Err(err); in query_addr_region() 192 Err(err) => return Err(err), in query_addr_region() 219 Err(err) => { in query_addr_region() 221 return Err(err); in query_addr_region() 231 Err(err) => { in query_addr_region() 233 return Err(err); in query_addr_region() 243 Err(err) => return Err(err), in query_addr_region() [all …]
|
/DragonOS-0.1.7/kernel/src/time/ |
D | sleep.rs | 78 Err(err) => return Err(err), in us_sleep() 112 Err(err) => { in rs_nanosleep() 113 return err.to_posix_errno(); in rs_nanosleep() 135 Err(err) => { in rs_usleep() 136 return err.to_posix_errno(); in rs_usleep()
|
/DragonOS-0.1.7/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 | 346 Err(err) => { in add_dir() 347 return Err(err); in add_dir()
|
/DragonOS-0.1.7/kernel/src/filesystem/vfs/ |
D | syscall.rs | 287 Err(err) => { in sys_mkdir() 288 kerror!("Failed in do_mkdir, Error Code = {:#?}", err); in sys_mkdir() 289 err.to_posix_errno() as u64 in sys_mkdir() 329 Err(err) => { in sys_unlink_at() 330 kerror!("Failed to Remove Directory, Error Code = {:?}", err); in sys_unlink_at() 331 return err.to_posix_errno() as u64; in sys_unlink_at() 341 Err(err) => { in sys_unlink_at() 342 kerror!("Failed to Remove Directory, Error Code = {:?}", err); in sys_unlink_at() 343 return err.to_posix_errno() as u64; in sys_unlink_at()
|
D | core.rs | 185 fatfs.as_ref().err() in mount_root_fs()
|
/DragonOS-0.1.7/kernel/src/driver/tty/ |
D | mod.rs | 158 if let Err(err) = val { in read_stdin() 159 match err { in read_stdin() 223 if let Err(err) = val { in read_output() 224 match err { in read_output()
|
/DragonOS-0.1.7/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.7/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.7/kernel/src/ |
D | lib.rs | 105 kwarn!("net_init() failed: {:?}", r.err().unwrap()); in __rust_demo_func()
|
/DragonOS-0.1.7/kernel/src/ipc/ |
D | signal.rs | 648 let mut err = 0; in setup_frame() localVariable 679 err |= copy_siginfo_to_user(unsafe { &mut (*frame).info }, info).unwrap_or(1); in setup_frame() 683 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, ®s).unwrap_or(1); in setup_frame() 696 err = 1; in setup_frame() 698 if err != 0 { in setup_frame() 728 return if err == 0 { in setup_frame()
|
/DragonOS-0.1.7/kernel/src/driver/net/ |
D | virtio_net.rs | 156 Err(err) => panic!("VirtIO receive failed: {}", err), in receive()
|
/DragonOS-0.1.7/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.7/kernel/src/filesystem/devfs/ |
D | mod.rs | 257 Err(err) => { in add_dir() 258 return Err(err); in add_dir()
|
/DragonOS-0.1.7/kernel/src/net/ |
D | socket.rs | 597 let err = recv_res.unwrap_err(); in read() localVariable 598 match err { in read()
|
/DragonOS-0.1.7/kernel/src/driver/pci/ |
D | pci.rs | 27 Err(err) => { 28 kerror!("Pci_root init failed because of error: {}", err);
|