Home
last modified time | relevance | path

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

/linux-6.15/rust/kernel/time/
H A Dhrtimer.rs82 pub struct HrTimer<T> { struct
91 unsafe impl<T> Send for HrTimer<T> {} implementation
95 unsafe impl<T> Sync for HrTimer<T> {} implementation
97 impl<T> HrTimer<T> { impl
159 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>,
/linux-6.15/rust/kernel/time/hrtimer/
H A Darc.rs4 use super::HrTimer;
37 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()
79 let timer_ptr = ptr.cast::<super::HrTimer<T>>(); in run()
H A Dpin.rs4 use super::HrTimer;
36 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()
82 let timer_ptr = ptr as *mut HrTimer<T>; in run()
H A Dpin_mut.rs4 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()
H A Dtbox.rs4 use super::HrTimer;
42 unsafe { HrTimer::<T>::raw_cancel(timer_ptr) } in cancel()
102 let timer_ptr = ptr.cast::<super::HrTimer<T>>(); in run()