Lines Matching defs:acts
615 struct sw_flow_actions *acts;
671 &flow->key, &acts, log);
675 rcu_assign_pointer(flow->sf_acts, acts);
800 static size_t ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts,
824 len += nla_total_size(acts->orig_len);
951 static struct sk_buff *ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts,
963 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags);
1005 struct sw_flow_actions *acts;
1054 &new_flow->key, &acts, log);
1060 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false,
1080 rcu_assign_pointer(new_flow->sf_acts, acts);
1085 acts = NULL;
1129 rcu_assign_pointer(flow->sf_acts, acts);
1156 ovs_nla_free_flow_actions(acts);
1173 struct sw_flow_actions *acts;
1178 error = ovs_nla_copy_actions(net, a, &masked_key, &acts, log);
1185 return acts;
1196 * actions and save them to *acts. Before returning from
1206 struct sw_flow_actions **acts,
1228 *acts = get_flow_actions(net, a[OVS_FLOW_ATTR_ACTIONS], key,
1230 if (IS_ERR(*acts)) {
1231 error = PTR_ERR(*acts);
1251 struct sw_flow_actions *old_acts = NULL, *acts = NULL;
1267 &acts, log);
1271 if (acts) {
1272 /* Can allocate before locking if have acts. */
1273 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false,
1298 if (likely(acts)) {
1300 rcu_assign_pointer(flow->sf_acts, acts);
1312 /* Could not alloc without acts before locking. */
1339 ovs_nla_free_flow_actions(acts);