Searched refs:clear_user (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/src/libs/ |
H A D | elf.rs | 34 syscall::user_access::{clear_user, copy_to_user}, 361 unsafe { clear_user(elf_bss, nbyte).map_err(|_| SystemError::EFAULT) }?; in pad_zero() 649 clear_user(elf_bss + load_bias, nbyte).ok(); in load()
|
/DragonOS/kernel/src/syscall/ |
H A D | user_access.rs | 29 pub unsafe fn clear_user(dest: VirtAddr, len: usize) -> Result<usize, SystemError> { in clear_user() function
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 64 syscall::{user_access::clear_user, Syscall}, 405 unsafe { clear_user(addr, core::mem::size_of::<i32>()).expect("clear tid failed") }; in exit() 413 unsafe { clear_user(addr, core::mem::size_of::<i32>()).expect("clear tid failed") }; in exit()
|