MCPcopy Create free account
hub / github.com/F-Stack/f-stack / timer_setup

Function timer_setup

freebsd/contrib/openzfs/include/os/linux/spl/sys/timer.h:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71#ifndef HAVE_KERNEL_TIMER_SETUP
72
73static inline void
74timer_setup(struct timer_list *timer, void (*func)(spl_timer_list_t), u32 fl)
75{
76#ifdef HAVE_KERNEL_TIMER_LIST_FLAGS
77 (timer)->flags = fl;
78#endif
79 init_timer(timer);
80 setup_timer(timer, func, (spl_timer_list_t)(timer));
81}
82
83#endif /* HAVE_KERNEL_TIMER_SETUP */
84

Callers 2

taskq_init_entFunction · 0.85
spl_io_schedule_timeoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected