Home
last modified time | relevance | path

Searched refs:Init (Results 1 – 25 of 40) sorted by relevance

12

/linux/rust/pin-init/src/
H A Dlib.rs263 //! [`impl Init<T, E>`]: crate::Init
495 /// [`PinInit`]/[`Init`] with the error type [`Infallible`]. If you want to use a different error
573 /// [`PinInit`]/[`Init`]. This macro assigns a result to the given variable, adding a `?` after the
631 /// # Init-functions
804 /// use pin_init::{init, Init, init_zeroed};
811 /// fn new() -> impl Init<Self> {
997 /// The [`Init::__init`] function:
1022 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> {
1041 /// use pin_init::{init, init_zeroed, Init};
1023 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> { global() interface
[all...]
H A Dalloc.rs15 init_from_closure, pin_init_from_closure, InPlaceWrite, Init, PinInit, ZeroableOption,
50 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init()
55 fn init(init: impl Init<T>) -> Result<Self, AllocError> { in init()
90 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init()
118 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init()
139 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in write_init()
H A D__internal.rs27 unsafe impl<T: ?Sized, F, E> Init<T, E> for InitClosure<F, T, E>
H A Dmacros.rs
/linux/tools/perf/scripts/python/
H A Dparallel-perf.py293 def Init(self, opt_element=-1, value_element=-1, opt_pos=-1, value_pos=-1, error=None): member in OptPos
311 self.Init(pos, pos + 1, 0, 0)
313 self.Init(error = f"-{short_name} option missing value")
315 self.Init(pos, pos, 0, 2)
320 self.Init(pos, pos + 1, 0, 0)
322 self.Init(error = f"--{long_name} option missing value")
324 self.Init(pos, pos, 0, n + 1)
326 self.Init(error = f"--{long_name} option expected '='")
336 self.Init(pos, pos + 1, ipos, 0)
338 self.Init(error = f"-{short_name} option missing value")
[all …]
/linux/rust/kernel/
H A Dinit.rs132 use pin_init::{init_from_closure, pin_init_from_closure, Init, PinInit};
166 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
171 fn init<E>(init: impl Init<T, E>, flags: Flags) -> error::Result<Self> in init()
207 /// fn new() -> impl Init<Self, Error> {
H A Dprelude.rs56 Init,
/linux/rust/pin-init/internal/src/
H A Dinit.rs42 Init { enumerator
57 Self::Value { ident, .. } | Self::Init { ident, .. } => Some(ident),
254 // unaligned fields since `Init::__init` requires an aligned pointer; the call to
280 InitializerKind::Init { ident, value, .. } => {
285 // unaligned fields since `Init::__init` requires an aligned pointer; the call to
294 // - We also use `#data` to require the correct trait (`Init` or `PinInit`)
309 ::pin_init::Init::__init(
512 Ok(Self::Init {
/linux/arch/arm/boot/compressed/
H A Dhead-sharpsl.S45 mov r6, #0x31 @ Load Magic Init value
51 mov r6, #0x30 @ Load 2nd Magic Init value
/linux/rust/pin-init/examples/
H A Dbig_struct_in_place.rs26 pub fn new() -> impl Init<Self> {
/linux/rust/kernel/alloc/
H A Dkbox.rs23 use pin_init::{InPlaceWrite, Init, PinInit, ZeroableOption};
414 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in into_inner()
448 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in write_pin_init()
/linux/arch/m68k/kernel/
H A Dvmlinux-sun3.lds37 . = ALIGN(PAGE_SIZE); /* Init code and data */
H A Dvmlinux-std.lds42 . = ALIGN(PAGE_SIZE); /* Init code and data */
/linux/drivers/clk/xilinx/
H A DKconfig4 tristate "Xilinx VCU logicoreIP Init"
/linux/Documentation/driver-api/tty/
H A Dtty_port.rst21 Init & Destroy
/linux/arch/m68k/fpsp040/
H A Dbinstr.S21 | A1. Init d7 to 1. D7 is the byte digit counter, and if 1, the
76 | A1: Init d7
H A Dsrem_mod.S180 bras Init
194 bras Init
200 Init: label
/linux/Documentation/admin-guide/auxdisplay/
H A Dcfag12864b.rst70 Init (16)------------------------------(12) Controller Select 2
/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-openblocks_a6.dts120 label = "Init Button";
H A Darmada-xp-openblocks-ax3-4.dts104 label = "Init Button";
/linux/Documentation/driver-api/cxl/linux/
H A Doverview.rst43 f) Init Finishes, Drivers start probing
/linux/rust/pin-init/
H A DREADME.md240 [`impl Init<T, E>`]: https://docs.rs/pin-init/latest/pin_init/trait.Init.html
/linux/rust/kernel/list/
H A Darc.rs195 pub fn init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in init()
/linux/drivers/gpu/nova-core/gsp/
H A Dfw.rs819 fn init(cmd_size: usize, function: MsgFunction) -> impl Init<Self, Error> { in init()
858 ) -> impl Init<Self, Error> { in init()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_6_ppt.h56 bool Init; member

12