aboutsummaryrefslogtreecommitdiffstats
path: root/rust/kernel/types.rs (follow)
AgeCommit message (Expand)AuthorFilesLines
2025-08-03Merge tag 'rust-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/...Linus Torvalds1-195/+34
2025-07-22rust: kernel: move ARef and AlwaysRefCounted to sync::arefShankari Anand1-151/+3
2025-07-21rust: types: remove `Either<L, R>`Benno Lossin1-18/+0
2025-07-15rust: types: rename Opaque::raw_get to cast_intoAlice Ryhl1-4/+4
2025-07-15rust: types: add Opaque::cast_fromAlice Ryhl1-0/+5
2025-07-14rust: types: require `ForeignOwnable::into_foreign` return non-nullAndreas Hindborg1-0/+1
2025-07-14rust: types: add FOREIGN_ALIGN to ForeignOwnableAndreas Hindborg1-23/+22
2025-06-28rust: implement `Wrapper<T>` for `Opaque<T>`Christian Schrefl1-12/+14
2025-06-04Merge tag 'rust-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/...Linus Torvalds1-15/+31
2025-05-01rust: types: add `ForeignOwnable::PointedTo`Tamir Duberstein1-15/+31
2025-04-19rust: types: add `Opaque::zeroed`Danilo Krummrich1-0/+8
2025-03-16rust: make pin-init its own crateBenno Lossin1-4/+6
2025-03-16rust: pin-init: move impl `Zeroable` for `Opaque` and `Option<KBox<T>>` into ...Benno Lossin1-1/+4
2025-03-10rust: types: add intra-doc links for `Opaque<T>`Dirk Behme1-2/+2
2025-03-08rust: improve lifetimes markupBorys Tyran1-3/+3
2025-01-28Merge tag 'driver-core-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+11
2025-01-13rust: kernel: add improved version of `ForeignOwnable::borrow_mut`Alice Ryhl1-13/+58
2025-01-13rust: kernel: reorder `ForeignOwnable` itemsTamir Duberstein1-10/+10
2025-01-13rust: kernel: change `ForeignOwnable` pointer to mutTamir Duberstein1-7/+7
2025-01-13rust: types: avoid `as` castsTamir Duberstein1-1/+1
2024-12-20rust: types: add `Opaque::pin_init`Danilo Krummrich1-0/+11
2024-11-29Merge tag 'char-misc-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+16
2024-11-26Merge tag 'rust-6.13' of https://github.com/Rust-for-Linux/linuxLinus Torvalds1-124/+72
2024-11-10rust: use custom FFI integer typesGary Guo1-7/+7
2024-10-24rust: types: extend `Opaque` documentationDirk Behme1-1/+52
2024-10-15rust: treewide: switch to the kernel `Vec` typeDanilo Krummrich1-1/+1
2024-10-15rust: alloc: remove extension of std's `Box`Danilo Krummrich1-50/+0
2024-10-10rust: kernel: move `FromBytes` and `AsBytes` traits to a new `transmute` moduleAliet Exposito Garcia1-68/+0
2024-10-09rust: types: add Opaque::try_ffi_initAlice Ryhl1-0/+16
2024-10-07rust: enable `clippy::ignored_unit_patterns` lintMiguel Ojeda1-1/+1
2024-10-07rust: enable `clippy::undocumented_unsafe_blocks` lintMiguel Ojeda1-0/+4
2024-10-07rust: types: avoid repetition in `{As,From}Bytes` implsMiguel Ojeda1-33/+35
2024-10-07rust: types: add examples for the `Either` typeNell Shamrell-Harrington1-0/+9
2024-09-30rust: types: add `NotThreadSafe`Alice Ryhl1-0/+21
2024-08-25rust: types: add `ARef::into_raw`Kartik Prajapati1-1/+30
2024-08-18rust: types: improve `ForeignOwnable` documentationBenno Lossin1-1/+4
2024-08-18rust: implement ForeignOwnable for Pin<Box<T>>Alice Ryhl1-0/+27
2024-07-08rust: uaccess: add typed accessors for userspace pointersAlice Ryhl1-0/+64
2024-05-05rust: types: Make Opaque::get constBoqun Feng1-1/+1
2024-04-16rust: alloc: update `VecExt` to take allocation flagsWedson Almeida Filho1-2/+2
2024-02-25rust: types: add `try_from_foreign()` methodObei Sideg1-0/+19
2024-02-18rust: kernel: add blank lines in front of code blocksValentin Obst1-0/+3
2023-08-29Merge tag 'rust-6.6' of https://github.com/Rust-for-Linux/linuxLinus Torvalds1-6/+15
2023-08-28Merge tag 'linux-kselftest-kunit-6.6-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-3/+3
2023-08-10rust: types: make `Opaque` be `!Unpin`Benno Lossin1-5/+14
2023-08-10rust: make `UnsafeCell` the outer type in `Opaque`Alice Ryhl1-5/+5
2023-08-04rust: delete `ForeignOwnable::borrow_mut`Alice Ryhl1-20/+2
2023-07-19rust: types: make doctests compilable/testableMiguel Ojeda1-3/+3
2023-05-31rust: specify when `ARef` is thread safeAlice Ryhl1-0/+13
2023-04-22rust: introduce `ARef`Wedson Almeida Filho1-0/+107