police 3999 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c err = apply_police_params(priv, act->police.rate_bytes_ps, extack); police 56 drivers/net/ethernet/mscc/ocelot_tc.c pol.rate = (u32)div_u64(action->police.rate_bytes_ps, 1000) * 8; police 57 drivers/net/ethernet/mscc/ocelot_tc.c pol.burst = (u32)div_u64(action->police.rate_bytes_ps * police 58 drivers/net/ethernet/mscc/ocelot_tc.c PSCHED_NS2TICKS(action->police.burst), police 106 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c rate = action->police.rate_bytes_ps; police 107 drivers/net/ethernet/netronome/nfp/flower/qos_conf.c burst = div_u64(rate * PSCHED_NS2TICKS(action->police.burst), police 195 include/net/flow_offload.h } police; police 200 include/net/pkt_cls.h int police; police 204 include/net/pkt_cls.h int action, int police) police 216 include/net/pkt_cls.h exts->police = police; police 54 include/net/tc_act/tc_police.h struct tcf_police *police = to_police(act); police 57 include/net/tc_act/tc_police.h params = rcu_dereference_bh_rtnl(police->params); police 63 include/net/tc_act/tc_police.h struct tcf_police *police = to_police(act); police 66 include/net/tc_act/tc_police.h params = rcu_dereference_bh_rtnl(police->params); police 508 include/uapi/linux/pkt_sched.h unsigned char police; police 57 net/sched/act_police.c struct tcf_police *police; police 105 net/sched/act_police.c police = to_police(*a); police 121 net/sched/act_police.c err = gen_replace_estimator(&police->tcf_bstats, police 122 net/sched/act_police.c police->common.cpu_bstats, police 123 net/sched/act_police.c &police->tcf_rate_est, police 124 net/sched/act_police.c &police->tcf_lock, police 130 net/sched/act_police.c !gen_estimator_active(&police->tcf_rate_est))) { police 186 net/sched/act_police.c spin_lock_bh(&police->tcf_lock); police 187 net/sched/act_police.c spin_lock_bh(&police->tcfp_lock); police 188 net/sched/act_police.c police->tcfp_t_c = ktime_get_ns(); police 189 net/sched/act_police.c police->tcfp_toks = new->tcfp_burst; police 191 net/sched/act_police.c police->tcfp_ptoks = new->tcfp_mtu_ptoks; police 192 net/sched/act_police.c spin_unlock_bh(&police->tcfp_lock); police 194 net/sched/act_police.c rcu_swap_protected(police->params, police 196 net/sched/act_police.c lockdep_is_held(&police->tcf_lock)); police 197 net/sched/act_police.c spin_unlock_bh(&police->tcf_lock); police 221 net/sched/act_police.c struct tcf_police *police = to_police(a); police 226 net/sched/act_police.c tcf_lastuse_update(&police->tcf_tm); police 227 net/sched/act_police.c bstats_cpu_update(this_cpu_ptr(police->common.cpu_bstats), skb); police 229 net/sched/act_police.c ret = READ_ONCE(police->tcf_action); police 230 net/sched/act_police.c p = rcu_dereference_bh(police->params); police 235 net/sched/act_police.c if (!gen_estimator_read(&police->tcf_rate_est, &sample) || police 247 net/sched/act_police.c spin_lock_bh(&police->tcfp_lock); police 248 net/sched/act_police.c toks = min_t(s64, now - police->tcfp_t_c, p->tcfp_burst); police 250 net/sched/act_police.c ptoks = toks + police->tcfp_ptoks; police 256 net/sched/act_police.c toks += police->tcfp_toks; police 261 net/sched/act_police.c police->tcfp_t_c = now; police 262 net/sched/act_police.c police->tcfp_toks = toks; police 263 net/sched/act_police.c police->tcfp_ptoks = ptoks; police 264 net/sched/act_police.c spin_unlock_bh(&police->tcfp_lock); police 268 net/sched/act_police.c spin_unlock_bh(&police->tcfp_lock); police 272 net/sched/act_police.c qstats_overlimit_inc(this_cpu_ptr(police->common.cpu_qstats)); police 275 net/sched/act_police.c qstats_drop_inc(this_cpu_ptr(police->common.cpu_qstats)); police 282 net/sched/act_police.c struct tcf_police *police = to_police(a); police 285 net/sched/act_police.c p = rcu_dereference_protected(police->params, 1); police 294 net/sched/act_police.c struct tcf_police *police = to_police(a); police 295 net/sched/act_police.c struct tcf_t *tm = &police->tcf_tm; police 308 net/sched/act_police.c struct tcf_police *police = to_police(a); police 311 net/sched/act_police.c .index = police->tcf_index, police 312 net/sched/act_police.c .refcnt = refcount_read(&police->tcf_refcnt) - ref, police 313 net/sched/act_police.c .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, police 317 net/sched/act_police.c spin_lock_bh(&police->tcf_lock); police 318 net/sched/act_police.c opt.action = police->tcf_action; police 319 net/sched/act_police.c p = rcu_dereference_protected(police->params, police 320 net/sched/act_police.c lockdep_is_held(&police->tcf_lock)); police 325 net/sched/act_police.c if ((police->params->rate.rate_bytes_ps >= (1ULL << 32)) && police 327 net/sched/act_police.c police->params->rate.rate_bytes_ps, police 333 net/sched/act_police.c if ((police->params->peak.rate_bytes_ps >= (1ULL << 32)) && police 335 net/sched/act_police.c police->params->peak.rate_bytes_ps, police 348 net/sched/act_police.c t.install = jiffies_to_clock_t(jiffies - police->tcf_tm.install); police 349 net/sched/act_police.c t.lastuse = jiffies_to_clock_t(jiffies - police->tcf_tm.lastuse); police 350 net/sched/act_police.c t.firstuse = jiffies_to_clock_t(jiffies - police->tcf_tm.firstuse); police 351 net/sched/act_police.c t.expires = jiffies_to_clock_t(police->tcf_tm.expires); police 354 net/sched/act_police.c spin_unlock_bh(&police->tcf_lock); police 359 net/sched/act_police.c spin_unlock_bh(&police->tcf_lock); police 3018 net/sched/cls_api.c if (exts->police && tb[exts->police]) { police 3019 net/sched/cls_api.c act = tcf_action_init_1(net, tp, tb[exts->police], police 3043 net/sched/cls_api.c (exts->police && tb[exts->police])) { police 3093 net/sched/cls_api.c } else if (exts->police) { police 3095 net/sched/cls_api.c nest = nla_nest_start_noflag(skb, exts->police); police 3534 net/sched/cls_api.c entry->police.burst = tcf_police_tcfp_burst(act); police 3535 net/sched/cls_api.c entry->police.rate_bytes_ps = police 507 tools/include/uapi/linux/pkt_sched.h unsigned char police;