Lines Matching refs:new_flow
932 struct sw_flow *flow = NULL, *new_flow; in ovs_flow_cmd_new() local
957 new_flow = ovs_flow_alloc(); in ovs_flow_cmd_new()
958 if (IS_ERR(new_flow)) { in ovs_flow_cmd_new()
959 error = PTR_ERR(new_flow); in ovs_flow_cmd_new()
976 ovs_flow_mask_key(&new_flow->key, key, true, &mask); in ovs_flow_cmd_new()
979 error = ovs_nla_get_identifier(&new_flow->id, a[OVS_FLOW_ATTR_UFID], in ovs_flow_cmd_new()
986 &new_flow->key, &acts, log); in ovs_flow_cmd_new()
992 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
1007 if (ovs_identifier_is_ufid(&new_flow->id)) in ovs_flow_cmd_new()
1008 flow = ovs_flow_tbl_lookup_ufid(&dp->table, &new_flow->id); in ovs_flow_cmd_new()
1012 rcu_assign_pointer(new_flow->sf_acts, acts); in ovs_flow_cmd_new()
1015 error = ovs_flow_tbl_insert(&dp->table, new_flow, &mask); in ovs_flow_cmd_new()
1022 error = ovs_flow_cmd_fill_info(new_flow, in ovs_flow_cmd_new()
1075 ovs_flow_free(new_flow, false); in ovs_flow_cmd_new()
1090 ovs_flow_free(new_flow, false); in ovs_flow_cmd_new()