Home
last modified time | relevance | path

Searched refs:pin (Results 1 – 25 of 37) sorted by relevance

12

/rust/pin-init/examples/
A Dlinked_list.rs11 pin::Pin,
28 #[pin]
29 pin: PhantomPinned, field
38 pin: PhantomPinned, in new()
48 pin: PhantomPinned, in insert_next()
57 pin: PhantomPinned, in insert_prev()
A Dpthread_mutex.rs17 pin::Pin,
24 #[pin]
27 #[pin]
28 pin: PhantomPinned, field
104 pin: PhantomPinned, in new()
147 use core::pin::Pin; in main()
A Dmutex.rs12 pin::Pin,
68 #[pin]
72 #[pin]
166 #[pin]
/rust/pin-init/
A DREADME.md1 [![Crates.io](https://img.shields.io/crates/v/pin-init.svg)](https://crates.io/crates/pin-init)
2 [![Documentation](https://docs.rs/pin-init/badge.svg)](https://docs.rs/pin-init/)
3 …ttps://deps.rs/repo/github/Rust-for-Linux/pin-init/status.svg)](https://deps.rs/repo/github/Rust-f…
4 ![License](https://img.shields.io/crates/l/pin-init)
7 # `pin-init`
85 #[pin]
119 #[pin]
154 pin::Pin,
175 #[pin]
177 #[pin]
[all …]
A DCONTRIBUTING.md1 # Contributing to `pin-init`
3 Thanks for showing interest in contributing to `pin-init`! This document outlines the guidelines for
4 contributing to `pin-init`.
25 problems or just have questions related to `pin-init` in the Linux kernel, you can also ask your
33 `pin-init` is used by the Linux kernel and all commits are synchronized to it. For this reason, the
34 same requirements for commits apply to `pin-init`. See [the kernel's documentation] for details. The
39 Contributions to `pin-init` ideally go through the [GitHub repository], because that repository runs
44 [GitHub repository]: https://github.com/Rust-for-Linux/pin-init
/rust/kernel/
A Ddevres.rs25 #[pin]
28 #[pin]
31 #[pin]
120 #[pin]
A Ddriver.rs10 use core::pin::Pin;
59 #[pin]
110 #[pin]
A Dprelude.rs15 pub use core::pin::Pin;
A Dsync.rs33 #[pin]
A Dxarray.rs13 use core::{iter, marker::PhantomData, pin::Pin, ptr::NonNull};
57 #[pin]
A Dconfigfs.rs130 #[pin]
132 #[pin]
247 #[pin]
249 #[pin]
732 #[pin]
A Drevocable.rs69 #[pin]
A Dmiscdevice.rs22 use core::{marker::PhantomData, mem::MaybeUninit, pin::Pin};
57 #[pin]
/rust/kernel/sync/
A Dcondvar.rs18 use core::{marker::PhantomPinned, pin::Pin, ptr};
83 #[pin]
90 #[pin]
A Dcompletion.rs68 #[pin]
A Dlock.rs13 use core::{cell::UnsafeCell, marker::PhantomPinned, pin::Pin};
108 #[pin]
114 #[pin]
A Dpoll.rs70 #[pin]
/rust/kernel/block/mq/
A Dtag_set.rs7 use core::pin::Pin;
29 #[pin]
/rust/pin-init/src/
A D__internal.rs194 use core::pin::pin; in stack_init_reuse()
201 let mut slot: Pin<&mut StackInit<Foo>> = pin!(StackInit::uninit()); in stack_init_reuse()
A Dlib.rs289 pin::Pin,
499 let mut $var = ::core::pin::pin!($crate::__internal::StackInit$(::<$t>)?::uninit());
577 let mut $var = ::core::pin::pin!($crate::__internal::StackInit$(::<$t>)?::uninit());
582 let mut $var = ::core::pin::pin!($crate::__internal::StackInit$(::<$t>)?::uninit());
1726 impl<T> Wrapper<T> for core::pin::UnsafePinned<T> {
/rust/kernel/list/
A Darc.rs12 use core::pin::Pin;
88 unsafe fn on_create_list_arc_from_unique(self: ::core::pin::Pin<&mut Self>) {}
98 unsafe fn on_create_list_arc_from_unique(self: ::core::pin::Pin<&mut Self>) {
103 ::core::pin::Pin::map_unchecked_mut(self, |me| &mut me.$field)
/rust/kernel/drm/
A Dfile.rs9 use core::pin::Pin;
/rust/kernel/time/hrtimer/
A Dpin.rs10 use core::pin::Pin;
A Dpin_mut.rs7 use core::{marker::PhantomData, pin::Pin, ptr::NonNull};
/rust/kernel/time/
A Dhrtimer.rs83 #[pin]
632 mod pin; module
633 pub use pin::PinHrTimerHandle;

Completed in 33 milliseconds

12