Home
last modified time | relevance | path

Searched refs:UnsafeHrTimerPointer (Results 1 – 3 of 3) sorted by relevance

/linux/rust/kernel/time/hrtimer/
H A Dpin.rs9 use super::UnsafeHrTimerPointer;
51 unsafe impl<'a, T> UnsafeHrTimerPointer for Pin<&'a T>
H A Dpin_mut.rs5 UnsafeHrTimerPointer,
49 unsafe impl<'a, T> UnsafeHrTimerPointer for Pin<&'a mut T>
/linux/rust/kernel/time/
H A Dhrtimer.rs208 /// [`UnsafeHrTimerPointer`] outlives any associated [`HrTimerPointer::TimerHandle`]
210 pub unsafe trait UnsafeHrTimerPointer: Sync + Sized { interface
254 // SAFETY: By the safety requirement of [`UnsafeHrTimerPointer`], dropping the
255 // handle returned by [`UnsafeHrTimerPointer::start`] ensures that the timer is
259 T: UnsafeHrTimerPointer,
265 expires: <<T as UnsafeHrTimerPointer>::TimerMode as HrTimerMode>::Expires, in start_scoped()
272 let handle = unsafe { UnsafeHrTimerPointer::start(self, expires) }; in start_scoped()