Lines Matching refs:ktime_to_ns
455 if (ktime_to_ns(ktime_sub(now, vars->blue_timer)) > p->target) { in cobalt_queue_full()
480 ktime_to_ns(ktime_sub(now, vars->blue_timer)) > p->target) { in cobalt_queue_empty()
490 if (vars->count && ktime_to_ns(ktime_sub(now, vars->drop_next)) >= 0) { in cobalt_queue_empty()
529 sojourn = ktime_to_ns(ktime_sub(now, cobalt_get_enqueue_time(skb))); in cobalt_should_drop()
534 next_due = vars->count && ktime_to_ns(schedule) >= 0; in cobalt_should_drop()
571 next_due = vars->count && ktime_to_ns(schedule) >= 0; in cobalt_should_drop()
582 else if (ktime_to_ns(schedule) > 0 && !drop) in cobalt_should_drop()
1730 min(ktime_to_ns(q->time_next_packet), in cake_enqueue()
1731 ktime_to_ns( in cake_enqueue()
1815 ktime_to_ns(ktime_sub(now, q->last_packet_time)); in cake_enqueue()
1831 ktime_to_ns(ktime_sub(now, in cake_enqueue()
1967 u64 next = min(ktime_to_ns(q->time_next_packet), in cake_dequeue()
1968 ktime_to_ns(q->failsafe_next_packet)); in cake_dequeue()
2021 if (ktime_to_ns(time_to_pkt) <= 0 || in cake_dequeue()
2188 delay = ktime_to_ns(ktime_sub(now, cobalt_get_enqueue_time(skb))); in cake_dequeue()
2200 u64 next = min(ktime_to_ns(q->time_next_packet), in cake_dequeue()
2201 ktime_to_ns(q->failsafe_next_packet)); in cake_dequeue()
2214 ktime_to_ns(next)); in cake_dequeue()