summaryrefslogtreecommitdiffstats
path: root/rust/kernel/sync
Commit message (Expand)AuthorAgeFilesLines
* rust: kernel: remove redundant importsMiguel Ojeda2024-05-055-7/+1
* 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-164-13/+16
* 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 reexports for macrosAlice Ryhl2024-02-183-4/+6
* rust: locked_by: shorten doclink previewValentin Obst2024-02-181-2/+5
* rust: kernel: add doclinksValentin Obst2024-02-182-6/+13
* rust: kernel: mark code fragments in docs with backticksValentin Obst2024-02-181-1/+1
* rust: kernel: unify spelling of refcount in docsValentin Obst2024-02-181-4/+4
* rust: kernel: add srctree-relative doclinksValentin Obst2024-02-181-0/+2
* rust: kernel: fix multiple typos in documentationValentin Obst2024-02-182-3/+3
* rust: sync: update integer types in CondVarAlice Ryhl2024-01-281-18/+20
* rust: sync: add `CondVar::wait_timeout`Alice Ryhl2024-01-282-8/+56
* rust: sync: add `CondVar::notify_sync`Alice Ryhl2024-01-281-0/+10
* rust: sync: `CondVar` rename "wait_list" to "wait_queue_head"Charalampos Mitrodimas2024-01-221-8/+12
* rust: support `srctree`-relative linksMiguel Ojeda2023-12-213-3/+3
* rust: sync: Makes `CondVar::wait()` an uninterruptible waitBoqun Feng2023-12-211-14/+14
* Merge tag 'wq-for-6.7-rust-bindings' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2023-10-301-2/+44
|\
| * rust: sync: add `Arc::{from_raw, into_raw}`Wedson Almeida Filho2023-09-251-2/+44
* | rust: kernel: remove `#[allow(clippy::new_ret_no_self)]`Gary Guo2023-10-052-2/+0
* | rust: arc: add explicit `drop()` around `Box::from_raw()`Miguel Ojeda2023-10-051-1/+1
|/
* Merge tag 'rust-6.6' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2023-08-291-3/+3
|\
| * rust: lock: Add intra-doc links to the Backend traitBen Gooding2023-08-071-3/+3
* | Merge tag 'linux-kselftest-kunit-6.6-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds2023-08-283-2/+9
|\ \ | |/ |/|
| * rust: sync: make doctests compilable/testableMiguel Ojeda2023-07-193-2/+9
* | 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: introduce `CondVar`Wedson Almeida Filho2023-04-222-1/+174
* rust: lock: add `Guard::do_unlocked`Wedson Almeida Filho2023-04-222-2/+30
* rust: sync: introduce `LockedBy`Wedson Almeida Filho2023-04-222-1/+157
* rust: lock: introduce `SpinLock`Wedson Almeida Filho2023-04-222-0/+117
* rust: lock: introduce `Mutex`Wedson Almeida Filho2023-04-222-0/+120
* rust: sync: introduce `Lock` and `Guard`Wedson Almeida Filho2023-04-221-0/+162
* 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-102-0/+30
* 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