original_kernel/rust/kernel
Wedson Almeida Filho f1fbd6a864 rust: introduce `ARef`
This is an owned reference to an object that is always ref-counted. This
is meant to be used in wrappers for C types that have their own ref
counting functions, for example, tasks, files, inodes, dentries, etc.

Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://lore.kernel.org/r/20230411054543.21278-8-wedsonaf@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-04-22 00:20:00 +02:00
..
init
sync rust: lock: introduce `SpinLock` 2023-04-22 00:20:00 +02:00
allocator.rs
build_assert.rs
error.rs
init.rs rust: init: broaden the blanket impl of `Init` 2023-04-21 00:35:26 +02:00
lib.rs rust: sync: reduce stack usage of `UniqueArc::try_new_uninit` 2023-04-12 18:41:05 +02:00
prelude.rs rust: prelude: add `pin-init` API items to prelude 2023-04-12 18:41:05 +02:00
print.rs
static_assert.rs
std_vendor.rs
str.rs
sync.rs rust: lock: introduce `SpinLock` 2023-04-22 00:20:00 +02:00
types.rs rust: introduce `ARef` 2023-04-22 00:20:00 +02:00