Lines Matching refs:params

25 	struct tcf_police_params __rcu *params;  member
59 struct tcf_police_params *params; in tcf_police_rate_bytes_ps() local
61 params = rcu_dereference_protected(police->params, in tcf_police_rate_bytes_ps()
63 return params->rate.rate_bytes_ps; in tcf_police_rate_bytes_ps()
69 struct tcf_police_params *params; in tcf_police_burst() local
72 params = rcu_dereference_protected(police->params, in tcf_police_burst()
98 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst()
107 struct tcf_police_params *params; in tcf_police_rate_pkt_ps() local
109 params = rcu_dereference_protected(police->params, in tcf_police_rate_pkt_ps()
111 return params->ppsrate.rate_pkts_ps; in tcf_police_rate_pkt_ps()
117 struct tcf_police_params *params; in tcf_police_burst_pkt() local
120 params = rcu_dereference_protected(police->params, in tcf_police_burst_pkt()
146 burst = div_u64(params->tcfp_pkt_burst * params->ppsrate.rate_pkts_ps, in tcf_police_burst_pkt()
155 struct tcf_police_params *params; in tcf_police_tcfp_mtu() local
157 params = rcu_dereference_protected(police->params, in tcf_police_tcfp_mtu()
159 return params->tcfp_mtu; in tcf_police_tcfp_mtu()
165 struct tcf_police_params *params; in tcf_police_peakrate_bytes_ps() local
167 params = rcu_dereference_protected(police->params, in tcf_police_peakrate_bytes_ps()
169 return params->peak.rate_bytes_ps; in tcf_police_peakrate_bytes_ps()
175 struct tcf_police_params *params; in tcf_police_tcfp_ewma_rate() local
177 params = rcu_dereference_protected(police->params, in tcf_police_tcfp_ewma_rate()
179 return params->tcfp_ewma_rate; in tcf_police_tcfp_ewma_rate()
185 struct tcf_police_params *params; in tcf_police_rate_overhead() local
187 params = rcu_dereference_protected(police->params, in tcf_police_rate_overhead()
189 return params->rate.overhead; in tcf_police_rate_overhead()