Searched refs:HrTimer (Results 1 – 5 of 5) sorted by relevance
87 pub struct HrTimer<T> { struct95 unsafe impl<T> Send for HrTimer<T> {} implementation99 unsafe impl<T> Sync for HrTimer<T> {} implementation101 impl<T> HrTimer<T> { impl163 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 …]
4 use super::HrTimer;38 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()84 let timer_ptr = ptr.cast::<super::HrTimer<T>>(); in run()
4 use super::HrTimer;37 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()87 let timer_ptr = ptr.cast::<HrTimer<T>>(); in run()
4 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()
4 use super::HrTimer;43 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()107 let timer_ptr = ptr.cast::<super::HrTimer<T>>(); in run()