Home
last modified time | relevance | path

Searched refs:user_writer (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs187 let mut user_writer = in pty_get_lock() localVariable
189 user_writer.copy_one_to_user(&tty.flags().contains(TtyFlag::PTY_LOCK), 0)?; in pty_get_lock()
211 let mut user_writer = in pty_get_packet_mode() localVariable
213 user_writer.copy_one_to_user(&tty.contorl_info_irqsave().packet, 0)?; in pty_get_packet_mode()
H A Dunix98pty.rs96 let mut user_writer = in ioctl() localVariable
99 return user_writer.copy_one_to_user(&(core.index() as u32), 0); in ioctl()
/DragonOS/kernel/src/driver/tty/
H A Dtty_job_control.rs118 let mut user_writer = UserBufferWriter::new( in job_ctrl_ioctl() localVariable
124 user_writer.copy_one_to_user( in job_ctrl_ioctl()
H A Dtty_device.rs370 let mut user_writer = UserBufferWriter::new( in ioctl() localVariable
376 let err = user_writer.copy_one_to_user(&winsize, 0); in ioctl()
H A Dtty_core.rs182 let mut user_writer = UserBufferWriter::new( in tty_mode_ioctl() localVariable
188 user_writer.copy_one_to_user(&termios, 0)?; in tty_mode_ioctl()
/DragonOS/kernel/src/libs/futex/
H A Dfutex.rs724 let mut user_writer = UserBufferWriter::new( in get_robust_list() localVariable
729 user_writer.copy_one_to_user(&mem::size_of::<RobustListHead>(), 0)?; in get_robust_list()
731 let mut user_writer = UserBufferWriter::new( in get_robust_list() localVariable
736 user_writer.copy_one_to_user(&robust_list_head, 0)?; in get_robust_list()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs1842 let mut user_writer = UserBufferWriter::new( in ioctl() localVariable
1849 user_writer.copy_one_to_user::<i32>(&(count as i32), 0)?; in ioctl()
1882 let mut user_writer = UserBufferWriter::new( in ioctl() localVariable
1888 user_writer.copy_one_to_user::<i32>(&(retval as i32), 0)?; in ioctl()