Searched refs:copy_one_to_user (Results 1 – 17 of 17) sorted by relevance
/DragonOS/kernel/src/time/ |
H A D | syscall.rs | 128 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(×pec, 0)?; in clock_gettime()
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | syscall.rs | 80 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 D | misc.rs | 56 writer.copy_one_to_user(&sysinfo, 0)?; in sysinfo()
|
H A D | user_access.rs | 314 pub fn copy_one_to_user<T: core::marker::Copy>( in copy_one_to_user() method
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | mod.rs | 189 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 D | unix98pty.rs | 99 return user_writer.copy_one_to_user(&(core.index() as u32), 0); in ioctl()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_job_control.rs | 124 user_writer.copy_one_to_user( in job_ctrl_ioctl()
|
H A D | tty_device.rs | 376 let err = user_writer.copy_one_to_user(&winsize, 0); in ioctl()
|
H A D | tty_core.rs | 188 user_writer.copy_one_to_user(&termios, 0)?; in tty_mode_ioctl()
|
/DragonOS/kernel/src/ipc/ |
H A D | shm.rs | 221 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 D | signal_types.rs | 334 user_buffer.copy_one_to_user(self, 0)?; in copy_siginfo_to_user()
|
/DragonOS/kernel/src/process/ |
H A D | syscall.rs | 232 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 D | exit.rs | 102 wstatus_buf.copy_one_to_user(&wstatus, 0)?; in kernel_wait4()
|
H A D | fork.rs | 425 writer.copy_one_to_user(&(pcb.pid().0 as i32), 0)?; in copy_process()
|
/DragonOS/kernel/src/libs/futex/ |
H A D | futex.rs | 729 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 D | syscall.rs | 1337 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 D | ntty.rs | 1849 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()
|