Lines Matching refs:acts
514 struct sw_flow_actions *acts; in ovs_packet_cmd_execute() local
562 &flow->key, &acts, log); in ovs_packet_cmd_execute()
566 rcu_assign_pointer(flow->sf_acts, acts); in ovs_packet_cmd_execute()
679 static size_t ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts, in ovs_flow_cmd_msg_size() argument
699 len += nla_total_size(acts->actions_len); in ovs_flow_cmd_msg_size()
823 static struct sk_buff *ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts, in ovs_flow_cmd_alloc_info() argument
835 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
873 struct sw_flow_actions *acts; in ovs_flow_cmd_new() local
916 &acts, log); in ovs_flow_cmd_new()
922 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
942 rcu_assign_pointer(new_flow->sf_acts, acts); in ovs_flow_cmd_new()
947 acts = NULL; in ovs_flow_cmd_new()
991 rcu_assign_pointer(flow->sf_acts, acts); in ovs_flow_cmd_new()
1016 kfree(acts); in ovs_flow_cmd_new()
1029 struct sw_flow_actions *acts; in get_flow_actions() local
1034 error = ovs_nla_copy_actions(a, &masked_key, &acts, log); in get_flow_actions()
1041 return acts; in get_flow_actions()
1053 struct sw_flow_actions *old_acts = NULL, *acts = NULL; in ovs_flow_cmd_set() local
1077 acts = get_flow_actions(a[OVS_FLOW_ATTR_ACTIONS], &key, &mask, in ovs_flow_cmd_set()
1079 if (IS_ERR(acts)) { in ovs_flow_cmd_set()
1080 error = PTR_ERR(acts); in ovs_flow_cmd_set()
1085 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false, in ovs_flow_cmd_set()
1110 if (likely(acts)) { in ovs_flow_cmd_set()
1112 rcu_assign_pointer(flow->sf_acts, acts); in ovs_flow_cmd_set()
1151 kfree(acts); in ovs_flow_cmd_set()