Searched refs:Zeroable (Results 1 – 14 of 14) sorted by relevance
/openbmc/qemu/rust/hw/char/pl011/src/ |
H A D | device_class.rs | 16 zeroable::Zeroable, 35 ..Zeroable::ZERO 69 ..Zeroable::ZERO 84 ..Zeroable::ZERO
|
/openbmc/linux/rust/macros/ |
H A D | zeroable.rs | 29 new_impl_generics.extend(quote! { : ::kernel::init::Zeroable }); in derive() 43 new_impl_generics.extend(quote! { ::kernel::init::Zeroable + }); in derive() 61 new_impl_generics.extend(quote! { : ::kernel::init::Zeroable }); in derive()
|
H A D | lib.rs | 350 #[proc_macro_derive(Zeroable)]
|
/openbmc/linux/rust/kernel/ |
H A D | init.rs | 1264 pub unsafe trait Zeroable {} trait 1270 pub fn zeroed<T: Zeroable>() -> impl Init<T> { in zeroed() 1283 $(unsafe impl$($($generics)*)? Zeroable for $t {})* 1311 {<T: ?Sized + Zeroable>} UnsafeCell<T>, 1336 {<const N: usize, T: Zeroable>} [T; N], {<T: Zeroable>} Wrapping<T>, 1343 unsafe impl<$first: Zeroable, $($t: Zeroable),*> Zeroable for ($first, $($t),*) {} impl
|
H A D | prelude.rs | 21 pub use macros::{module, pin_data, pinned_drop, vtable, Zeroable};
|
/openbmc/qemu/rust/qemu-api/src/ |
H A D | vmstate.rs | 32 bindings::VMStateFlags, callbacks::FnCall, prelude::*, qom::Owned, zeroable::Zeroable, 376 ..Zeroable::ZERO 433 ..$crate::zeroable::Zeroable::ZERO 461 ..$crate::zeroable::Zeroable::ZERO 495 ..$crate::zeroable::Zeroable::ZERO 510 ..$crate::zeroable::Zeroable::ZERO 559 ..$crate::zeroable::Zeroable::ZERO
|
H A D | zeroable.rs | 28 pub unsafe trait Zeroable: Default { trait 86 unsafe impl $crate::zeroable::Zeroable for $type {
|
H A D | memory.rs | 20 zeroable::Zeroable, 204 ..Zeroable::ZERO
|
H A D | qdev.rs | 198 ..$crate::zeroable::Zeroable::ZERO 209 ..$crate::zeroable::Zeroable::ZERO 219 ..$crate::zeroable::Zeroable::ZERO
|
/openbmc/qemu/rust/hw/timer/hpet/src/ |
H A D | fw_cfg.rs | 7 use qemu_api::{cell::bql_locked, impl_zeroable, zeroable::Zeroable}; 35 ..Zeroable::ZERO
|
/openbmc/qemu/rust/qemu-api/tests/ |
H A D | vmstate_tests.rs | 17 zeroable::Zeroable, 50 ..Zeroable::ZERO 174 ..Zeroable::ZERO 322 ..Zeroable::ZERO 434 ..Zeroable::ZERO
|
H A D | tests.rs | 17 zeroable::Zeroable, 26 ..Zeroable::ZERO
|
/openbmc/linux/rust/kernel/init/ |
H A D | macros.rs | 1050 @munch_fields(..Zeroable::zeroed()), 1126 fn assert_zeroable<T: $crate::init::Zeroable>(_: *mut T) {} 1169 @munch_fields($(..Zeroable::zeroed())? $(,)?), 1273 @munch_fields(..Zeroable::zeroed() $(,)?), 1370 unsafe impl<$($impl_generics)*> $crate::init::Zeroable for $name<$($ty_generics)*> 1375 fn assert_zeroable<T: ?::core::marker::Sized + $crate::init::Zeroable>() {}
|
/openbmc/qemu/docs/devel/ |
H A D | rust.rst | 92 ``Zeroable`` trait can be implemented without ``MaybeUninit::zeroed()``,
|