Lines Matching defs:alarm
160 static void alarmtimer_enqueue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_enqueue()
178 static void alarmtimer_dequeue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_dequeue()
199 struct alarm *alarm = container_of(timer, struct alarm, timer); in alarmtimer_fired() local
225 ktime_t alarm_expires_remaining(const struct alarm *alarm) in alarm_expires_remaining()
326 __alarm_init(struct alarm *alarm, enum alarmtimer_type type, in __alarm_init()
327 enum alarmtimer_restart (*function)(struct alarm *, ktime_t)) in __alarm_init()
342 void alarm_init(struct alarm *alarm, enum alarmtimer_type type, in alarm_init()
343 enum alarmtimer_restart (*function)(struct alarm *, ktime_t)) in alarm_init()
356 void alarm_start(struct alarm *alarm, ktime_t start) in alarm_start()
376 void alarm_start_relative(struct alarm *alarm, ktime_t start) in alarm_start_relative()
385 void alarm_restart(struct alarm *alarm) in alarm_restart()
405 int alarm_try_to_cancel(struct alarm *alarm) in alarm_try_to_cancel()
429 int alarm_cancel(struct alarm *alarm) in alarm_cancel()
441 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval) in alarm_forward()
473 u64 alarm_forward_now(struct alarm *alarm, ktime_t interval) in alarm_forward_now()
536 static enum alarmtimer_restart alarm_handle_timer(struct alarm *alarm, in alarm_handle_timer()
572 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_rearm() local
585 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_forward() local
597 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_remaining() local
634 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_arm() local
727 static enum alarmtimer_restart alarmtimer_nsleep_wakeup(struct alarm *alarm, in alarmtimer_nsleep_wakeup()
746 static int alarmtimer_do_nsleep(struct alarm *alarm, ktime_t absexp, in alarmtimer_do_nsleep()
786 alarm_init_on_stack(struct alarm *alarm, enum alarmtimer_type type, in alarm_init_on_stack()
787 enum alarmtimer_restart (*function)(struct alarm *, ktime_t)) in alarm_init_on_stack()
804 struct alarm alarm; in alarm_timer_nsleep_restart() local
824 struct alarm alarm; in alarm_timer_nsleep() local