Lines Matching defs:act
73 const struct flow_action_entry *act,
78 if (act->police.exceed.act_id != FLOW_ACTION_DROP) {
84 if (act->police.notexceed.act_id != FLOW_ACTION_PIPE &&
85 act->police.notexceed.act_id != FLOW_ACTION_ACCEPT) {
91 if (act->police.notexceed.act_id == FLOW_ACTION_ACCEPT &&
92 !flow_action_is_last_entry(action, act)) {
98 if (act->police.peakrate_bytes_ps ||
99 act->police.avrate || act->police.overhead) {
105 if (act->police.rate_pkt_ps) {
134 struct flow_action_entry *act,
145 err = lan966x_police_validate(port, action, act, police_id, ingress,
152 pol.rate = div_u64(act->police.rate_bytes_ps, 1000) * 8;
153 pol.burst = act->police.burst;