Lines Matching refs:verify_area
35 mm::{verify_area, MemoryManagementArch, VirtAddr},
236 let res = if frame.is_from_user() && verify_area(virt_addr, len).is_err() { in handle()
260 && (verify_area(virt_path_ptr, MAX_PATHLEN).is_err() in handle()
261 || verify_area(virt_argv_ptr, PAGE_4K_SIZE).is_err()) in handle()
262 || verify_area(virt_env_ptr, PAGE_4K_SIZE).is_err() in handle()
310 && (verify_area(virt_req, core::mem::size_of::<PosixTimeSpec>()).is_err() in handle()
311 || verify_area(virt_rem, core::mem::size_of::<PosixTimeSpec>()).is_err()) in handle()
435 if verify_area(virt_optval, optlen).is_err() { in handle()
450 if verify_area(virt_optval, PAGE_4K_SIZE).is_err() { in handle()
456 if verify_area(virt_optlen, core::mem::size_of::<u32>()).is_err() { in handle()
475 if verify_area(virt_addr, addrlen).is_err() { in handle()
487 if verify_area(virt_addr, addrlen).is_err() { in handle()
504 if verify_area(virt_buf, len).is_err() || verify_area(virt_addr, addrlen).is_err() { in handle()
524 if verify_area(virt_buf, len).is_err() { in handle()
530 if verify_area(virt_addrlen, core::mem::size_of::<u32>()).is_err() { in handle()
535 if verify_area(virt_addr, core::mem::size_of::<SockAddr>()).is_err() { in handle()
588 if verify_area(virt_addr, len).is_err() { in handle()
635 verify_area(VirtAddr::new(buf as usize), size)?; in handle()
656 match verify_area(vaddr, core::mem::size_of::<PosixKstat>()) { in handle()
703 verify_area(parent_tid, core::mem::size_of::<i32>())?; in handle()
704 verify_area(child_tid, core::mem::size_of::<i32>())?; in handle()