summaryrefslogtreecommitdiffstats
path: root/rust/bindings/bindings_helper.h
diff options
context:
space:
mode:
authorWedson Almeida Filho <walmeida@microsoft.com>2023-04-11 02:45:38 -0300
committerMiguel Ojeda <ojeda@kernel.org>2023-04-22 00:20:00 +0200
commitf1fbd6a864d417443cdacd6bfdb7fd626993da7e (patch)
tree5b52f6763ad53347913fa9eb08dda387a7edaac4 /rust/bindings/bindings_helper.h
parentc6d917a498bfef603f41bfc4d31e9699bb2909fc (diff)
downloadlinux-stable-f1fbd6a864d417443cdacd6bfdb7fd626993da7e.tar.gz
linux-stable-f1fbd6a864d417443cdacd6bfdb7fd626993da7e.tar.bz2
linux-stable-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 <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>
Diffstat (limited to 'rust/bindings/bindings_helper.h')
0 files changed, 0 insertions, 0 deletions