Lines Matching refs:u8
45 let socket_type = PosixSocketType::try_from((socket_type & 0xf) as u8)?; in do_socket()
53 Protocol::from(protocol as u8), in do_socket()
83 return do_setsockopt(fd, level, optname, optval as *const u8, optlen) in sys_setsockopt() constant
99 optval: *const u8, in do_setsockopt() argument
111 let data: &[u8] = unsafe { core::slice::from_raw_parts(optval, optlen) }; in do_setsockopt()
124 return do_getsockopt(fd, level, optname, optval as *mut u8, optlen as *mut u32) in sys_getsockopt()
142 optval: *mut u8, in do_getsockopt() argument
146 if unsafe { verify_area(optval as u64, core::mem::size_of::<u8>() as u64) } == false { in do_getsockopt()
164 if level as u8 == SOL_SOCKET { in do_getsockopt()
278 buf as *const u8, in sys_sendto() constant
300 buf: *const u8, in do_sendto() argument
333 buf as *mut u8, in sys_recvfrom()
355 buf: *mut u8, in do_recvfrom() argument
622 pub sin_zero: [u8; 8],
629 pub sun_path: [u8; 108],
639 pub sll_pkttype: u8,
640 pub sll_halen: u8,
641 pub sll_addr: [u8; 8],
657 pub data: [u8; 14],
757 let buf = core::slice::from_raw_parts_mut(addr as *mut u8, to_write); in write_to_user()
759 self as *const SockAddr as *const u8, in write_to_user() constant
832 pub msg_control: *mut u8,