Searched refs:AlwaysRefCounted (Results 1 – 16 of 16) sorted by relevance
| /linux/rust/kernel/sync/ |
| H A D | aref.rs | 40 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 D | pid_namespace.rs | 10 use crate::{bindings, sync::aref::AlwaysRefCounted, types::Opaque}; 44 unsafe impl AlwaysRefCounted for PidNamespace {
|
| H A D | mm.rs | 16 sync::aref::{ARef, AlwaysRefCounted}, 58 unsafe impl AlwaysRefCounted for Mm { 94 unsafe impl AlwaysRefCounted for MmWithUser {
|
| H A D | usb.rs | 21 sync::aref::AlwaysRefCounted, 384 unsafe impl AlwaysRefCounted for Interface { 435 unsafe impl AlwaysRefCounted for Device {
|
| H A D | i2c.rs | 21 AlwaysRefCounted, // 418 unsafe impl AlwaysRefCounted for I2cAdapter { 494 unsafe impl AlwaysRefCounted for I2cClient {
|
| H A D | types.rs | |
| H A D | task.rs | 350 unsafe impl crate::sync::aref::AlwaysRefCounted for Task {
|
| H A D | opp.rs | 19 sync::aref::{ARef, AlwaysRefCounted}, 1044 unsafe impl AlwaysRefCounted for OPP {
|
| H A D | auxiliary.rs | 292 unsafe impl crate::sync::aref::AlwaysRefCounted for Device {
|
| H A D | pci.rs | 477 unsafe impl crate::sync::aref::AlwaysRefCounted for Device {
|
| H A D | device.rs | 88 /// 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 D | platform.rs | 515 unsafe impl crate::sync::aref::AlwaysRefCounted for Device {
|
| /linux/rust/kernel/mm/ |
| H A D | mmput_async.rs | 13 sync::aref::{ARef, AlwaysRefCounted}, 37 unsafe impl AlwaysRefCounted for MmWithUserAsync {
|
| /linux/rust/kernel/fs/ |
| H A D | file.rs | 15 sync::aref::{ARef, AlwaysRefCounted}, 200 unsafe impl AlwaysRefCounted for File { 236 unsafe impl AlwaysRefCounted for LocalFile {
|
| /linux/rust/kernel/drm/gem/ |
| H A D | mod.rs | 20 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 D | device.rs | 18 AlwaysRefCounted, // 230 unsafe impl<T: drm::Driver> AlwaysRefCounted for Device<T> {
|