Searched refs:init_zeroed (Results 1 – 5 of 5) sorted by relevance
| /linux/rust/pin-init/examples/ |
| H A D | big_struct_in_place.rs | 24 init!(ManagedBuf { buf <- init_zeroed() }) in new() 33 buf <- init_zeroed(), in main()
|
| /linux/rust/pin-init/src/ |
| H A D | macros.rs | 1062 @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 D | lib.rs | 1503 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 D | configfs.rs | 154 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 D | README.md | 128 buffer: Box::init(pin_init::init_zeroed())?,
|