Home
last modified time | relevance | path

Searched refs:AlwaysRefCounted (Results 1 – 16 of 16) sorted by relevance

/linux/rust/kernel/sync/
H A Daref.rs40 pub unsafe trait AlwaysRefCounted { trait
68 pub struct ARef<T: AlwaysRefCounted> {
77 unsafe impl<T: AlwaysRefCounted + Sync + Send> Send for ARef<T> {}
84 unsafe impl<T: AlwaysRefCounted + Sync + Send> Sync for ARef<T> {}
87 impl<T: AlwaysRefCounted> Unpin for ARef<T> {}
89 impl<T: AlwaysRefCounted> ARef<T> {
141 impl<T: AlwaysRefCounted> Clone for ARef<T> {
149 impl<T: AlwaysRefCounted> Deref for ARef<T> {
158 impl<T: AlwaysRefCounted> From<&T> for ARef<T> {
166 impl<T: AlwaysRefCounted> Drop for ARef<T> {
[all …]
/linux/rust/kernel/
H A Dpid_namespace.rs10 use crate::{bindings, sync::aref::AlwaysRefCounted, types::Opaque};
44 unsafe impl AlwaysRefCounted for PidNamespace {
H A Dmm.rs16 sync::aref::{ARef, AlwaysRefCounted},
58 unsafe impl AlwaysRefCounted for Mm {
94 unsafe impl AlwaysRefCounted for MmWithUser {
H A Dusb.rs21 sync::aref::AlwaysRefCounted,
384 unsafe impl AlwaysRefCounted for Interface {
435 unsafe impl AlwaysRefCounted for Device {
H A Di2c.rs21 AlwaysRefCounted, //
418 unsafe impl AlwaysRefCounted for I2cAdapter {
494 unsafe impl AlwaysRefCounted for I2cClient {
H A Dtypes.rs
H A Dtask.rs350 unsafe impl crate::sync::aref::AlwaysRefCounted for Task {
H A Dopp.rs19 sync::aref::{ARef, AlwaysRefCounted},
1044 unsafe impl AlwaysRefCounted for OPP {
H A Dauxiliary.rs292 unsafe impl crate::sync::aref::AlwaysRefCounted for Device {
H A Dpci.rs477 unsafe impl crate::sync::aref::AlwaysRefCounted for Device {
H A Ddevice.rs88 /// Since devices are reference counted, [`AlwaysRefCounted`] should be implemented for `Device`
89 /// (i.e. `Device<Normal>`). Note that [`AlwaysRefCounted`] must not be implemented for any other
139 /// [`AlwaysRefCounted`] for `Device`.
166 /// [`AlwaysRefCounted`]: kernel::sync::aref::AlwaysRefCounted
511 unsafe impl crate::sync::aref::AlwaysRefCounted for Device {
558 /// [`AlwaysRefCounted`] for.
560 /// [`AlwaysRefCounted`]: kernel::sync::aref::AlwaysRefCounted
H A Dplatform.rs515 unsafe impl crate::sync::aref::AlwaysRefCounted for Device {
/linux/rust/kernel/mm/
H A Dmmput_async.rs13 sync::aref::{ARef, AlwaysRefCounted},
37 unsafe impl AlwaysRefCounted for MmWithUserAsync {
/linux/rust/kernel/fs/
H A Dfile.rs15 sync::aref::{ARef, AlwaysRefCounted},
200 unsafe impl AlwaysRefCounted for File {
236 unsafe impl AlwaysRefCounted for LocalFile {
/linux/rust/kernel/drm/gem/
H A Dmod.rs20 AlwaysRefCounted, //
45 unsafe impl $( <$( $tparam_id ),+> )? $crate::sync::aref::AlwaysRefCounted for $type
101 pub trait IntoGEMObject: Sized + super::private::Sealed + AlwaysRefCounted {
/linux/rust/kernel/drm/
H A Ddevice.rs18 AlwaysRefCounted, //
230 unsafe impl<T: drm::Driver> AlwaysRefCounted for Device<T> {