Home
last modified time | relevance | path

Searched refs:HrTimer (Results 1 – 5 of 5) sorted by relevance

/linux/rust/kernel/time/
H A Dhrtimer.rs87 pub struct HrTimer<T> { struct
95 unsafe impl<T> Send for HrTimer<T> {} implementation
99 unsafe impl<T> Sync for HrTimer<T> {} implementation
101 impl<T> HrTimer<T> { impl
163 let c_timer_ptr = unsafe { HrTimer::raw_get(this) }; in raw_cancel()
236 let c_timer_ptr = unsafe { HrTimer::raw_get(self) }; in expires()
444 unsafe fn raw_get_timer(this: *const Self) -> *const HrTimer<T>; in raw_get_timer()
455 unsafe fn timer_container_of(ptr: *mut HrTimer<T>) -> *mut Self in timer_container_of()
472 unsafe { HrTimer::raw_get(timer_ptr) } in c_timer_ptr()
692 pub struct HrTimerCallbackContext<'a, T: HasHrTimer<T>>(NonNull<HrTimer<T>>, PhantomData<&'a ()>);
[all …]
/linux/rust/kernel/time/hrtimer/
H A Darc.rs4 use super::HrTimer;
38 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()
84 let timer_ptr = ptr.cast::<super::HrTimer<T>>(); in run()
H A Dpin.rs4 use super::HrTimer;
37 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()
87 let timer_ptr = ptr.cast::<HrTimer<T>>(); in run()
H A Dpin_mut.rs4 HasHrTimer, HrTimer, HrTimerCallback, HrTimerCallbackContext, HrTimerHandle, HrTimerMode,
34 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()
90 let timer_ptr = ptr.cast::<HrTimer<T>>(); in run()
H A Dtbox.rs4 use super::HrTimer;
43 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()
107 let timer_ptr = ptr.cast::<super::HrTimer<T>>(); in run()