Home
last modified time | relevance | path

Searched refs:from_user (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/kernel/src/sched/
Dsyscall.rs13 pub fn sched(from_user: bool) -> Result<usize, SystemError> { in sched()
17 if from_user { in sched()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs408 pub fn handle(syscall_num: usize, args: &[usize], from_user: bool) -> usize { in handle()
438 let res = if from_user && verify_area(virt_addr, len as usize).is_err() { in handle()
457 let res = if from_user && verify_area(virt_addr, len as usize).is_err() { in handle()
519 || (from_user && verify_area(virt_addr, PAGE_2M_SIZE as usize).is_err()) in handle()
548 let res = if from_user && verify_area(virt_addr, len as usize).is_err() { in handle()
571 if from_user in handle()
594 if from_user in handle()
614 || (from_user && verify_area(virt_path_ptr, PAGE_2M_SIZE as usize).is_err()) in handle()
640 if from_user in handle()
655 if from_user in handle()
[all …]
/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dsyscall.rs52 let from_user = user_mode(regs); in syscall_handler() localVariable
76 if from_user in syscall_handler()
116 syscall_return!(Syscall::handle(syscall_num, &args, from_user) as u64, regs); in syscall_handler()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs660 pub unsafe fn from_user( in from_user() method
/DragonOS-0.1.8/kernel/src/net/
Dsyscall.rs269 let mut iovs = unsafe { IoVecs::from_user(msg.msg_iov, msg.msg_iovlen, true)? }; in recvmsg()