Home
last modified time | relevance | path

Searched refs:read_one_from_user (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/src/bpf/
H A Dmod.rs16 let attr = buf.read_one_from_user::<bpf_attr>(0)?; in sys_bpf()
/DragonOS/kernel/src/libs/futex/
H A Dfutex.rs421 let curval = uval_reader.read_one_from_user::<u32>(0)?; in futex_requeue()
615 let oldval = reader.read_one_from_user::<u32>(0)?; in arch_futex_atomic_op_inuser()
690 let robust_list_head = *user_buffer_reader.read_one_from_user::<RobustListHead>(0)?; in set_robust_list()
782 *user_buffer_reader.read_one_from_user::<u32>(0)? in handle_futex_death()
802 let nval = *user_buffer_reader.read_one_from_user::<u32>(0)?; in handle_futex_death()
877 .read_one_from_user::<RobustList>(0) in next()
/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs177 if *user_reader.read_one_from_user::<i32>(0)? != 0 { in pty_set_lock()
198 if *user_reader.read_one_from_user::<i32>(0)? != 0 { in pty_set_packet_mode()
/DragonOS/kernel/src/driver/tty/
H A Dtty_job_control.rs91 let pgrp = user_reader.read_one_from_user::<i32>(0)?; in job_ctrl_ioctl()
H A Dtty_device.rs389 let user_winsize = reader.read_one_from_user::<WindowSize>(0)?; in ioctl()
/DragonOS/kernel/src/syscall/
H A Duser_access.rs197 pub fn read_one_from_user<T>(&self, offset: usize) -> Result<&T, SystemError> { in read_one_from_user() method
H A Dmod.rs731 timespec = Some(*reader.read_one_from_user::<PosixTimeSpec>(0)?); in handle()
829 let mut sigmask = *sigmask_reader.read_one_from_user::<SigSet>(0)?; in handle()
/DragonOS/kernel/src/perf/
H A Dmod.rs257 let attr = buf.read_one_from_user(0)?; in sys_perf_event_open()