Home
last modified time | relevance | path

Searched refs:cycle (Results 1 – 2 of 2) sorted by relevance

/net/sched/
Dact_gate.c38 ktime_t now, base, cycle; in gate_get_start_time() local
49 cycle = param->tcfg_cycletime; in gate_get_start_time()
51 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_get_start_time()
52 *start = ktime_add_ns(base, (n + 1) * cycle); in gate_get_start_time()
99 ktime_t cycle, base; in gate_timer_func() local
102 cycle = p->tcfg_cycletime; in gate_timer_func()
104 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_timer_func()
105 close_time = ktime_add_ns(base, (n + 1) * cycle); in gate_timer_func()
406 ktime_t cycle = 0; in tcf_gate_init() local
409 cycle = ktime_add_ns(cycle, entry->interval); in tcf_gate_init()
[all …]
Dsch_taprio.c326 ktime_t earliest_txtime = KTIME_MAX, txtime, cycle, transmit_end_time; in find_entry_to_transmit() local
343 cycle = sched->cycle_time; in find_entry_to_transmit()
346 cycle_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit()
377 *interval_start = ktime_add_ns(curr_intv_start, cycle); in find_entry_to_transmit()
378 *interval_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit()
384 n = div_s64(ktime_sub(txtime, curr_intv_start), cycle); in find_entry_to_transmit()
385 *interval_start = ktime_add(curr_intv_start, n * cycle); in find_entry_to_transmit()
386 *interval_end = ktime_add(curr_intv_end, n * cycle); in find_entry_to_transmit()
1159 ktime_t cycle = 0; in parse_taprio_schedule() local
1162 cycle = ktime_add_ns(cycle, entry->interval); in parse_taprio_schedule()
[all …]