Searched refs:EFAULT (Results 1 – 18 of 18) sorted by relevance
62 EFAULT = 14, enumerator513 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 …]
25 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()
54 return Err(SystemError::EFAULT); in nanosleep()86 return Err(SystemError::EFAULT); in gettimeofday()
104 return Err(SystemError::EFAULT); in sigaction()180 return Err(SystemError::EFAULT); in sigaction()
26 #define EFAULT 14 /* 错误的地址 Bad address */ macro
32 #define EFAULT 14 /* 错误的地址 Bad address */ macro
135 errno = -EFAULT; in chdir()
310 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()
314 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()
245 return Err(SystemError::EFAULT); in dec_return()
485 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()
82 ExecError::BadAddress(_addr) => SystemError::EFAULT, in into()
201 return Err(SystemError::EFAULT); in alloc_fd()
81 syscall_return!(SystemError::EFAULT.to_posix_errno() as u64, regs); in syscall_handler()
55 #define EFAULT 21 /* 错误的地址 Bad address*/
621 return Err(SystemError::EFAULT); in verify_area()
504 return Err(SystemError::EFAULT); in set_brk()
623 return Err(SystemError::EFAULT); in deallocate_cluster()