Home
last modified time | relevance | path

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

12

/linux-6.15/rust/pin-init/src/
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 Dlib.rs1102 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> { interface
1154 unsafe impl<T: ?Sized, E, I, F> Init<T, E> for ChainInit<I, F, T, E>
1156 I: Init<T, E>,
1172 I: Init<T, E>,
1215 ) -> impl Init<T, E> { in init_from_closure()
1223 pub fn uninit<T, E>() -> impl Init<MaybeUninit<T>, E> { in uninit()
1240 ) -> impl Init<[T; N], E> in init_array_from_fn()
1242 I: Init<T, E>,
1310 unsafe impl<T, E> Init<T, E> for T {
1334 fn write_init<E>(self, init: impl Init<T, E>) -> Result<Self::Initialized, E>; in write_init()
[all …]
H A D__internal.rs27 unsafe impl<T: ?Sized, F, E> Init<T, E> for InitClosure<F, T, E>
H A Dmacros.rs1017 init: impl $crate::Init<$type, E>,
1020 unsafe { $crate::Init::__init(init, slot) }
1249 unsafe { $crate::Init::__init(init, ::core::ptr::addr_of_mut!((*$slot).$field))? };
/linux-6.15/rust/kernel/
H A Dinit.rs141 use pin_init::{init_from_closure, pin_init_from_closure, Init, PinInit};
175 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
180 fn init<E>(init: impl Init<T, E>, flags: Flags) -> error::Result<Self> in init()
H A Dprelude.rs22 pub use pin_init::{init, pin_data, pin_init, pinned_drop, InPlaceWrite, Init, PinInit, Zeroable};
/linux-6.15/tools/perf/scripts/python/
H A Dparallel-perf.py311 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)
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)
340 self.Init(pos, pos, ipos, ipos + 1)
342 self.Init()
736 def Init(self): member in ParallelPerf
[all …]
/linux-6.15/rust/kernel/sync/
H A Darc.rs35 use pin_init::{self, pin_data, InPlaceWrite, Init, PinInit};
217 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
703 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
714 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in write_init()
785 pub fn init_with<E>(mut self, init: impl Init<T, E>) -> core::result::Result<UniqueArc<T>, E> { in init_with()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_6_ppt.h51 bool Init; member
H A Dsmu_v13_0_12_ppt.c219 if (!pptable->Init) { in smu_v13_0_12_setup_driver_pptable()
260 pptable->Init = true; in smu_v13_0_12_setup_driver_pptable()
/linux-6.15/rust/kernel/alloc/
H A Dkbox.rs20 use pin_init::{InPlaceWrite, Init, PinInit, ZeroableOption};
321 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in write_init()
355 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
/linux-6.15/rust/pin-init/examples/
H A Dbig_struct_in_place.rs22 pub fn new() -> impl Init<Self> { in new()
/linux-6.15/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-6.15/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-6.15/drivers/clk/xilinx/
H A DKconfig4 tristate "Xilinx VCU logicoreIP Init"
/linux-6.15/Documentation/driver-api/tty/
H A Dtty_port.rst21 Init & Destroy
/linux-6.15/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-6.15/arch/arm/boot/dts/marvell/
H A Dkirkwood-openblocks_a6.dts120 label = "Init Button";
H A Dkirkwood-openblocks_a7.dts141 label = "Init Button";
H A Darmada-xp-openblocks-ax3-4.dts104 label = "Init Button";
/linux-6.15/Documentation/admin-guide/auxdisplay/
H A Dcfag12864b.rst70 Init (16)------------------------------(12) Controller Select 2
/linux-6.15/Documentation/driver-api/driver-model/
H A Ddevres.rst38 Init failure path is worse because it's much less travelled while
102 driver can have much simpler init and exit code. Init path basically
/linux-6.15/rust/pin-init/
H A DREADME.md225 [`impl Init<T, E>`]: https://docs.rs/pin-init/latest/pin_init/trait.Init.html

12