Lines Matching defs:cur_time
240 eltree_get_mindl(struct hfsc_sched *q, u64 cur_time)
247 if (p->cl_e > cur_time)
304 vttree_firstfit(struct hfsc_class *cl, u64 cur_time)
311 if (p->cl_f <= cur_time)
321 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time)
323 /* if root-class's cfmin is bigger than cur_time nothing to do */
324 if (cl->cl_cfmin > cur_time)
328 cl = vttree_firstfit(cl, cur_time);
632 u64 cur_time = psched_get_time();
635 rtsc_min(&cl->cl_deadline, &cl->cl_rsc, cur_time, cl->cl_cumul);
689 u64 vt, f, cur_time;
692 cur_time = 0;
754 if (cur_time == 0)
755 cur_time = psched_get_time();
758 rtsc_min(&cl->cl_ulimit, &cl->cl_usc, cur_time,
777 update_vf(struct hfsc_class *cl, unsigned int len, u64 cur_time)
944 u64 cur_time)
947 rtsc_init(&cl->cl_deadline, &cl->cl_rsc, cur_time, cl->cl_cumul);
966 u64 cur_time)
969 rtsc_init(&cl->cl_ulimit, &cl->cl_usc, cur_time, cl->cl_total);
983 u64 cur_time;
1019 cur_time = psched_get_time();
1023 hfsc_change_rsc(cl, rsc, cur_time);
1027 hfsc_change_usc(cl, usc, cur_time);
1033 update_vf(cl, 0, cur_time);
1600 u64 cur_time;
1609 cur_time = psched_get_time();
1616 if ((cl = eltree_get_mindl(q, cur_time)) != NULL) {
1623 cl = vttree_get_minvt(&q->root, cur_time);
1638 update_vf(cl, skb->len, cur_time);