25 #ifndef __MOTR_LIB_TIMER_H__ 26 #define __MOTR_LIB_TIMER_H__ M0_INTERNAL void m0_timer_locality_fini(struct m0_timer_locality *loc)
void(* tmr_start)(struct m0_timer *timer)
M0_INTERNAL int m0_timer_thread_attach(struct m0_timer_locality *loc)
int(* tmr_init)(struct m0_timer *timer, struct m0_timer_locality *loc)
M0_INTERNAL void m0_timer_thread_detach(struct m0_timer_locality *loc)
M0_INTERNAL int m0_timer_init(struct m0_timer *timer, enum m0_timer_type type, struct m0_timer_locality *loc, m0_timer_callback_t callback, unsigned long data)
M0_INTERNAL void m0_timer_fini(struct m0_timer *timer)
M0_INTERNAL void m0_timer_stop(struct m0_timer *timer)
M0_INTERNAL void m0_timer_start(struct m0_timer *timer, m0_time_t expire)
M0_INTERNAL bool m0_timer_is_started(const struct m0_timer *timer)
unsigned long(* m0_timer_callback_t)(unsigned long data)
M0_INTERNAL void m0_timer_locality_init(struct m0_timer_locality *loc)
void(* tmr_fini)(struct m0_timer *timer)
void(* tmr_stop)(struct m0_timer *timer)
M0_INTERNAL void m0_timer_callback_execute(struct m0_timer *timer)