Home
last modified time | relevance | path

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

/DragonOS/kernel/src/syscall/
H A Dmod.rs447 let optlen = args[4]; in handle() localVariable
450 if verify_area(virt_optval, optlen).is_err() { in handle()
454 let data: &[u8] = unsafe { core::slice::from_raw_parts(optval, optlen) }; in handle()
460 let optlen = args[4] as *mut usize; in handle() localVariable
462 let virt_optlen = VirtAddr::new(optlen as usize); in handle()
481 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()