summaryrefslogtreecommitdiff
path: root/rust/kernel/sync/arc.rs
AgeCommit message (Expand)AuthorFilesLines
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-31Merge 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-29Merge 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-11rust: 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-17rust: sync: add support for dispatching on Arc and ArcBorrow.Wedson Almeida Filho1-2/+18
2023-01-17rust: sync: introduce `UniqueArc`Wedson Almeida Filho1-2/+150
2023-01-17rust: sync: allow type of `self` to be `ArcBorrow<T>`Wedson Almeida Filho1-0/+23
2023-01-17rust: sync: introduce `ArcBorrow`Wedson Almeida Filho1-0/+97
2023-01-17rust: sync: allow coercion from `Arc<T>` to `Arc<U>`Wedson Almeida Filho1-1/+26
2023-01-17rust: sync: allow type of `self` to be `Arc<T>` or variantsWedson Almeida Filho1-0/+28
2023-01-17rust: sync: add `Arc` for ref-counted allocationsWedson Almeida Filho1-0/+157