diff options
| author | Wedson Almeida Filho <[email protected]> | 2023-04-11 05:45:38 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2023-04-21 22:20:00 +0000 |
| commit | f1fbd6a864d417443cdacd6bfdb7fd626993da7e (patch) | |
| tree | 5b52f6763ad53347913fa9eb08dda387a7edaac4 /rust/helpers.c | |
| parent | rust: lock: introduce `SpinLock` (diff) | |
| download | kernel-f1fbd6a864d417443cdacd6bfdb7fd626993da7e.tar.gz kernel-f1fbd6a864d417443cdacd6bfdb7fd626993da7e.zip | |
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 <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
