summaryrefslogtreecommitdiffstats
path: root/rust/kernel/init.rs (follow)
Commit message (Expand)AuthorAgeFilesLines
* rust: init: add `assert_pinned` macroBenno Lossin2024-08-231-0/+68
* rust: init: add `write_[pin_]init` functionsBenno Lossin2024-08-221-24/+60
* rust: Implement the smart pointer `InPlaceInit` for `Arc`Alex Mantel2024-08-181-4/+35
* rust: init: simplify from `map_err` to `inspect_err`Miguel Ojeda2024-07-101-9/+4
* Merge tag 'rust-6.10' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2024-05-141-31/+32
|\
| * rust: remove unneeded `kernel::prelude` imports from doctestsNell Shamrell-Harrington2024-05-051-3/+3
| * rust: kernel: remove usage of `allocator_api` unstable featureWedson Almeida Filho2024-04-161-2/+1
| * rust: init: update `init` module to take allocation flagsWedson Almeida Filho2024-04-161-24/+25
| * rust: sync: update `Arc` and `UniqueArc` to take allocation flagsWedson Almeida Filho2024-04-161-2/+2
| * rust: alloc: introduce the `BoxExt` traitWedson Almeida Filho2024-04-161-6/+7
* | rust: init: remove impl Zeroable for InfallibleLaine Taffin Altman2024-04-041-2/+9
|/
* rust: kernel: add reexports for macrosAlice Ryhl2024-02-181-3/+3
* rust: kernel: fix multiple typos in documentationValentin Obst2024-02-181-8/+8
* rust: kernel: remove `#[allow(clippy::new_ret_no_self)]`Gary Guo2023-10-051-10/+10
* Merge tag 'rust-6.6' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2023-08-291-371/+275
|\
| * rust: init: add `{pin_}chain` functions to `{Pin}Init<T, E>`Benno Lossin2023-08-211-0/+142
| * rust: init: make `PinInit<T, E>` a supertrait of `Init<T, E>`Benno Lossin2023-08-211-13/+8
| * rust: init: implement `Zeroable` for `UnsafeCell<T>` and `Opaque<T>`Benno Lossin2023-08-211-1/+7
| * rust: init: add functions to create array initializersBenno Lossin2023-08-211-0/+88
| * rust: init: add `..Zeroable::zeroed()` syntax for zeroing all missing fieldsBenno Lossin2023-08-211-1/+15
| * rust: init: make guards in the init macros hygienicBenno Lossin2023-08-211-1/+0
| * rust: init: consolidate init macrosBenno Lossin2023-08-211-364/+24
* | rust: init: make doctests compilable/testableMiguel Ojeda2023-07-181-9/+17
|/
* rust: upgrade to Rust 1.68.2Miguel Ojeda2023-05-311-0/+5
* rust: init: broaden the blanket impl of `Init`Benno Lossin2023-04-211-2/+2
* rust: types: add `Opaque::ffi_init`Benno Lossin2023-04-121-0/+9
* rust: init: add `Zeroable` trait and `init::zeroed` functionBenno Lossin2023-04-121-2/+95
* rust: init: add `stack_pin_init!` macroBenno Lossin2023-04-121-6/+134
* rust: init: add `PinnedDrop` trait and macrosBenno Lossin2023-04-121-0/+111
* rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointersBenno Lossin2023-04-121-13/+115
* rust: init: add initialization macrosBenno Lossin2023-04-121-5/+802
* rust: add pin-init API coreBenno Lossin2023-04-121-0/+187