Home
last modified time | relevance | path

Searched refs:optlen (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs732 let optlen = args[4] as usize; in handle() localVariable
735 if verify_area(virt_optval, optlen as usize).is_err() { in handle()
739 let data: &[u8] = unsafe { core::slice::from_raw_parts(optval, optlen) }; in handle()
745 let optlen = args[4] as *mut usize; in handle() localVariable
747 let virt_optlen = VirtAddr::new(optlen as usize); in handle()
766 Self::getsockopt(args[0], args[1], args[2], optval, optlen as *mut u32) in handle()
/DragonOS-0.1.8/kernel/src/net/
Dsyscall.rs102 optlen: *mut u32, in getsockopt()
119 *optlen = core::mem::size_of::<u32>() as u32; in getsockopt()
128 *optlen = core::mem::size_of::<u32>() as u32; in getsockopt()