summaryrefslogtreecommitdiffstats
path: root/rust/kernel/sync/arc.rs (follow)
Commit message (Expand)AuthorAgeFilesLines
* rust: treewide: switch to our kernel `Box` typeDanilo Krummrich2024-10-151-9/+8
* rust: enable arbitrary_self_types and remove `Receiver`Gary Guo2024-10-071-6/+0
* rust: enable `clippy::unnecessary_safety_comment` lintMiguel Ojeda2024-10-071-1/+1
* rust: Implement the smart pointer `InPlaceInit` for `Arc`Alex Mantel2024-08-181-23/+2
* rust: kernel: remove redundant importsMiguel Ojeda2024-05-051-1/+0
* rust: sync: add `Arc::into_unique_or_drop`Alice Ryhl2024-05-051-0/+62
* rust: sync: add `ArcBorrow::from_raw`Alice Ryhl2024-05-051-18/+58
* rust: kernel: remove usage of `allocator_api` unstable featureWedson Almeida Filho2024-04-161-2/+2
* rust: init: update `init` module to take allocation flagsWedson Almeida Filho2024-04-161-10/+13
* rust: sync: update `Arc` and `UniqueArc` to take allocation flagsWedson Almeida Filho2024-04-161-14/+14
* rust: alloc: introduce the `BoxExt` traitWedson Almeida Filho2024-04-161-1/+2
* rust: kernel: stop using ptr_metadata featureAlice Ryhl2024-02-181-9/+7
* rust: kernel: add doclinksValentin Obst2024-02-181-3/+3
* rust: kernel: unify spelling of refcount in docsValentin Obst2024-02-181-4/+4
* Merge tag 'wq-for-6.7-rust-bindings' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2023-10-311-2/+44
|\
| * rust: sync: add `Arc::{from_raw, into_raw}`Wedson Almeida Filho2023-09-251-2/+44
* | rust: arc: add explicit `drop()` around `Box::from_raw()`Miguel Ojeda2023-10-051-1/+1
|/
* Merge tag 'linux-kselftest-kunit-6.6-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds2023-08-291-2/+7
|\
| * rust: sync: make doctests compilable/testableMiguel Ojeda2023-07-191-2/+7
* | rust: delete `ForeignOwnable::borrow_mut`Alice Ryhl2023-08-041-2/+1
|/
* rust: sync: reword the `Arc` safety comment for `Sync`Alice Ryhl2023-05-311-3/+5
* rust: sync: reword the `Arc` safety comment for `Send`Alice Ryhl2023-05-311-2/+2
* rust: sync: implement `AsRef<T>` for `Arc<T>`Alice Ryhl2023-05-311-0/+6
* rust: sync: add `Arc::ptr_eq`Alice Ryhl2023-05-311-0/+5
* rust: arc: fix intra-doc link in `Arc<T>::init`Miguel Ojeda2023-05-311-1/+1
* rust: sync: add functions for initializing `UniqueArc<MaybeUninit<T>>`Benno Lossin2023-04-121-0/+24
* rust: sync: reduce stack usage of `UniqueArc::try_new_uninit`Benno Lossin2023-04-121-3/+13
* rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointersBenno Lossin2023-04-121-0/+24
* rust: sync: change error type of constructor functionsBenno Lossin2023-04-121-4/+4
* rust: sync: arc: Add UniqueArc<MaybeUninit<T>::assume_init()Asahi Lina2023-04-121-0/+11
* rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast()Asahi Lina2023-04-101-0/+2
* rust: sync: impl {Debug,Display} for {Unique,}ArcBoqun Feng2023-04-101-0/+25
* rust: types: implement `ForeignOwnable` for `Arc<T>`Wedson Almeida Filho2023-02-071-1/+31
* rust: sync: add support for dispatching on Arc and ArcBorrow.Wedson Almeida Filho2023-01-161-2/+18
* rust: sync: introduce `UniqueArc`Wedson Almeida Filho2023-01-161-2/+150
* rust: sync: allow type of `self` to be `ArcBorrow<T>`Wedson Almeida Filho2023-01-161-0/+23
* rust: sync: introduce `ArcBorrow`Wedson Almeida Filho2023-01-161-0/+97
* rust: sync: allow coercion from `Arc<T>` to `Arc<U>`Wedson Almeida Filho2023-01-161-1/+26
* rust: sync: allow type of `self` to be `Arc<T>` or variantsWedson Almeida Filho2023-01-161-0/+28
* rust: sync: add `Arc` for ref-counted allocationsWedson Almeida Filho2023-01-161-0/+157