Searched refs:to_ne_bytes (Results 1 – 20 of 20) sorted by relevance
72 let val_arr = val.to_ne_bytes(); in read()89 let mut val_arr = u16::to_ne_bytes(0u16); in write()
99 left.copy_from_slice(&fd.to_ne_bytes()[..]); in plat_irq_ioctl()
144 *data_array = reg_content.to_ne_bytes(); in read()
466 let val_arr = val.to_ne_bytes(); in read()480 let mut val_arr = u32::to_ne_bytes(0u32); in write()
411 left.copy_from_slice(&descriptor.as_raw_descriptor().to_ne_bytes()[..]); in irq_enable()
34 let buf: [u8; 8] = 1u64.to_ne_bytes(); in wake()49 let mut buf: [u8; 8] = 0u64.to_ne_bytes(); in reset()
151 let ip = Ipv4Addr::from(addr.sin_addr.s_addr.to_ne_bytes()); in to_socket_addr()
40 return Ok(el.to_ne_bytes());
966 &(entry.get(0, 32) as u32).to_ne_bytes(), in finalize_devices()971 &(entry.get(32, 32) as u32).to_ne_bytes(), in finalize_devices()1032 &(entry.get(0, 32) as u32).to_ne_bytes(), in broadcast_eoi()1037 &(entry.get(32, 32) as u32).to_ne_bytes(), in broadcast_eoi()
100 $base::to_ne_bytes(encoded.0)
557 let buf = VALUE.to_ne_bytes(); in drop_before_completion()582 let mut buf = 0u64.to_ne_bytes(); in drop_before_completion()
999 let bm = Arc::new(VecIoWrapper::from(VALUE.to_ne_bytes().to_vec())); in drop_before_completion()1020 let mut buf = 0u64.to_ne_bytes(); in drop_before_completion()1040 let bm = Arc::new(VecIoWrapper::from(0xf2e96u64.to_ne_bytes().to_vec())); in drop_on_different_thread()
100 let buf = Arc::new(VecIoWrapper::from(0u64.to_ne_bytes().to_vec())); in read_u64()317 let mut val = 0u64.to_ne_bytes(); in read_u64()
158 let mut buf = 0u64.to_ne_bytes(); in read_u64()
111 let out_arr = out.to_ne_bytes(); in read()525 ioapic.write(ioapic_bus_address(IOWIN_OFF), &value.to_ne_bytes()); in write_reg()
121 pub fn to_ne_bytes(self) -> [u8; 2] { in to_ne_bytes() method122 self.0.to_ne_bytes()
420 pub fn to_ne_bytes(self) -> [u8; 2] { in to_ne_bytes() method421 self.0.to_ne_bytes()
821 hcall.result.to_ne_bytes().copy_from_slice(data); in set_data()
1070 hcall.result.to_ne_bytes().copy_from_slice(data); in set_data()
958 Ok(IoctlReply::Done(Ok(flags.to_ne_bytes().to_vec()))) in get_flags()