Lines Matching defs:next
335 * could also be in the next month or year. This is a common
345 * be next month. An alarm matching on the 30th, 29th, or 28th
431 * the is alarm set for the next second and the second ticks
799 * the next alarm event appropriately.
807 struct timerqueue_node *next = timerqueue_getnext(&rtc->timerqueue);
820 while (next) {
821 if (next->expires >= now)
823 next = timerqueue_iterate_next(next);
828 if (!next || ktime_before(timer->node.expires, next->expires)) {
862 * the next alarm event appropriately.
870 struct timerqueue_node *next = timerqueue_getnext(&rtc->timerqueue);
875 if (next == &timer->node) {
879 next = timerqueue_getnext(&rtc->timerqueue);
880 if (!next) {
884 alarm.time = rtc_ktime_to_tm(next->expires);
898 * Expires rtc timers. Reprograms next alarm event if needed.
906 struct timerqueue_node *next;
917 while ((next = timerqueue_getnext(&rtc->timerqueue))) {
918 if (next->expires > now)
922 timer = container_of(next, struct rtc_timer, node);
940 /* Set next alarm */
941 if (next) {
946 alarm.time = rtc_ktime_to_tm(next->expires);
956 timer = container_of(next, struct rtc_timer, node);