Searched refs:BqlCell (Results 1 – 8 of 8) sorted by relevance
/qemu/rust/qemu-api/src/ |
H A D | cell.rs | 254 pub struct BqlCell<T> { struct 260 unsafe impl<T: Send> Send for BqlCell<T> {} argument 261 unsafe impl<T: Send> Sync for BqlCell<T> {} implementation 263 impl<T: Copy> Clone for BqlCell<T> { implementation 265 fn clone(&self) -> BqlCell<T> { in clone() 266 BqlCell::new(self.get()) in clone() 270 impl<T: Default> Default for BqlCell<T> { implementation 273 fn default() -> BqlCell<T> { in default() 274 BqlCell::new(Default::default()) in default() 278 impl<T: PartialEq + Copy> PartialEq for BqlCell<T> { implementation [all …]
|
H A D | irq.rs | 52 cell: BqlCell<*mut bindings::IRQState>, 104 cell: BqlCell::new(ptr::null_mut()), in default()
|
H A D | prelude.rs | 9 pub use crate::cell::BqlCell;
|
H A D | vmstate.rs | 344 impl_vmstate_transparent!(crate::cell::BqlCell<T> where T: VMState);
|
/qemu/rust/qemu-api/tests/ |
H A D | tests.rs | 9 cell::{self, BqlCell}, 113 static ONCE: BqlCell<bool> = BqlCell::new(false); in init_qom()
|
H A D | vmstate_tests.rs | 17 cell::{BqlCell, Opaque}, 162 wrap: BqlCell<u64>, 167 num_a_wrap: BqlCell<u32>,
|
/qemu/rust/hw/timer/hpet/src/ |
H A D | device.rs | 17 cell::{BqlCell, BqlRefCell}, 532 capability: BqlCell<u64>, 534 config: BqlCell<u64>, 537 int_status: BqlCell<u64>, 540 counter: BqlCell<u64>, 548 hpet_offset: BqlCell<u64>, 552 rtc_irq_level: BqlCell<u32>, 566 num_timers_save: BqlCell<u8>, 569 hpet_id: BqlCell<usize>,
|
/qemu/docs/devel/ |
H A D | rust.rst | 280 ``BqlCell`` type to ensure that data is accessed correctly under the 339 QEMU lock. Use ``BqlCell`` and ``BqlRefCell`` for interior data,
|