Lines Matching refs:acts
596 struct sw_flow_actions *acts;
649 &flow->key, &acts, log);
653 rcu_assign_pointer(flow->sf_acts, acts);
771 static size_t ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts,
795 len += nla_total_size(acts->orig_len);
922 static struct sk_buff *ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts,
934 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags);
976 struct sw_flow_actions *acts;
1025 &new_flow->key, &acts, log);
1031 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false,
1051 rcu_assign_pointer(new_flow->sf_acts, acts);
1056 acts = NULL;
1100 rcu_assign_pointer(flow->sf_acts, acts);
1127 ovs_nla_free_flow_actions(acts);
1144 struct sw_flow_actions *acts;
1149 error = ovs_nla_copy_actions(net, a, &masked_key, &acts, log);
1156 return acts;
1167 * actions and save them to *acts. Before returning from
1177 struct sw_flow_actions **acts,
1199 *acts = get_flow_actions(net, a[OVS_FLOW_ATTR_ACTIONS], key,
1201 if (IS_ERR(*acts)) {
1202 error = PTR_ERR(*acts);
1222 struct sw_flow_actions *old_acts = NULL, *acts = NULL;
1238 &acts, log);
1242 if (acts) {
1243 /* Can allocate before locking if have acts. */
1244 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false,
1269 if (likely(acts)) {
1271 rcu_assign_pointer(flow->sf_acts, acts);
1283 /* Could not alloc without acts before locking. */
1310 ovs_nla_free_flow_actions(acts);