Searched refs:copy_to_user (Results 1 – 3 of 3) sorted by relevance
33 pub unsafe fn copy_to_user(dest: VirtAddr, src: &[u8]) -> Result<usize, SystemError> { in copy_to_user() function
246 static inline uint64_t copy_to_user(void *dst, void *src, uint64_t size) in copy_to_user() function
27 user_access::{clear_user, copy_to_user},314 copy_to_user(vaddr, &buf[..read_size]).map_err(|_| SystemError::EFAULT)?; in do_load_file()