Searched refs:uflow_res (Results 1 – 4 of 4) sorted by relevance
141 void flow_resources_add(struct ib_uflow_resources *uflow_res,144 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res);148 struct ib_uflow_resources *uflow_res) in ib_set_flow() argument162 uflow->resources = uflow_res; in ib_set_flow()
2591 if (!uflow_res) in ib_uverbs_flow_resources_free()2600 kfree(uflow_res->collection); in ib_uverbs_flow_resources_free()2601 kfree(uflow_res->counters); in ib_uverbs_flow_resources_free()2602 kfree(uflow_res); in ib_uverbs_flow_resources_free()2610 WARN_ON(uflow_res->num >= uflow_res->max); in flow_resources_add()2615 uflow_res->collection[uflow_res->collection_num++] = in flow_resources_add()2620 uflow_res->counters[uflow_res->counters_num++] = in flow_resources_add()2627 uflow_res->num++; in flow_resources_add()2868 uflow_res); in kern_spec_to_ib_spec()3263 if (!uflow_res) { in ib_uverbs_ex_create_flow()[all …]
222 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res);
2119 struct ib_uflow_resources *uflow_res; in UVERBS_HANDLER() local2177 uflow_res = flow_resources_alloc(MLX5_IB_CREATE_FLOW_MAX_FLOW_ACTIONS); in UVERBS_HANDLER()2178 if (!uflow_res) in UVERBS_HANDLER()2190 flow_resources_add(uflow_res, IB_FLOW_SPEC_ACTION_HANDLE, in UVERBS_HANDLER()2212 ib_set_flow(uobj, &flow_handler->ibflow, qp, &dev->ib_dev, uflow_res); in UVERBS_HANDLER()2216 ib_uverbs_flow_resources_free(uflow_res); in UVERBS_HANDLER()
Completed in 15 milliseconds