Searched refs:ForeignOwnable (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/rust/kernel/ |
| H A D | miscdevice.rs | 20 types::{ForeignOwnable, Opaque}, 110 type Ptr: ForeignOwnable + Send + Sync; 128 _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, in ioctl() 145 _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, in compat_ioctl() 155 _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, in show_fdinfo() 216 let ptr = unsafe { <T::Ptr as ForeignOwnable>::from_foreign(private) }; in release() 233 let device = unsafe { <T::Ptr as ForeignOwnable>::borrow(private) }; in ioctl() 258 let device = unsafe { <T::Ptr as ForeignOwnable>::borrow(private) }; in compat_ioctl() 279 let device = unsafe { <T::Ptr as ForeignOwnable>::borrow(private) }; in show_fdinfo()
|
| H A D | types.rs | 21 pub trait ForeignOwnable: Sized { trait 115 impl ForeignOwnable for () { implementation
|
| H A D | platform.rs | 13 types::{ARef, ForeignOwnable, Opaque},
|
| H A D | pci.rs | 17 types::{ARef, ForeignOwnable, Opaque},
|
| /linux-6.15/rust/kernel/alloc/ |
| H A D | kbox.rs | 19 use crate::types::ForeignOwnable; 363 impl<T: 'static, A> ForeignOwnable for Box<T, A> 394 impl<T: 'static, A> ForeignOwnable for Pin<Box<T, A>>
|
| /linux-6.15/rust/kernel/sync/ |
| H A D | arc.rs | 24 types::{ForeignOwnable, Opaque}, 374 impl<T: 'static> ForeignOwnable for Arc<T> {
|