Home
last modified time | relevance | path

Searched refs:Opaque (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.15/rust/kernel/
H A Ddriver.rs9 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 Dsync.rs9 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 Dplatform.rs13 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 Drevocable.rs8 use crate::{bindings, prelude::*, sync::rcu, types::Opaque};
68 data: Opaque<T>,
86 data <- Opaque::pin_init(data), in new()
H A Dpid_namespace.rs12 types::{AlwaysRefCounted, Opaque},
23 inner: Opaque<bindings::pid_namespace>,
H A Dseq_file.rs7 use crate::{bindings, c_str, types::NotThreadSafe, types::Opaque};
12 inner: Opaque<bindings::seq_file>,
H A Dcred.rs14 types::{AlwaysRefCounted, Opaque},
32 pub struct Credential(Opaque<bindings::cred>);
H A Dworkqueue.rs137 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 Dlist.rs11 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 Dtypes.rs307 pub struct Opaque<T> { struct
313 unsafe impl<T> Zeroable for Opaque<T> {} implementation
315 impl<T> Opaque<T> { impl
H A Dpci.rs17 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 Dmiscdevice.rs20 types::{ForeignOwnable, Opaque},
52 inner: Opaque<bindings::miscdevice>,
67 inner <- Opaque::try_ffi_init(move |slot: *mut bindings::miscdevice| { in register()
H A Ddevice.rs10 types::{ARef, Opaque},
45 pub struct Device(Opaque<bindings::device>);
H A Dtask.rs11 types::{ARef, NotThreadSafe, Opaque},
97 pub struct Task(pub(crate) Opaque<bindings::task_struct>);
/linux-6.15/rust/kernel/sync/
H A Dcondvar.rs16 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 Dpoll.rs12 types::Opaque,
39 pub struct PollTable(Opaque<bindings::poll_table>);
H A Dlock.rs11 types::{NotThreadSafe, Opaque, ScopeGuard},
109 state: Opaque<B::State>,
136 state <- Opaque::ffi_init(|slot| unsafe { in new()
H A Darc.rs24 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 Dtag_set.rs14 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 Drequest.rs11 types::{ARef, AlwaysRefCounted, Opaque},
56 pub struct Request<T: Operations>(Opaque<bindings::request>, PhantomData<T>);
/linux-6.15/rust/kernel/time/
H A Dhrtimer.rs71 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 Dfile.rs14 types::{ARef, AlwaysRefCounted, NotThreadSafe, Opaque},
180 inner: Opaque<bindings::file>,
223 inner: Opaque<bindings::file>,
/linux-6.15/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic.asn158 Opaque,
85 Opaque ::=
/linux-6.15/rust/kernel/list/
H A Dimpl_list_item_mod.rs211 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 Dglobal.rs11 types::Opaque,
50 state: Opaque::uninit(), in new()

12