Lines Matching refs:from_user
408 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()
673 if from_user && verify_area(virt_pathname, PAGE_4K_SIZE as usize).is_err() { in handle()
707 Self::sigaction(sig, act, old_act, from_user) in handle()
718 SYS_SCHED => Self::sched(from_user), in handle()