summaryrefslogtreecommitdiffstats
path: root/rust/kernel/sync/arc.rs
AgeCommit message (Expand)AuthorLines
2024-08-18rust: Implement the smart pointer `InPlaceInit` for `Arc`Alex Mantel-23/+2
2024-05-05rust: kernel: remove redundant importsMiguel Ojeda-1/+0
2024-05-05rust: sync: add `Arc::into_unique_or_drop`Alice Ryhl-0/+62
2024-05-05rust: sync: add `ArcBorrow::from_raw`Alice Ryhl-18/+58
2024-04-16rust: kernel: remove usage of `allocator_api` unstable featureWedson Almeida Filho-2/+2
2024-04-16rust: init: update `init` module to take allocation flagsWedson Almeida Filho-10/+13
2024-04-16rust: sync: update `Arc` and `UniqueArc` to take allocation flagsWedson Almeida Filho-14/+14
2024-04-16rust: alloc: introduce the `BoxExt` traitWedson Almeida Filho-1/+2
2024-02-18rust: kernel: stop using ptr_metadata featureAlice Ryhl-9/+7
2024-02-18rust: kernel: add doclinksValentin Obst-3/+3
2024-02-18rust: kernel: unify spelling of refcount in docsValentin Obst-4/+4
2023-10-30Merge tag 'wq-for-6.7-rust-bindings' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds-2/+44
2023-10-05rust: arc: add explicit `drop()` around `Box::from_raw()`Miguel Ojeda-1/+1
2023-09-25rust: sync: add `Arc::{from_raw, into_raw}`Wedson Almeida Filho-2/+44
2023-08-28Merge tag 'linux-kselftest-kunit-6.6-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds-2/+7
2023-08-04rust: delete `ForeignOwnable::borrow_mut`Alice Ryhl-2/+1
2023-07-19rust: sync: make doctests compilable/testableMiguel Ojeda-2/+7
2023-05-31rust: sync: reword the `Arc` safety comment for `Sync`Alice Ryhl-3/+5
2023-05-31rust: sync: reword the `Arc` safety comment for `Send`Alice Ryhl-2/+2
2023-05-31rust: sync: implement `AsRef<T>` for `Arc<T>`Alice Ryhl-0/+6
2023-05-31rust: sync: add `Arc::ptr_eq`Alice Ryhl-0/+5
2023-05-31rust: arc: fix intra-doc link in `Arc<T>::init`Miguel Ojeda-1/+1
2023-04-12rust: sync: add functions for initializing `UniqueArc<MaybeUninit<T>>`Benno Lossin-0/+24
2023-04-12rust: sync: reduce stack usage of `UniqueArc::try_new_uninit`Benno Lossin-3/+13
2023-04-12rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointersBenno Lossin-0/+24
2023-04-12rust: sync: change error type of constructor functionsBenno Lossin-4/+4
2023-04-12rust: sync: arc: Add UniqueArc<MaybeUninit<T>::assume_init()Asahi Lina-0/+11
2023-04-10rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast()Asahi Lina-0/+2
2023-04-10rust: sync: impl {Debug,Display} for {Unique,}ArcBoqun Feng-0/+25
2023-02-07rust: types: implement `ForeignOwnable` for `Arc<T>`Wedson Almeida Filho-1/+31
2023-01-16rust: sync: add support for dispatching on Arc and ArcBorrow.Wedson Almeida Filho-2/+18
2023-01-16rust: sync: introduce `UniqueArc`Wedson Almeida Filho-2/+150
2023-01-16rust: sync: allow type of `self` to be `ArcBorrow<T>`Wedson Almeida Filho-0/+23
2023-01-16rust: sync: introduce `ArcBorrow`Wedson Almeida Filho-0/+97
2023-01-16rust: sync: allow coercion from `Arc<T>` to `Arc<U>`Wedson Almeida Filho-1/+26
2023-01-16rust: sync: allow type of `self` to be `Arc<T>` or variantsWedson Almeida Filho-0/+28
2023-01-16rust: sync: add `Arc` for ref-counted allocationsWedson Almeida Filho-0/+157