Home
last modified time | relevance | path

Searched refs:uflow_res (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/include/rdma/
H A Duverbs_std_types.h141 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()
162 uflow->resources = uflow_res; in ib_set_flow()
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) ib_set_flow() argument
/kernel/linux/linux-6.6/include/rdma/
H A Duverbs_std_types.h141 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()
162 uflow->resources = uflow_res; in ib_set_flow()
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) ib_set_flow() argument
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Duverbs_cmd.c2589 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res) in ib_uverbs_flow_resources_free() argument
2593 if (!uflow_res) in ib_uverbs_flow_resources_free()
2596 for (i = 0; i < uflow_res->collection_num; i++) in ib_uverbs_flow_resources_free()
2597 atomic_dec(&uflow_res->collection[i]->usecnt); in ib_uverbs_flow_resources_free()
2599 for (i = 0; i < uflow_res->counters_num; i++) in ib_uverbs_flow_resources_free()
2600 atomic_dec(&uflow_res->counters[i]->usecnt); in ib_uverbs_flow_resources_free()
2602 kfree(uflow_res->collection); in ib_uverbs_flow_resources_free()
2603 kfree(uflow_res->counters); in ib_uverbs_flow_resources_free()
2604 kfree(uflow_res); in ib_uverbs_flow_resources_free()
2608 void flow_resources_add(struct ib_uflow_resources *uflow_res, in flow_resources_add() argument
2633 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) kern_spec_to_ib_spec_action() argument
2860 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) kern_spec_to_ib_spec() argument
3180 struct ib_uflow_resources *uflow_res; ib_uverbs_ex_create_flow() local
[all...]
H A Duverbs.h222 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res);
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Duverbs_cmd.c2594 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res) in ib_uverbs_flow_resources_free() argument
2598 if (!uflow_res) in ib_uverbs_flow_resources_free()
2601 for (i = 0; i < uflow_res->collection_num; i++) in ib_uverbs_flow_resources_free()
2602 atomic_dec(&uflow_res->collection[i]->usecnt); in ib_uverbs_flow_resources_free()
2604 for (i = 0; i < uflow_res->counters_num; i++) in ib_uverbs_flow_resources_free()
2605 atomic_dec(&uflow_res->counters[i]->usecnt); in ib_uverbs_flow_resources_free()
2607 kfree(uflow_res->collection); in ib_uverbs_flow_resources_free()
2608 kfree(uflow_res->counters); in ib_uverbs_flow_resources_free()
2609 kfree(uflow_res); in ib_uverbs_flow_resources_free()
2613 void flow_resources_add(struct ib_uflow_resources *uflow_res, in flow_resources_add() argument
2638 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) kern_spec_to_ib_spec_action() argument
2865 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) kern_spec_to_ib_spec() argument
3185 struct ib_uflow_resources *uflow_res; ib_uverbs_ex_create_flow() local
[all...]
H A Duverbs.h222 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res);
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dfs.c1933 struct ib_uflow_resources *uflow_res; in MLX5_IB_METHOD_CREATE_FLOW() local
1991 uflow_res = flow_resources_alloc(MLX5_IB_CREATE_FLOW_MAX_FLOW_ACTIONS); in MLX5_IB_METHOD_CREATE_FLOW()
1992 if (!uflow_res) in MLX5_IB_METHOD_CREATE_FLOW()
2004 flow_resources_add(uflow_res, IB_FLOW_SPEC_ACTION_HANDLE, in MLX5_IB_METHOD_CREATE_FLOW()
2026 ib_set_flow(uobj, &flow_handler->ibflow, qp, &dev->ib_dev, uflow_res); in MLX5_IB_METHOD_CREATE_FLOW()
2030 ib_uverbs_flow_resources_free(uflow_res); in MLX5_IB_METHOD_CREATE_FLOW()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dfs.c1912 struct ib_uflow_resources *uflow_res; in MLX5_IB_METHOD_CREATE_FLOW() local
1970 uflow_res = flow_resources_alloc(MLX5_IB_CREATE_FLOW_MAX_FLOW_ACTIONS); in MLX5_IB_METHOD_CREATE_FLOW()
1971 if (!uflow_res) in MLX5_IB_METHOD_CREATE_FLOW()
1983 flow_resources_add(uflow_res, IB_FLOW_SPEC_ACTION_HANDLE, in MLX5_IB_METHOD_CREATE_FLOW()
2005 ib_set_flow(uobj, &flow_handler->ibflow, qp, &dev->ib_dev, uflow_res); in MLX5_IB_METHOD_CREATE_FLOW()
2009 ib_uverbs_flow_resources_free(uflow_res); in MLX5_IB_METHOD_CREATE_FLOW()

Completed in 16 milliseconds