Lines Matching refs:k_itimer

105 static struct k_itimer *__lock_timer(timer_t timer_id, unsigned long *flags);
108 ({ struct k_itimer *__timr; \
118 static struct k_itimer *__posix_timers_find(struct hlist_head *head, in __posix_timers_find()
122 struct k_itimer *timer; in __posix_timers_find()
132 static struct k_itimer *posix_timer_by_id(timer_t id) in posix_timer_by_id()
140 static int posix_timer_add(struct k_itimer *timer) in posix_timer_add()
164 static inline void unlock_timer(struct k_itimer *timr, unsigned long flags) in unlock_timer()
276 sizeof(struct k_itimer), 0, in init_posix_timers()
286 static inline int timer_overrun_to_int(struct k_itimer *timr, int baseval) in timer_overrun_to_int()
293 static void common_hrtimer_rearm(struct k_itimer *timr) in common_hrtimer_rearm()
315 struct k_itimer *timr; in posixtimer_rearm()
336 int posix_timer_event(struct k_itimer *timr, int si_private) in posix_timer_event()
368 struct k_itimer *timr; in posix_timer_fn()
373 timr = container_of(timer, struct k_itimer, it.real.timer); in posix_timer_fn()
455 static struct k_itimer * alloc_posix_timer(void) in alloc_posix_timer()
457 struct k_itimer *tmr; in alloc_posix_timer()
471 struct k_itimer *tmr = container_of(head, struct k_itimer, rcu); in k_itimer_rcu_free()
478 static void release_posix_timer(struct k_itimer *tmr, int it_id_set) in release_posix_timer()
491 static int common_timer_create(struct k_itimer *new_timer) in common_timer_create()
502 struct k_itimer *new_timer; in do_timer_create()
614 static struct k_itimer *__lock_timer(timer_t timer_id, unsigned long *flags) in __lock_timer()
616 struct k_itimer *timr; in __lock_timer()
640 static ktime_t common_hrtimer_remaining(struct k_itimer *timr, ktime_t now) in common_hrtimer_remaining()
647 static s64 common_hrtimer_forward(struct k_itimer *timr, ktime_t now) in common_hrtimer_forward()
670 void common_timer_get(struct k_itimer *timr, struct itimerspec64 *cur_setting) in common_timer_get()
717 struct k_itimer *timr; in do_timer_gettime()
779 struct k_itimer *timr; in SYSCALL_DEFINE1()
793 static void common_hrtimer_arm(struct k_itimer *timr, ktime_t expires, in common_hrtimer_arm()
823 static int common_hrtimer_try_to_cancel(struct k_itimer *timr) in common_hrtimer_try_to_cancel()
828 static void common_timer_wait_running(struct k_itimer *timer) in common_timer_wait_running()
839 static struct k_itimer *timer_wait_running(struct k_itimer *timer, in timer_wait_running()
858 int common_timer_set(struct k_itimer *timr, int flags, in common_timer_set()
903 struct k_itimer *timr; in do_timer_settime()
983 int common_timer_del(struct k_itimer *timer) in common_timer_del()
994 static inline int timer_delete_hook(struct k_itimer *timer) in timer_delete_hook()
1006 struct k_itimer *timer; in SYSCALL_DEFINE1()
1038 static void itimer_delete(struct k_itimer *timer) in itimer_delete()
1059 struct k_itimer *tmr; in exit_itimers()
1062 tmr = list_entry(sig->posix_timers.next, struct k_itimer, list); in exit_itimers()