Searched refs:copy_to_user (Results 1 – 5 of 5) sorted by relevance
89 writer.copy_to_user(&ret, 0)?; in get_random()
38 pub unsafe fn copy_to_user(dest: VirtAddr, src: &[u8]) -> Result<usize, SystemError> { in copy_to_user() function298 pub fn copy_to_user<T: core::marker::Copy>( in copy_to_user() method
303 static inline uint64_t copy_to_user(void *dst, void *src, uint64_t size) in copy_to_user() function
34 syscall::user_access::{clear_user, copy_to_user},347 copy_to_user(vaddr, &buf[..read_size]).map_err(|_| SystemError::EFAULT)?; in do_load_file()
300 value_buf.copy_to_user(r_value, 0)?; in bpf_lookup_elem()