Lines Matching refs:cur_time
227 eltree_get_mindl(struct hfsc_sched *q, u64 cur_time) in eltree_get_mindl() argument
234 if (p->cl_e > cur_time) in eltree_get_mindl()
291 vttree_firstfit(struct hfsc_class *cl, u64 cur_time) in vttree_firstfit() argument
298 if (p->cl_f <= cur_time) in vttree_firstfit()
308 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time) in vttree_get_minvt() argument
311 if (cl->cl_cfmin > cur_time) in vttree_get_minvt()
315 cl = vttree_firstfit(cl, cur_time); in vttree_get_minvt()
620 u64 cur_time = psched_get_time(); in init_ed() local
623 rtsc_min(&cl->cl_deadline, &cl->cl_rsc, cur_time, cl->cl_cumul); in init_ed()
677 u64 vt, f, cur_time; in init_vf() local
680 cur_time = 0; in init_vf()
742 if (cur_time == 0) in init_vf()
743 cur_time = psched_get_time(); in init_vf()
746 rtsc_min(&cl->cl_ulimit, &cl->cl_usc, cur_time, in init_vf()
765 update_vf(struct hfsc_class *cl, unsigned int len, u64 cur_time) in update_vf() argument
835 myf_bound = cur_time - PSCHED_JIFFIE2US(1); in update_vf()
837 delta = cur_time - cl->cl_myf; in update_vf()
934 u64 cur_time) in hfsc_change_rsc() argument
937 rtsc_init(&cl->cl_deadline, &cl->cl_rsc, cur_time, cl->cl_cumul); in hfsc_change_rsc()
956 u64 cur_time) in hfsc_change_usc() argument
959 rtsc_init(&cl->cl_ulimit, &cl->cl_usc, cur_time, cl->cl_total); in hfsc_change_usc()
979 u64 cur_time; in hfsc_change_class() local
1015 cur_time = psched_get_time(); in hfsc_change_class()
1030 hfsc_change_rsc(cl, rsc, cur_time); in hfsc_change_class()
1034 hfsc_change_usc(cl, usc, cur_time); in hfsc_change_class()
1040 update_vf(cl, 0, cur_time); in hfsc_change_class()
1618 u64 cur_time; in hfsc_dequeue() local
1625 cur_time = psched_get_time(); in hfsc_dequeue()
1632 cl = eltree_get_mindl(q, cur_time); in hfsc_dequeue()
1640 cl = vttree_get_minvt(&q->root, cur_time); in hfsc_dequeue()
1655 update_vf(cl, qdisc_pkt_len(skb), cur_time); in hfsc_dequeue()