Home
last modified time | relevance | path

Searched refs:raw_get (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/rust/kernel/time/
H A Dhrtimer.rs131 unsafe fn raw_get(this: *const Self) -> *mut bindings::hrtimer { in raw_get() method
135 unsafe { Opaque::raw_get(core::ptr::addr_of!((*this).timer)) } in raw_get()
159 let c_timer_ptr = unsafe { HrTimer::raw_get(this) }; in raw_cancel()
358 unsafe { HrTimer::raw_get(timer_ptr) } in c_timer_ptr()
/linux-6.15/rust/kernel/
H A Dtypes.rs356 init_func(Self::raw_get(slot)); in ffi_init()
376 pin_init::pin_init_from_closure::<_, E>(move |slot| init_func(Self::raw_get(slot))) in try_ffi_init()
389 pub const fn raw_get(this: *const Self) -> *mut T { in raw_get() method
390 UnsafeCell::raw_get(this.cast::<UnsafeCell<MaybeUninit<T>>>()).cast::<T>() in raw_get()
H A Dworkqueue.rs401 pub unsafe fn raw_get(ptr: *const Self) -> *mut bindings::work_struct { in raw_get() method
406 unsafe { Opaque::raw_get(core::ptr::addr_of!((*ptr).work)) } in raw_get()
575 let work_ptr = unsafe { Work::raw_get(work_ptr) }; in __enqueue()
626 let work_ptr = unsafe { Work::raw_get(work_ptr) }; in __enqueue()
H A Dlist.rs182 unsafe { Opaque::raw_get(ptr::addr_of!((*me).inner)) } in fields()
/linux-6.15/rust/kernel/list/
H A Dimpl_list_item_mod.rs212 let cell_inner = $crate::types::Opaque::raw_get(self_ptr);
255 let cell_inner = ::core::cell::UnsafeCell::raw_get(self_ptr);
/linux-6.15/rust/pin-init/
H A DREADME.md185 let foo = UnsafeCell::raw_get(foo).cast::<bindings::foo>();