Home
last modified time | relevance | path

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

12

/linux/rust/pin-init/src/
H A Dlib.rs263 //! [`impl Init<T, E>`]: crate::Init
489 /// [`PinInit`]/[`Init`] with the error type [`Infallible`]. If you want to use a different error
567 /// [`PinInit`]/[`Init`]. This macro assigns a result to the given variable, adding a `?` after the
625 /// # Init-functions
798 /// use pin_init::{init, Init, init_zeroed};
805 /// fn new() -> impl Init<Self> {
991 /// The [`Init::__init`] function:
1016 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> {
1035 /// 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.rs269 pub fn init<E>(self, init: impl Init<T, E>) -> Result<DropGuard<Unpinned, T>, E> { in let_binding()
H A Dmacros.rs
/linux/rust/kernel/
H A Dinit.rs132 use pin_init::{init_from_closure, pin_init_from_closure, Init, PinInit};
167 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
173 fn init<E>(init: impl Init<T, E>, flags: Flags) -> error::Result<Self> in init()
209 /// fn new() -> impl Init<Self, Error> {
H A Dprelude.rs58 Init,
H A Ddma.rs437 pub fn init_at<E>(&mut self, i: usize, init: impl Init<T, E>) -> Result in init_at()
784 init: impl Init<T, E>, in init_with_attrs()
808 init: impl Init<T, E>, in init()
/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/pin-init/internal/src/
H A Dinit.rs42 Init { enumerator
57 Self::Value { ident, .. } | Self::Init { ident, .. } => Some(ident),
234 InitializerKind::Init { ident, .. } => ident,
286 InitializerKind::Init { value, .. } => {
343 // unaligned fields since `Init::__init` requires an aligned pointer; the call to
461 Ok(Self::Init {
/linux/drivers/gpu/nova-core/gsp/
H A Dfw.rs212 ) -> impl Init<Self> + 'a { in new()
651 ) -> impl Init<Self> + 'a { in new()
748 fn init(cmd_size: usize, function: MsgFunction) -> impl Init<Self, Error> { in init()
787 ) -> impl Init<Self, Error> { in init()
864 pub(crate) fn new(cmdq: &Cmdq) -> impl Init<Self> + '_ { in new()
892 pub(crate) fn new(cmdq: &Cmdq) -> impl Init<Self> + '_ { in new()
913 fn new(cmdq: &Cmdq) -> impl Init<Self> + '_ { in new()
/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.rs23 pub fn new() -> impl Init<Self> { in new()
/linux/rust/kernel/alloc/
H A Dkbox.rs462 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> {
497 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in into_foreign()
/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()

12