summaryrefslogtreecommitdiffstats
path: root/rust/kernel
Commit message (Expand)AuthorAgeFilesLines
* rust: introduce `ARef`Wedson Almeida Filho2023-04-221-0/+107
* rust: lock: introduce `SpinLock`Wedson Almeida Filho2023-04-223-1/+118
* rust: lock: introduce `Mutex`Wedson Almeida Filho2023-04-223-0/+121
* rust: sync: introduce `Lock` and `Guard`Wedson Almeida Filho2023-04-222-1/+163
* rust: sync: introduce `LockClassKey`Wedson Almeida Filho2023-04-211-0/+45
* rust: init: broaden the blanket impl of `Init`Benno Lossin2023-04-211-2/+2
* 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-122-4/+13
* rust: types: add `Opaque::ffi_init`Benno Lossin2023-04-122-0/+29
* rust: prelude: add `pin-init` API items to preludeBenno Lossin2023-04-121-1/+5
* rust: init: add `Zeroable` trait and `init::zeroed` functionBenno Lossin2023-04-121-2/+95
* rust: init: add `stack_pin_init!` macroBenno Lossin2023-04-122-6/+191
* rust: init: add `PinnedDrop` trait and macrosBenno Lossin2023-04-123-0/+390
* rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointersBenno Lossin2023-04-122-13/+139
* rust: init: add initialization macrosBenno Lossin2023-04-123-5/+1639
* rust: add pin-init API coreBenno Lossin2023-04-123-0/+226
* rust: types: add `Opaque::raw_get`Benno Lossin2023-04-121-0/+8
* rust: sync: change error type of constructor functionsBenno Lossin2023-04-121-4/+4
* rust: enable the `pin_macro` featureBenno Lossin2023-04-121-0/+1
* rust: error: Add from_result() helperWedson Almeida Filho2023-04-121-0/+39
* rust: error: Add a helper to convert a C ERR_PTR to a `Result`Sven Van Asbroeck2023-04-121-1/+49
* rust: error: Add to_result() helperWedson Almeida Filho2023-04-121-1/+10
* rust: error: Add Error::from_errno{_unchecked}()Miguel Ojeda2023-04-121-0/+32
* rust: error: Add Error::to_ptr()Asahi Lina2023-04-121-0/+7
* rust: error: Rename to_kernel_errno() -> to_errno()Asahi Lina2023-04-121-1/+1
* 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: Enable the new_uninit feature for kernel and driver cratesAsahi Lina2023-04-101-0/+1
* rust: sync: impl {Debug,Display} for {Unique,}ArcBoqun Feng2023-04-101-0/+25
* Merge tag 'rust-6.3' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2023-02-205-2/+761
|\
| * rust: types: implement `ForeignOwnable` for `Arc<T>`Wedson Almeida Filho2023-02-071-1/+31
| * rust: types: implement `ForeignOwnable` for the unit typeWedson Almeida Filho2023-02-011-0/+12
| * rust: types: implement `ForeignOwnable` for `Box<T>`Wedson Almeida Filho2023-02-011-0/+23
| * rust: types: introduce `ForeignOwnable`Wedson Almeida Filho2023-02-012-0/+55
| * rust: types: introduce `ScopeGuard`Wedson Almeida Filho2023-02-011-1/+125
| * rust: prelude: prevent doc inline of external importsFinn Behrens2023-01-161-1/+7
| * rust: sync: add support for dispatching on Arc and ArcBorrow.Wedson Almeida Filho2023-01-162-2/+19
| * rust: sync: introduce `UniqueArc`Wedson Almeida Filho2023-01-162-3/+151
| * 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-162-1/+98
| * rust: sync: allow coercion from `Arc<T>` to `Arc<U>`Wedson Almeida Filho2023-01-162-1/+28
| * rust: sync: allow type of `self` to be `Arc<T>` or variantsWedson Almeida Filho2023-01-162-0/+29
| * rust: sync: add `Arc` for ref-counted allocationsWedson Almeida Filho2023-01-163-0/+168
* | rust: print: avoid evaluating arguments in `pr_*` macros in `unsafe` blocksMiguel Ojeda2023-01-161-11/+18
|/
* rust: types: add `Opaque` typeWedson Almeida Filho2022-12-041-0/+25
* rust: types: add `Either` typeWedson Almeida Filho2022-12-042-0/+13
* rust: build_assert: add `build_{error,assert}!` macrosGary Guo2022-12-043-0/+88
* rust: static_assert: add `static_assert!` macroMiguel Ojeda2022-12-043-0/+37
* rust: std_vendor: add `dbg!` macro based on `std`'s oneNiklas Mohrin2022-12-043-1/+166
* rust: str: add `fmt!` macroWedson Almeida Filho2022-12-041-0/+6