Home
last modified time | relevance | path

Searched refs:init_from_closure (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/rust/kernel/
H A Dinit.rs141 use pin_init::{init_from_closure, pin_init_from_closure, Init, PinInit};
186 init_from_closure(|slot| init.__pinned_init(slot).map_err(|e| Error::from(e))) in init()
/linux-6.15/rust/pin-init/src/
H A Dlib.rs895 @construct_closure(init_from_closure),
1213 pub const unsafe fn init_from_closure<T: ?Sized, E>( in init_from_closure() function
1225 unsafe { init_from_closure(|_| Ok(())) } in uninit()
1263 unsafe { init_from_closure(init) }
1411 init_from_closure(|slot: *mut T| { in zeroed()
H A Dalloc.rs15 init_from_closure, pin_init_from_closure, InPlaceWrite, Init, PinInit, ZeroableOption,
58 init_from_closure(|slot| match init.__init(slot) { in init()