Searched refs:uflow_res (Results 1 - 4 of 4) sorted by relevance
/linux-master/include/rdma/ |
H A D | uverbs_std_types.h | 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) 162 uflow->resources = uflow_res; 146 ib_set_flow(struct ib_uobject *uobj, struct ib_flow *ibflow, struct ib_qp *qp, struct ib_device *device, struct ib_uflow_resources *uflow_res) argument
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 2595 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res) argument 2599 if (!uflow_res) 2602 for (i = 0; i < uflow_res->collection_num; i++) 2603 atomic_dec(&uflow_res->collection[i]->usecnt); 2605 for (i = 0; i < uflow_res->counters_num; i++) 2606 atomic_dec(&uflow_res->counters[i]->usecnt); 2608 kfree(uflow_res->collection); 2609 kfree(uflow_res->counters); 2610 kfree(uflow_res); 2614 void flow_resources_add(struct ib_uflow_resources *uflow_res, argument 2639 kern_spec_to_ib_spec_action(struct uverbs_attr_bundle *attrs, struct ib_uverbs_flow_spec *kern_spec, union ib_flow_spec *ib_spec, struct ib_uflow_resources *uflow_res) argument 2866 kern_spec_to_ib_spec(struct uverbs_attr_bundle *attrs, struct ib_uverbs_flow_spec *kern_spec, union ib_flow_spec *ib_spec, struct ib_uflow_resources *uflow_res) argument 3186 struct ib_uflow_resources *uflow_res; local [all...] |
H A D | uverbs.h | 222 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res);
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 1912 struct ib_uflow_resources *uflow_res; local 1970 uflow_res = flow_resources_alloc(MLX5_IB_CREATE_FLOW_MAX_FLOW_ACTIONS); 1971 if (!uflow_res) 1983 flow_resources_add(uflow_res, IB_FLOW_SPEC_ACTION_HANDLE, 2005 ib_set_flow(uobj, &flow_handler->ibflow, qp, &dev->ib_dev, uflow_res); 2009 ib_uverbs_flow_resources_free(uflow_res);
|
Completed in 127 milliseconds