Lines Matching refs:cur_time

218 eltree_get_mindl(struct hfsc_sched *q, u64 cur_time)  in eltree_get_mindl()  argument
225 if (p->cl_e > cur_time) in eltree_get_mindl()
282 vttree_firstfit(struct hfsc_class *cl, u64 cur_time) in vttree_firstfit() argument
289 if (p->cl_f <= cur_time) in vttree_firstfit()
299 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time) in vttree_get_minvt() argument
302 if (cl->cl_cfmin > cur_time) in vttree_get_minvt()
306 cl = vttree_firstfit(cl, cur_time); in vttree_get_minvt()
611 u64 cur_time = psched_get_time(); in init_ed() local
614 rtsc_min(&cl->cl_deadline, &cl->cl_rsc, cur_time, cl->cl_cumul); in init_ed()
668 u64 vt, f, cur_time; in init_vf() local
671 cur_time = 0; in init_vf()
721 if (cur_time == 0) in init_vf()
722 cur_time = psched_get_time(); in init_vf()
725 rtsc_min(&cl->cl_ulimit, &cl->cl_usc, cur_time, in init_vf()
743 update_vf(struct hfsc_class *cl, unsigned int len, u64 cur_time) in update_vf() argument
812 myf_bound = cur_time - PSCHED_JIFFIE2US(1); in update_vf()
814 delta = cur_time - cl->cl_myf; in update_vf()
876 u64 cur_time) in hfsc_change_rsc() argument
879 rtsc_init(&cl->cl_deadline, &cl->cl_rsc, cur_time, cl->cl_cumul); in hfsc_change_rsc()
898 u64 cur_time) in hfsc_change_usc() argument
901 rtsc_init(&cl->cl_ulimit, &cl->cl_usc, cur_time, cl->cl_total); in hfsc_change_usc()
930 u64 cur_time; in hfsc_change_class() local
969 cur_time = psched_get_time(); in hfsc_change_class()
985 hfsc_change_rsc(cl, rsc, cur_time); in hfsc_change_class()
989 hfsc_change_usc(cl, usc, cur_time); in hfsc_change_class()
1003 update_vf(cl, 0, cur_time); in hfsc_change_class()
1591 u64 cur_time; in hfsc_dequeue() local
1598 cur_time = psched_get_time(); in hfsc_dequeue()
1605 cl = eltree_get_mindl(q, cur_time); in hfsc_dequeue()
1613 cl = vttree_get_minvt(&q->root, cur_time); in hfsc_dequeue()
1628 update_vf(cl, qdisc_pkt_len(skb), cur_time); in hfsc_dequeue()