Home
last modified time | relevance | path

Searched refs:to_police (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/tc_act/
H A Dtc_police.h34 #define to_police(pc) ((struct tcf_police *)pc) macro
58 struct tcf_police *police = to_police(act); in tcf_police_rate_bytes_ps()
68 struct tcf_police *police = to_police(act); in tcf_police_burst()
106 struct tcf_police *police = to_police(act); in tcf_police_rate_pkt_ps()
116 struct tcf_police *police = to_police(act); in tcf_police_burst_pkt()
154 struct tcf_police *police = to_police(act); in tcf_police_tcfp_mtu()
164 struct tcf_police *police = to_police(act); in tcf_police_peakrate_bytes_ps()
174 struct tcf_police *police = to_police(act); in tcf_police_tcfp_ewma_rate()
184 struct tcf_police *police = to_police(act); in tcf_police_rate_overhead()
/openbmc/linux/net/sched/
H A Dact_police.c90 spin_lock_init(&(to_police(*a)->tcfp_lock)); in tcf_police_init()
99 police = to_police(*a); in tcf_police_init()
251 struct tcf_police *police = to_police(a); in tcf_police_act()
321 struct tcf_police *police = to_police(a); in tcf_police_cleanup()
333 struct tcf_police *police = to_police(a); in tcf_police_stats_update()
344 struct tcf_police *police = to_police(a); in tcf_police_dump()
444 struct tcf_police *police = to_police(act); in tcf_police_offload_act_setup()