Lines Matching refs:acts
558 struct sw_flow_actions *acts;
611 &flow->key, &acts, log);
615 rcu_assign_pointer(flow->sf_acts, acts);
732 static size_t ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts,
756 len += nla_total_size(acts->orig_len);
883 static struct sk_buff *ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts,
895 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags);
937 struct sw_flow_actions *acts;
986 &new_flow->key, &acts, log);
992 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false,
1012 rcu_assign_pointer(new_flow->sf_acts, acts);
1017 acts = NULL;
1061 rcu_assign_pointer(flow->sf_acts, acts);
1088 ovs_nla_free_flow_actions(acts);
1105 struct sw_flow_actions *acts;
1110 error = ovs_nla_copy_actions(net, a, &masked_key, &acts, log);
1117 return acts;
1128 * actions and save them to *acts. Before returning from
1138 struct sw_flow_actions **acts,
1160 *acts = get_flow_actions(net, a[OVS_FLOW_ATTR_ACTIONS], key,
1162 if (IS_ERR(*acts)) {
1163 error = PTR_ERR(*acts);
1183 struct sw_flow_actions *old_acts = NULL, *acts = NULL;
1199 &acts, log);
1203 if (acts) {
1204 /* Can allocate before locking if have acts. */
1205 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false,
1230 if (likely(acts)) {
1232 rcu_assign_pointer(flow->sf_acts, acts);
1244 /* Could not alloc without acts before locking. */
1271 ovs_nla_free_flow_actions(acts);