summaryrefslogtreecommitdiff
path: root/rust/kernel/sync/arc.rs
AgeCommit message (Expand)AuthorFilesLines
2025-03-25Merge tag 'rust-hrtimer-for-v6.15-v3' of https://github.com/Rust-for-Linux/li...Miguel Ojeda1-2/+11
2025-03-16rust: make pin-init its own crateBenno Lossin1-4/+3
2025-03-16rust: pin-init: move `InPlaceInit` and impls of `InPlaceWrite` into the kerne...Benno Lossin1-1/+64
2025-03-11rust: sync: add `Arc::as_ptr`Andreas Hindborg1-2/+11
2025-01-13rust: kernel: add improved version of `ForeignOwnable::borrow_mut`Alice Ryhl1-0/+7
2025-01-13rust: kernel: reorder `ForeignOwnable` itemsTamir Duberstein1-9/+9
2025-01-13rust: kernel: change `ForeignOwnable` pointer to mutTamir Duberstein1-5/+5
2025-01-13rust: arc: split unsafe block, add missing commentTamir Duberstein1-1/+5
2025-01-13rust: types: avoid `as` castsTamir Duberstein1-4/+5
2025-01-13rust: arc: use `NonNull::new_unchecked`Tamir Duberstein1-4/+8
2025-01-13rust: use derive(CoercePointee) on rustc >= 1.84.0Xiangfei Ding1-4/+11
2024-12-18rust: sync: document `PhantomData` in `Arc`Tamir Duberstein1-0/+8
2024-11-10rust: use custom FFI integer typesGary Guo1-3/+3
2024-10-15rust: treewide: switch to our kernel `Box` typeDanilo Krummrich1-9/+8
2024-10-07rust: enable arbitrary_self_types and remove `Receiver`Gary Guo1-6/+0
2024-10-07rust: enable `clippy::unnecessary_safety_comment` lintMiguel Ojeda1-1/+1
2024-08-18rust: Implement the smart pointer `InPlaceInit` for `Arc`Alex Mantel1-23/+2
2024-05-05rust: kernel: remove redundant importsMiguel Ojeda1-1/+0
2024-05-05rust: sync: add `Arc::into_unique_or_drop`Alice Ryhl1-0/+62
2024-05-05rust: sync: add `ArcBorrow::from_raw`Alice Ryhl1-18/+58
2024-04-16rust: kernel: remove usage of `allocator_api` unstable featureWedson Almeida Filho1-2/+2
2024-04-16rust: init: update `init` module to take allocation flagsWedson Almeida Filho1-10/+13
2024-04-16rust: sync: update `Arc` and `UniqueArc` to take allocation flagsWedson Almeida Filho1-14/+14
2024-04-16rust: alloc: introduce the `BoxExt` traitWedson Almeida Filho1-1/+2
2024-02-18rust: kernel: stop using ptr_metadata featureAlice Ryhl1-9/+7
2024-02-18rust: kernel: add doclinksValentin Obst1-3/+3
2024-02-18rust: kernel: unify spelling of refcount in docsValentin Obst1-4/+4
2023-10-30Merge tag 'wq-for-6.7-rust-bindings' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-2/+44
2023-10-05rust: arc: add explicit `drop()` around `Box::from_raw()`Miguel Ojeda1-1/+1
2023-09-25rust: sync: add `Arc::{from_raw, into_raw}`Wedson Almeida Filho1-2/+44
2023-08-28Merge tag 'linux-kselftest-kunit-6.6-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-2/+7
2023-08-04rust: delete `ForeignOwnable::borrow_mut`Alice Ryhl1-2/+1
2023-07-19rust: sync: make doctests compilable/testableMiguel Ojeda1-2/+7
2023-05-31rust: sync: reword the `Arc` safety comment for `Sync`Alice Ryhl1-3/+5
2023-05-31rust: sync: reword the `Arc` safety comment for `Send`Alice Ryhl1-2/+2
2023-05-31rust: sync: implement `AsRef<T>` for `Arc<T>`Alice Ryhl1-0/+6
2023-05-31rust: sync: add `Arc::ptr_eq`Alice Ryhl1-0/+5
2023-05-31rust: arc: fix intra-doc link in `Arc<T>::init`Miguel Ojeda1-1/+1
2023-04-12rust: sync: add functions for initializing `UniqueArc<MaybeUninit<T>>`Benno Lossin1-0/+24
2023-04-12rust: sync: reduce stack usage of `UniqueArc::try_new_uninit`Benno Lossin1-3/+13
2023-04-12rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointersBenno Lossin1-0/+24
2023-04-12rust: sync: change error type of constructor functionsBenno Lossin1-4/+4
2023-04-12rust: sync: arc: Add UniqueArc<MaybeUninit<T>::assume_init()Asahi Lina1-0/+11
2023-04-10rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast()Asahi Lina1-0/+2
2023-04-10rust: sync: impl {Debug,Display} for {Unique,}ArcBoqun Feng1-0/+25
2023-02-07rust: types: implement `ForeignOwnable` for `Arc<T>`Wedson Almeida Filho1-1/+31
2023-01-16rust: sync: add support for dispatching on Arc and ArcBorrow.Wedson Almeida Filho1-2/+18
2023-01-16rust: sync: introduce `UniqueArc`Wedson Almeida Filho1-2/+150
2023-01-16rust: sync: allow type of `self` to be `ArcBorrow<T>`Wedson Almeida Filho1-0/+23
2023-01-16rust: sync: introduce `ArcBorrow`Wedson Almeida Filho1-0/+97