Home
last modified time | relevance | path

Searched refs:EFAULT (Results 1 – 18 of 18) sorted by relevance

/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs62 EFAULT = 14, enumerator
513 return Err(SystemError::EFAULT); in handle()
552 Err(SystemError::EFAULT) in handle()
576 Err(SystemError::EFAULT) in handle()
598 Err(SystemError::EFAULT) in handle()
645 Err(SystemError::EFAULT) in handle()
659 Err(SystemError::EFAULT) in handle()
661 Err(SystemError::EFAULT) in handle()
674 Err(SystemError::EFAULT) in handle()
676 Err(SystemError::EFAULT) in handle()
[all …]
Duser_access.rs25 verify_area(dest, len).map_err(|_| SystemError::EFAULT)?; in clear_user()
34 verify_area(dest, src.len()).map_err(|_| SystemError::EFAULT)?; in copy_to_user()
44 verify_area(src, dst.len()).map_err(|_| SystemError::EFAULT)?; in copy_from_user()
94 return Ok(String::from_utf8(buffer).map_err(|_| SystemError::EFAULT)?); in check_and_clone_cstr()
/DragonOS-0.1.8/kernel/src/time/
Dsyscall.rs54 return Err(SystemError::EFAULT); in nanosleep()
86 return Err(SystemError::EFAULT); in gettimeofday()
/DragonOS-0.1.8/kernel/src/ipc/
Dsyscall.rs104 return Err(SystemError::EFAULT); in sigaction()
180 return Err(SystemError::EFAULT); in sigaction()
/DragonOS-0.1.8/kernel/src/common/
Derrno.h26 #define EFAULT 14 /* 错误的地址 Bad address */ macro
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Derrno.h32 #define EFAULT 14 /* 错误的地址 Bad address */ macro
/DragonOS-0.1.8/user/libs/libc/src/
Dunistd.c135 errno = -EFAULT; in chdir()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs310 unsafe { (buf.as_mut_ptr() as *mut Dirent).as_mut() }.ok_or(SystemError::EFAULT)?; in getdents()
624 return Err(SystemError::EFAULT); in fstat()
670 return Err(SystemError::EFAULT); in from_user()
685 return Err(SystemError::EFAULT); in from_user()
/DragonOS-0.1.8/kernel/src/libs/
Delf.rs314 copy_to_user(vaddr, &buf[..read_size]).map_err(|_| SystemError::EFAULT)?; in do_load_file()
328 unsafe { clear_user(elf_bss, nbyte).map_err(|_| SystemError::EFAULT) }?; in pad_zero()
585 SystemError::EFAULT => ExecError::BadAddress(None), in load()
Dlockref.rs245 return Err(SystemError::EFAULT); in dec_return()
/DragonOS-0.1.8/kernel/src/net/
Dsyscall.rs485 return Err(SystemError::EFAULT); in to_endpoint()
488 let addr = unsafe { addr.as_ref() }.ok_or(SystemError::EFAULT)?; in to_endpoint()
556 return Err(SystemError::EFAULT); in write_to_user()
/DragonOS-0.1.8/kernel/src/process/
Dexec.rs82 ExecError::BadAddress(_addr) => SystemError::EFAULT, in into()
Dprocess.rs201 return Err(SystemError::EFAULT); in alloc_fd()
/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dsyscall.rs81 syscall_return!(SystemError::EFAULT.to_posix_errno() as u64, regs); in syscall_handler()
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Derrno.md55 #define EFAULT 21 /* 错误的地址 Bad address*/
/DragonOS-0.1.8/kernel/src/mm/
Dmod.rs621 return Err(SystemError::EFAULT); in verify_area()
Ducontext.rs504 return Err(SystemError::EFAULT); in set_brk()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs623 return Err(SystemError::EFAULT); in deallocate_cluster()