| /linux-6.15/rust/kernel/ |
| H A D | driver.rs | 9 use crate::{device, of, str::CStr, try_pin_init, types::Opaque, ThisModule}; 37 reg: &Opaque<Self::RegType>, in register() 48 unsafe fn unregister(reg: &Opaque<Self::RegType>); in unregister() 60 reg: Opaque<T::RegType>, 75 reg <- Opaque::try_ffi_init(|ptr: *mut T::RegType| { in new() 81 let drv = unsafe { &*(ptr as *const Opaque<T::RegType>) }; in new()
|
| H A D | sync.rs | 9 use crate::types::Opaque; 31 inner: Opaque<bindings::lock_class_key>, 72 inner <- Opaque::ffi_init(|slot| unsafe { bindings::lockdep_register_key(slot) }) in new_dynamic()
|
| H A D | platform.rs | 13 types::{ARef, ForeignOwnable, Opaque}, 32 pdrv: &Opaque<Self::RegType>, in register() 53 unsafe fn unregister(pdrv: &Opaque<Self::RegType>) { in unregister() 183 Opaque<bindings::platform_device>,
|
| H A D | revocable.rs | 8 use crate::{bindings, prelude::*, sync::rcu, types::Opaque}; 68 data: Opaque<T>, 86 data <- Opaque::pin_init(data), in new()
|
| H A D | pid_namespace.rs | 12 types::{AlwaysRefCounted, Opaque}, 23 inner: Opaque<bindings::pid_namespace>,
|
| H A D | seq_file.rs | 7 use crate::{bindings, c_str, types::NotThreadSafe, types::Opaque}; 12 inner: Opaque<bindings::seq_file>,
|
| H A D | cred.rs | 14 types::{AlwaysRefCounted, Opaque}, 32 pub struct Credential(Opaque<bindings::cred>);
|
| H A D | workqueue.rs | 137 use crate::{prelude::*, sync::Arc, sync::LockClassKey, types::Opaque}; 156 pub struct Queue(Opaque<bindings::workqueue_struct>); 356 work: Opaque<bindings::work_struct>, 377 work <- Opaque::ffi_init(|slot| { in new() 406 unsafe { Opaque::raw_get(core::ptr::addr_of!((*ptr).work)) } in raw_get()
|
| H A D | list.rs | 11 use crate::types::Opaque; 152 inner: Opaque<ListLinksFields>, 169 inner: Opaque::new(ListLinksFields { in new() 182 unsafe { Opaque::raw_get(ptr::addr_of!((*me).inner)) } in fields() 205 self_ptr: Opaque<*const T>, 227 inner: Opaque::new(ListLinksFields { in new() 232 self_ptr: Opaque::uninit(), in new()
|
| H A D | types.rs | 307 pub struct Opaque<T> { struct 313 unsafe impl<T> Zeroable for Opaque<T> {} implementation 315 impl<T> Opaque<T> { impl
|
| H A D | pci.rs | 17 types::{ARef, ForeignOwnable, Opaque}, 36 pdrv: &Opaque<Self::RegType>, in register() 54 unsafe fn unregister(pdrv: &Opaque<Self::RegType>) { in unregister() 254 Opaque<bindings::pci_dev>,
|
| H A D | miscdevice.rs | 20 types::{ForeignOwnable, Opaque}, 52 inner: Opaque<bindings::miscdevice>, 67 inner <- Opaque::try_ffi_init(move |slot: *mut bindings::miscdevice| { in register()
|
| H A D | device.rs | 10 types::{ARef, Opaque}, 45 pub struct Device(Opaque<bindings::device>);
|
| H A D | task.rs | 11 types::{ARef, NotThreadSafe, Opaque}, 97 pub struct Task(pub(crate) Opaque<bindings::task_struct>);
|
| /linux-6.15/rust/kernel/sync/ |
| H A D | condvar.rs | 16 types::Opaque, 84 pub(crate) wait_queue_head: Opaque<bindings::wait_queue_head>, 108 wait_queue_head <- Opaque::ffi_init(|slot| unsafe { in new() 120 let wait = Opaque::<bindings::wait_queue_entry>::uninit(); in wait_internal()
|
| H A D | poll.rs | 12 types::Opaque, 39 pub struct PollTable(Opaque<bindings::poll_table>);
|
| H A D | lock.rs | 11 types::{NotThreadSafe, Opaque, ScopeGuard}, 109 state: Opaque<B::State>, 136 state <- Opaque::ffi_init(|slot| unsafe { in new()
|
| H A D | arc.rs | 24 types::{ForeignOwnable, Opaque}, 146 refcount: Opaque<bindings::refcount_t>, 231 refcount: Opaque::new(unsafe { bindings::REFCOUNT_INIT(1) }), in new() 748 refcount: Opaque::new(unsafe { bindings::REFCOUNT_INIT(1) }), in new_uninit()
|
| /linux-6.15/rust/kernel/block/mq/ |
| H A D | tag_set.rs | 14 types::Opaque, 30 inner: Opaque<bindings::blk_mq_tag_set>, 62 inner <- PinInit::<_, error::Error>::pin_chain(Opaque::new(tag_set?), |tag_set| { in new()
|
| H A D | request.rs | 11 types::{ARef, AlwaysRefCounted, Opaque}, 56 pub struct Request<T: Operations>(Opaque<bindings::request>, PhantomData<T>);
|
| /linux-6.15/rust/kernel/time/ |
| H A D | hrtimer.rs | 71 use crate::{prelude::*, time::Ktime, types::Opaque}; 84 timer: Opaque<bindings::hrtimer>, 105 timer <- Opaque::ffi_init(move |place: *mut bindings::hrtimer| { in new() 135 unsafe { Opaque::raw_get(core::ptr::addr_of!((*this).timer)) } in raw_get()
|
| /linux-6.15/rust/kernel/fs/ |
| H A D | file.rs | 14 types::{ARef, AlwaysRefCounted, NotThreadSafe, Opaque}, 180 inner: Opaque<bindings::file>, 223 inner: Opaque<bindings::file>,
|
| /linux-6.15/net/ipv4/netfilter/ |
| H A D | nf_nat_snmp_basic.asn1 | 58 Opaque, 85 Opaque ::=
|
| /linux-6.15/rust/kernel/list/ |
| H A D | impl_list_item_mod.rs | 211 as *const $crate::types::Opaque<*const Self>; 212 let cell_inner = $crate::types::Opaque::raw_get(self_ptr);
|
| /linux-6.15/rust/kernel/sync/lock/ |
| H A D | global.rs | 11 types::Opaque, 50 state: Opaque::uninit(), in new()
|