Searched refs:toks (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | act_police.c | 235 s64 now, toks, ptoks = 0; in tcf_police_act() local 260 toks = min_t(s64, now - police->tcfp_t_c, p->tcfp_burst); in tcf_police_act() 262 ptoks = toks + police->tcfp_ptoks; in tcf_police_act() 268 toks += police->tcfp_toks; in tcf_police_act() 269 if (toks > p->tcfp_burst) in tcf_police_act() 270 toks = p->tcfp_burst; in tcf_police_act() 271 toks -= (s64)psched_l2t_ns(&p->rate, qdisc_pkt_len(skb)); in tcf_police_act() 272 if ((toks|ptoks) >= 0) { in tcf_police_act() 274 police->tcfp_toks = toks; in tcf_police_act()
|
| H A D | sch_tbf.c | 263 s64 toks; in tbf_dequeue() local 268 toks = min_t(s64, now - q->t_c, q->buffer); in tbf_dequeue() 271 ptoks = toks + q->ptokens; in tbf_dequeue() 276 toks += q->tokens; in tbf_dequeue() 277 if (toks > q->buffer) in tbf_dequeue() 278 toks = q->buffer; in tbf_dequeue() 279 toks -= (s64) psched_l2t_ns(&q->rate, len); in tbf_dequeue() 281 if ((toks|ptoks) >= 0) { in tbf_dequeue() 287 q->tokens = toks; in tbf_dequeue() 296 now + max_t(long, -toks, -ptoks)); in tbf_dequeue()
|
| H A D | sch_htb.c | 502 s64 toks; in htb_class_mode() local 504 if ((toks = (cl->ctokens + *diff)) < htb_lowater(cl)) { in htb_class_mode() 505 *diff = -toks; in htb_class_mode() 509 if ((toks = (cl->tokens + *diff)) >= htb_hiwater(cl)) in htb_class_mode() 512 *diff = -toks; in htb_class_mode() 620 s64 toks = diff + cl->tokens; in htb_accnt_tokens() local 622 if (toks > cl->buffer) in htb_accnt_tokens() 623 toks = cl->buffer; in htb_accnt_tokens() 624 toks -= (s64) psched_l2t_ns(&cl->rate, bytes); in htb_accnt_tokens() 625 if (toks <= -cl->mbuffer) in htb_accnt_tokens() [all …]
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | sed-opal.c | 73 struct opal_resp_tok toks[MAX_TOKS]; member 747 tok = &resp->toks[n]; in response_get_token() 886 iter = resp->toks; in response_parse()
|
| /OK3568_Linux_fs/device/rockchip/common/images/userdata/userdata_normal/media/ |
| H A D | yuv420_p352x288.yuv | 1113 …cbabb\VMD;3/,*/20121.-////./00-/2001103,0y7(G�ukgJ.&+=Vht�������wu{~��toks��������������������…
|