Home
last modified time | relevance | path

Searched refs:PSCHED_NS2TICKS (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/net/
Dpkt_sched.h56 #define PSCHED_NS2TICKS(x) ((x) >> PSCHED_SHIFT) macro
58 #define PSCHED_TICKS_PER_SEC PSCHED_NS2TICKS(NSEC_PER_SEC)
63 return PSCHED_NS2TICKS(ktime_get_ns()); in psched_get_time()
Dpie.h91 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()
/linux-6.1.9/net/sched/
Dsch_pie.c159 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()
Dsch_tbf.c523 opt.mtu = PSCHED_NS2TICKS(q->mtu); in tbf_dump()
524 opt.buffer = PSCHED_NS2TICKS(q->buffer); in tbf_dump()
Dact_police.c355 opt.burst = PSCHED_NS2TICKS(p->tcfp_burst); in tcf_police_dump()
378 PSCHED_NS2TICKS(p->tcfp_pkt_burst), in tcf_police_dump()
Dsch_htb.c1265 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()
Dsch_netem.c1146 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()
Dsch_fq_pie.c318 PSCHED_NS2TICKS((u64)target * NSEC_PER_USEC); in fq_pie_change()
/linux-6.1.9/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c2236 burst = rate * PSCHED_NS2TICKS(a->police.burst); in vsc9959_psfp_filter_add()