Searched refs:police (Results 1 – 4 of 4) sorted by relevance
/net/sched/ |
D | act_police.c | 50 struct tcf_police *police; in tcf_police_init() local 99 police = to_police(*a); in tcf_police_init() 115 err = gen_replace_estimator(&police->tcf_bstats, in tcf_police_init() 116 police->common.cpu_bstats, in tcf_police_init() 117 &police->tcf_rate_est, in tcf_police_init() 118 &police->tcf_lock, in tcf_police_init() 124 !gen_estimator_active(&police->tcf_rate_est))) { in tcf_police_init() 203 spin_lock_bh(&police->tcf_lock); in tcf_police_init() 204 spin_lock_bh(&police->tcfp_lock); in tcf_police_init() 205 police->tcfp_t_c = ktime_get_ns(); in tcf_police_init() [all …]
|
D | act_api.c | 1317 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, bool police, in tc_action_load_ops() argument 1327 if (!police) { in tc_action_load_ops() 1383 bool police = flags & TCA_ACT_FLAGS_POLICE; in tcf_action_init_1() local 1392 if (!police) { in tcf_action_init_1() 1424 if (!police && tb[TCA_ACT_COOKIE]) in tcf_action_init_1() 1427 if (!police) in tcf_action_init_1()
|
D | cls_api.c | 3215 int police, struct tcf_proto *tp, u32 handle, in tcf_exts_init_ex() argument 3235 exts->police = police; in tcf_exts_init_ex() 3279 if (exts->police && tb[exts->police]) { in tcf_exts_validate_ex() 3282 a_o = tc_action_load_ops(tb[exts->police], true, in tcf_exts_validate_ex() 3288 act = tcf_action_init_1(net, tp, tb[exts->police], in tcf_exts_validate_ex() 3314 (exts->police && tb[exts->police])) { in tcf_exts_validate_ex() 3374 } else if (exts->police) { in tcf_exts_dump() 3376 nest = nla_nest_start_noflag(skb, exts->police); in tcf_exts_dump()
|
/net/dsa/ |
D | slave.c | 1479 policer->rate_bytes_per_sec = act->police.rate_bytes_ps; in dsa_slave_add_cls_matchall_police() 1480 policer->burst = act->police.burst; in dsa_slave_add_cls_matchall_police()
|