Lines Matching full:acts

550 	struct sw_flow_actions *acts;  in ovs_packet_cmd_execute()  local
603 &flow->key, &acts, log); in ovs_packet_cmd_execute()
607 rcu_assign_pointer(flow->sf_acts, acts); in ovs_packet_cmd_execute()
724 static size_t ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts, in ovs_flow_cmd_msg_size() argument
748 len += nla_total_size(acts->orig_len); in ovs_flow_cmd_msg_size()
875 static struct sk_buff *ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts, in ovs_flow_cmd_alloc_info() argument
887 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
928 struct sw_flow_actions *acts; in ovs_flow_cmd_new() local
975 &new_flow->key, &acts, log); in ovs_flow_cmd_new()
981 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
1001 rcu_assign_pointer(new_flow->sf_acts, acts); in ovs_flow_cmd_new()
1006 acts = NULL; in ovs_flow_cmd_new()
1050 rcu_assign_pointer(flow->sf_acts, acts); in ovs_flow_cmd_new()
1075 ovs_nla_free_flow_actions(acts); in ovs_flow_cmd_new()
1090 struct sw_flow_actions *acts; in get_flow_actions() local
1095 error = ovs_nla_copy_actions(net, a, &masked_key, &acts, log); in get_flow_actions()
1102 return acts; in get_flow_actions()
1113 * actions and save them to *acts. Before returning from
1123 struct sw_flow_actions **acts, in ovs_nla_init_match_and_action() argument
1145 *acts = get_flow_actions(net, a[OVS_FLOW_ATTR_ACTIONS], key, in ovs_nla_init_match_and_action()
1147 if (IS_ERR(*acts)) { in ovs_nla_init_match_and_action()
1148 error = PTR_ERR(*acts); in ovs_nla_init_match_and_action()
1168 struct sw_flow_actions *old_acts = NULL, *acts = NULL; in ovs_flow_cmd_set() local
1184 &acts, log); in ovs_flow_cmd_set()
1188 if (acts) { in ovs_flow_cmd_set()
1189 /* Can allocate before locking if have acts. */ in ovs_flow_cmd_set()
1190 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false, in ovs_flow_cmd_set()
1215 if (likely(acts)) { in ovs_flow_cmd_set()
1217 rcu_assign_pointer(flow->sf_acts, acts); in ovs_flow_cmd_set()
1229 /* Could not alloc without acts before locking. */ in ovs_flow_cmd_set()
1256 ovs_nla_free_flow_actions(acts); in ovs_flow_cmd_set()