Home
last modified time | relevance | path

Searched refs:copy_one_to_user (Results 1 – 17 of 17) sorted by relevance

/DragonOS/kernel/src/time/
H A Dsyscall.rs128 tv_buf.copy_one_to_user(&posix_time, 0)?; in gettimeofday()
131 tz_buf.copy_one_to_user(&SYS_TIMEZONE, 0)?; in gettimeofday()
153 tp_buf.copy_one_to_user(&timespec, 0)?; in clock_gettime()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dsyscall.rs80 writer.copy_one_to_user(&arch_info.fsbase, 0)?; in do_arch_prctl_64()
89 writer.copy_one_to_user(&arch_info.gsbase, 0)?; in do_arch_prctl_64()
/DragonOS/kernel/src/syscall/
H A Dmisc.rs56 writer.copy_one_to_user(&sysinfo, 0)?; in sysinfo()
H A Duser_access.rs314 pub fn copy_one_to_user<T: core::marker::Copy>( in copy_one_to_user() method
/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs189 user_writer.copy_one_to_user(&tty.flags().contains(TtyFlag::PTY_LOCK), 0)?; in pty_get_lock()
213 user_writer.copy_one_to_user(&tty.contorl_info_irqsave().packet, 0)?; in pty_get_packet_mode()
H A Dunix98pty.rs99 return user_writer.copy_one_to_user(&(core.index() as u32), 0); in ioctl()
/DragonOS/kernel/src/driver/tty/
H A Dtty_job_control.rs124 user_writer.copy_one_to_user( in job_ctrl_ioctl()
H A Dtty_device.rs376 let err = user_writer.copy_one_to_user(&winsize, 0); in ioctl()
H A Dtty_core.rs188 user_writer.copy_one_to_user(&termios, 0)?; in tty_mode_ioctl()
/DragonOS/kernel/src/ipc/
H A Dshm.rs221 user_buffer_writer.copy_one_to_user(&shm_meta_info, 0)?; in ipc_info()
242 user_buffer_writer.copy_one_to_user(&shm_info, 0)?; in shm_info()
284 user_buffer_writer.copy_one_to_user(&shm_id_ds, 0)?; in shm_stat()
H A Dsignal_types.rs334 user_buffer.copy_one_to_user(self, 0)?; in copy_siginfo_to_user()
/DragonOS/kernel/src/process/
H A Dsyscall.rs232 rusage_buf.copy_one_to_user(&tmp_rusage.unwrap(), 0)?; in wait4()
319 writer.copy_one_to_user(&(pcb.pid().data() as i32), 0)?; in clone()
555 writer.copy_one_to_user(&PosixOldUtsName::new(), 0)?; in uname()
H A Dexit.rs102 wstatus_buf.copy_one_to_user(&wstatus, 0)?; in kernel_wait4()
H A Dfork.rs425 writer.copy_one_to_user(&(pcb.pid().0 as i32), 0)?; in copy_process()
/DragonOS/kernel/src/libs/futex/
H A Dfutex.rs729 user_writer.copy_one_to_user(&mem::size_of::<RobustListHead>(), 0)?; in get_robust_list()
736 user_writer.copy_one_to_user(&robust_list_head, 0)?; in get_robust_list()
810 user_buffer_writer.copy_one_to_user(&mval, 0)?; in handle_futex_death()
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs1337 writer.copy_one_to_user(&kstat, 0)?; in fstat()
1381 writer.copy_one_to_user(&statfs, 0)?; in statfs()
1394 writer.copy_one_to_user(&statfs, 0)?; in fstatfs()
1501 writer.copy_one_to_user(&tmp, 0)?; in do_statx()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs1849 user_writer.copy_one_to_user::<i32>(&(count as i32), 0)?; in ioctl()
1888 user_writer.copy_one_to_user::<i32>(&(retval as i32), 0)?; in ioctl()