Lines Matching refs:params
26 struct tcf_police_params __rcu *params; member
51 struct tcf_police_params *params; in tcf_police_rate_bytes_ps() local
53 params = rcu_dereference_protected(police->params, in tcf_police_rate_bytes_ps()
55 return params->rate.rate_bytes_ps; in tcf_police_rate_bytes_ps()
61 struct tcf_police_params *params; in tcf_police_burst() local
64 params = rcu_dereference_protected(police->params, in tcf_police_burst()
90 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst()
99 struct tcf_police_params *params; in tcf_police_rate_pkt_ps() local
101 params = rcu_dereference_protected(police->params, in tcf_police_rate_pkt_ps()
103 return params->ppsrate.rate_pkts_ps; in tcf_police_rate_pkt_ps()
109 struct tcf_police_params *params; in tcf_police_burst_pkt() local
112 params = rcu_dereference_protected(police->params, in tcf_police_burst_pkt()
138 burst = div_u64(params->tcfp_pkt_burst * params->ppsrate.rate_pkts_ps, in tcf_police_burst_pkt()
147 struct tcf_police_params *params; in tcf_police_tcfp_mtu() local
149 params = rcu_dereference_protected(police->params, in tcf_police_tcfp_mtu()
151 return params->tcfp_mtu; in tcf_police_tcfp_mtu()
157 struct tcf_police_params *params; in tcf_police_peakrate_bytes_ps() local
159 params = rcu_dereference_protected(police->params, in tcf_police_peakrate_bytes_ps()
161 return params->peak.rate_bytes_ps; in tcf_police_peakrate_bytes_ps()
167 struct tcf_police_params *params; in tcf_police_tcfp_ewma_rate() local
169 params = rcu_dereference_protected(police->params, in tcf_police_tcfp_ewma_rate()
171 return params->tcfp_ewma_rate; in tcf_police_tcfp_ewma_rate()
177 struct tcf_police_params *params; in tcf_police_rate_overhead() local
179 params = rcu_dereference_protected(police->params, in tcf_police_rate_overhead()
181 return params->rate.overhead; in tcf_police_rate_overhead()