Searched refs:PSCHED_NS2TICKS (Results 1 – 9 of 9) sorted by relevance
56 #define PSCHED_NS2TICKS(x) ((x) >> PSCHED_SHIFT) macro58 #define PSCHED_TICKS_PER_SEC PSCHED_NS2TICKS(NSEC_PER_SEC)63 return PSCHED_NS2TICKS(ktime_get_ns()); in psched_get_time()
91 params->target = PSCHED_NS2TICKS(15 * NSEC_PER_MSEC); /* 15 ms */ in pie_params_init()103 vars->burst_time = PSCHED_NS2TICKS(150 * NSEC_PER_MSEC); /* 150 ms */ in pie_vars_init()
159 q->params.target = PSCHED_NS2TICKS((u64)target * NSEC_PER_USEC); in pie_change()369 if (qdelay > (PSCHED_NS2TICKS(250 * NSEC_PER_MSEC))) in pie_calculate_probability()
523 opt.mtu = PSCHED_NS2TICKS(q->mtu); in tbf_dump()524 opt.buffer = PSCHED_NS2TICKS(q->buffer); in tbf_dump()
355 opt.burst = PSCHED_NS2TICKS(p->tcfp_burst); in tcf_police_dump()378 PSCHED_NS2TICKS(p->tcfp_pkt_burst), in tcf_police_dump()
1265 opt.buffer = PSCHED_NS2TICKS(cl->buffer); in htb_dump_class()1267 opt.cbuffer = PSCHED_NS2TICKS(cl->cbuffer); in htb_dump_class()1335 cl->xstats.tokens = clamp_t(s64, PSCHED_NS2TICKS(cl->tokens), in htb_dump_class_stats()1337 cl->xstats.ctokens = clamp_t(s64, PSCHED_NS2TICKS(cl->ctokens), in htb_dump_class_stats()
1146 qopt.latency = min_t(psched_time_t, PSCHED_NS2TICKS(q->latency), in netem_dump()1148 qopt.jitter = min_t(psched_time_t, PSCHED_NS2TICKS(q->jitter), in netem_dump()
318 PSCHED_NS2TICKS((u64)target * NSEC_PER_USEC); in fq_pie_change()
2236 burst = rate * PSCHED_NS2TICKS(a->police.burst); in vsc9959_psfp_filter_add()