Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs196 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/
Dsleep.rs76 Err(err) => return Err(err), in usleep()
99 Err(err) => { in rs_usleep()
100 return err.to_posix_errno(); in rs_usleep()
Dtimer.rs121 r.err().unwrap() in run()
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dbus.rs45 Err(err) => Err(err), in sys_bus_init()
47 Err(err) => Err(err), in sys_bus_init()
Dmod.rs348 Err(err) => { in add_dir()
349 return Err(err); in add_dir()
/DragonOS-0.1.8/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.8/kernel/src/process/
Dc_adapter.rs22 .unwrap_or_else(|err| err.to_posix_errno() as usize); in rs_process_copy_mm()
/DragonOS-0.1.8/kernel/src/driver/tty/
Dmod.rs160 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/
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.8/kernel/src/filesystem/vfs/
Dsyscall.rs355 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()
Dcore.rs183 fatfs.as_ref().err() in mount_root_fs()
/DragonOS-0.1.8/kernel/src/
Dlib.rs112 kwarn!("net_init() failed: {:?}", r.err().unwrap()); in __rust_demo_func()
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal.rs603 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, &regs).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/
Dvirtio_net.rs156 Err(err) => panic!("VirtIO receive failed: {}", err), in receive()
/DragonOS-0.1.8/kernel/src/libs/
Delf.rs192 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/
Dmod.rs365 if let Err(err) = self.unlink(old_name) { in move_()
368 return Err(err); in move_()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs257 Err(err) => { in add_dir()
258 return Err(err); in add_dir()
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs28 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/
Dsocket.rs740 let err = recv_res.unwrap_err(); in read() localVariable
741 match err { in read()