Lines Matching refs:cur_time
219 eltree_get_mindl(struct hfsc_sched *q, u64 cur_time) in eltree_get_mindl() argument
226 if (p->cl_e > cur_time) in eltree_get_mindl()
283 vttree_firstfit(struct hfsc_class *cl, u64 cur_time) in vttree_firstfit() argument
290 if (p->cl_f <= cur_time) in vttree_firstfit()
300 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time) in vttree_get_minvt() argument
303 if (cl->cl_cfmin > cur_time) in vttree_get_minvt()
307 cl = vttree_firstfit(cl, cur_time); in vttree_get_minvt()
612 u64 cur_time = psched_get_time(); in init_ed() local
615 rtsc_min(&cl->cl_deadline, &cl->cl_rsc, cur_time, cl->cl_cumul); in init_ed()
669 u64 vt, f, cur_time; in init_vf() local
672 cur_time = 0; in init_vf()
722 if (cur_time == 0) in init_vf()
723 cur_time = psched_get_time(); in init_vf()
726 rtsc_min(&cl->cl_ulimit, &cl->cl_usc, cur_time, in init_vf()
744 update_vf(struct hfsc_class *cl, unsigned int len, u64 cur_time) in update_vf() argument
813 myf_bound = cur_time - PSCHED_JIFFIE2US(1); in update_vf()
815 delta = cur_time - cl->cl_myf; in update_vf()
877 u64 cur_time) in hfsc_change_rsc() argument
880 rtsc_init(&cl->cl_deadline, &cl->cl_rsc, cur_time, cl->cl_cumul); in hfsc_change_rsc()
899 u64 cur_time) in hfsc_change_usc() argument
902 rtsc_init(&cl->cl_ulimit, &cl->cl_usc, cur_time, cl->cl_total); in hfsc_change_usc()
923 u64 cur_time; in hfsc_change_class() local
962 cur_time = psched_get_time(); in hfsc_change_class()
978 hfsc_change_rsc(cl, rsc, cur_time); in hfsc_change_class()
982 hfsc_change_usc(cl, usc, cur_time); in hfsc_change_class()
996 update_vf(cl, 0, cur_time); in hfsc_change_class()
1584 u64 cur_time; in hfsc_dequeue() local
1591 cur_time = psched_get_time(); in hfsc_dequeue()
1598 cl = eltree_get_mindl(q, cur_time); in hfsc_dequeue()
1606 cl = vttree_get_minvt(&q->root, cur_time); in hfsc_dequeue()
1621 update_vf(cl, qdisc_pkt_len(skb), cur_time); in hfsc_dequeue()