Home
last modified time | relevance | path

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

/DragonOS/kernel/src/syscall/
H A Dmod.rs432 let optlen = args[4]; in handle() localVariable
435 if verify_area(virt_optval, optlen).is_err() { in handle()
439 let data: &[u8] = unsafe { core::slice::from_raw_parts(optval, optlen) }; in handle()
445 let optlen = args[4] as *mut usize; in handle() localVariable
447 let virt_optlen = VirtAddr::new(optlen as usize); in handle()
466 Self::getsockopt(args[0], args[1], args[2], optval, optlen as *mut u32) in handle()
/DragonOS/kernel/src/net/
H A Dsyscall.rs133 optlen: *mut u32, in getsockopt()
150 *optlen = core::mem::size_of::<u32>() as u32; in getsockopt()
158 *optlen = core::mem::size_of::<u32>() as u32; in getsockopt()