Lines Matching refs:acts
532 struct sw_flow_actions *acts; in ovs_packet_cmd_execute() local
576 &flow->key, &acts, log); in ovs_packet_cmd_execute()
580 rcu_assign_pointer(flow->sf_acts, acts); in ovs_packet_cmd_execute()
694 static size_t ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts, in ovs_flow_cmd_msg_size() argument
714 len += nla_total_size(acts->orig_len); in ovs_flow_cmd_msg_size()
841 static struct sk_buff *ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts, in ovs_flow_cmd_alloc_info() argument
853 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
891 struct sw_flow_actions *acts; in ovs_flow_cmd_new() local
938 &new_flow->key, &acts, log); in ovs_flow_cmd_new()
944 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
964 rcu_assign_pointer(new_flow->sf_acts, acts); in ovs_flow_cmd_new()
969 acts = NULL; in ovs_flow_cmd_new()
1013 rcu_assign_pointer(flow->sf_acts, acts); in ovs_flow_cmd_new()
1038 ovs_nla_free_flow_actions(acts); in ovs_flow_cmd_new()
1052 struct sw_flow_actions *acts; in get_flow_actions() local
1057 error = ovs_nla_copy_actions(net, a, &masked_key, &acts, log); in get_flow_actions()
1064 return acts; in get_flow_actions()
1084 struct sw_flow_actions **acts, in ovs_nla_init_match_and_action() argument
1106 *acts = get_flow_actions(net, a[OVS_FLOW_ATTR_ACTIONS], key, in ovs_nla_init_match_and_action()
1108 if (IS_ERR(*acts)) { in ovs_nla_init_match_and_action()
1109 error = PTR_ERR(*acts); in ovs_nla_init_match_and_action()
1129 struct sw_flow_actions *old_acts = NULL, *acts = NULL; in ovs_flow_cmd_set() local
1145 &acts, log); in ovs_flow_cmd_set()
1149 if (acts) { in ovs_flow_cmd_set()
1151 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false, in ovs_flow_cmd_set()
1176 if (likely(acts)) { in ovs_flow_cmd_set()
1178 rcu_assign_pointer(flow->sf_acts, acts); in ovs_flow_cmd_set()
1217 ovs_nla_free_flow_actions(acts); in ovs_flow_cmd_set()