Searched refs:HrTimer (Results 1 – 5 of 5) sorted by relevance
82 pub struct HrTimer<T> { struct91 unsafe impl<T> Send for HrTimer<T> {} implementation95 unsafe impl<T> Sync for HrTimer<T> {} implementation97 impl<T> HrTimer<T> { impl159 let c_timer_ptr = unsafe { HrTimer::raw_get(this) }; in raw_cancel()330 unsafe fn raw_get_timer(this: *const Self) -> *const HrTimer<T>; in raw_get_timer()341 unsafe fn timer_container_of(ptr: *mut HrTimer<T>) -> *mut Self in timer_container_of()358 unsafe { HrTimer::raw_get(timer_ptr) } in c_timer_ptr()495 ) -> *const $crate::time::hrtimer::HrTimer<$timer_type> {502 ptr: *mut $crate::time::hrtimer::HrTimer<$timer_type>,
4 use super::HrTimer;37 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()79 let timer_ptr = ptr.cast::<super::HrTimer<T>>(); in run()
4 use super::HrTimer;36 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()82 let timer_ptr = ptr as *mut HrTimer<T>; in run()
4 HasHrTimer, HrTimer, HrTimerCallback, HrTimerHandle, RawHrTimerCallback, UnsafeHrTimerPointer,34 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()86 let timer_ptr = ptr as *mut HrTimer<T>; in run()
4 use super::HrTimer;42 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()102 let timer_ptr = ptr.cast::<super::HrTimer<T>>(); in run()