Home
last modified time | relevance | path

Searched refs:err (Results 1 – 16 of 16) sorted by relevance

/DragonOS-0.1.7/kernel/src/mm/
Dmmio_buddy.rs159 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/
Dsleep.rs78 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/
Dbus.rs45 Err(err) => Err(err), in sys_bus_init()
47 Err(err) => Err(err), in sys_bus_init()
Dmod.rs346 Err(err) => { in add_dir()
347 return Err(err); in add_dir()
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dsyscall.rs287 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()
Dcore.rs185 fatfs.as_ref().err() in mount_root_fs()
/DragonOS-0.1.7/kernel/src/driver/tty/
Dmod.rs158 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/
Dvirtio.rs41 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/
Dmod.rs102 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/
Dlib.rs105 kwarn!("net_init() failed: {:?}", r.err().unwrap()); in __rust_demo_func()
/DragonOS-0.1.7/kernel/src/ipc/
Dsignal.rs648 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, &regs).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/
Dvirtio_net.rs156 Err(err) => panic!("VirtIO receive failed: {}", err), in receive()
/DragonOS-0.1.7/kernel/src/filesystem/ramfs/
Dmod.rs365 if let Err(err) = self.unlink(old_name) { in move_()
368 return Err(err); in move_()
/DragonOS-0.1.7/kernel/src/filesystem/devfs/
Dmod.rs257 Err(err) => { in add_dir()
258 return Err(err); in add_dir()
/DragonOS-0.1.7/kernel/src/net/
Dsocket.rs597 let err = recv_res.unwrap_err(); in read() localVariable
598 match err { in read()
/DragonOS-0.1.7/kernel/src/driver/pci/
Dpci.rs27 Err(err) => {
28 kerror!("Pci_root init failed because of error: {}", err);