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