Lines Matching refs:frame
85 frame: &mut TrapFrame,
87 let res = unwinding::panic::catch_unwind(|| Self::handle(syscall_num, args, frame));
100 frame: &mut TrapFrame,
162 let from_user = frame.is_from_user();
173 let from_user = frame.is_from_user();
196 UserBufferWriter::new(buf_vaddr as *mut u8, len, frame.is_from_user())?;
208 UserBufferReader::new(buf_vaddr as *const u8, len, frame.is_from_user())?;
222 SYS_FORK => Self::fork(frame),
224 SYS_VFORK => Self::vfork(frame),
251 let res = if frame.is_from_user() && verify_area(virt_addr, len).is_err() {
274 if frame.is_from_user()
285 frame,
324 if frame.is_from_user()
415 Self::sigaction(sig, act, old_act, frame.is_from_user())
572 frame.is_from_user(),
727 Self::clone(frame, clone_args)
865 frame.is_from_user(),
918 let from_user = frame.is_from_user();
1078 UserBufferWriter::new(set_vaddr as *mut u8, size, frame.is_from_user())?;
1164 let from_user = frame.is_from_user();