Home
last modified time | relevance | path

Searched refs:init_zeroed (Results 1 – 5 of 5) sorted by relevance

/linux/rust/pin-init/examples/
H A Dbig_struct_in_place.rs24 init!(ManagedBuf { buf <- init_zeroed() }) in new()
33 buf <- init_zeroed(), in main()
/linux/rust/pin-init/src/
H A Dmacros.rs1062 @init_zeroed(), // Nothing means default behavior.
1077 @munch_fields(..Zeroable::init_zeroed()),
1087 @init_zeroed(()), // `()` means zero all fields not mentioned.
1127 @init_zeroed($($init_zeroed:expr)?),
1160 $init_zeroed // This will be `()` if set.
1199 @munch_fields($(..Zeroable::init_zeroed())? $(,)?),
1303 @munch_fields(..Zeroable::init_zeroed() $(,)?),
H A Dlib.rs1503 fn init_zeroed() -> impl Init<Self> in init_zeroed() method
1507 init_zeroed() in init_zeroed()
1563 pub fn init_zeroed<T: Zeroable>() -> impl Init<T> { in init_zeroed() function
/linux/rust/kernel/
H A Dconfigfs.rs154 subsystem <- pin_init::init_zeroed().chain( in new()
264 group <- pin_init::init_zeroed().chain(|v: &mut Opaque<bindings::config_group>| { in new()
/linux/rust/pin-init/
H A DREADME.md128 buffer: Box::init(pin_init::init_zeroed())?,