Lines Matching refs:end_time
57 ktime_t end_time; member
883 if (ktime_compare(entry->end_time, oper->cycle_end_time) == 0) in should_restart_cycle()
891 ktime_t end_time) in should_change_schedules() argument
903 if (ktime_compare(next_base_time, end_time) <= 0) in should_change_schedules()
911 extension_time = ktime_add_ns(end_time, oper->cycle_time_extension); in should_change_schedules()
932 ktime_t end_time; in advance_sched() local
952 if (unlikely(!entry || entry->end_time == oper->base_time)) { in advance_sched()
955 end_time = next->end_time; in advance_sched()
968 end_time = ktime_add_ns(entry->end_time, next->interval); in advance_sched()
969 end_time = min_t(ktime_t, end_time, oper->cycle_end_time); in advance_sched()
975 next->gate_close_time[tc] = ktime_add_ns(entry->end_time, in advance_sched()
979 if (should_change_schedules(admin, oper, end_time)) { in advance_sched()
983 end_time = sched_base_time(admin); in advance_sched()
987 next->end_time = end_time; in advance_sched()
994 hrtimer_set_expires(&q->advance_timer, end_time); in advance_sched()
1263 first->end_time = ktime_add_ns(base, first->interval); in setup_first_end_time()