Function report |
Source Code:kernel\cgroup\rdma.c |
Create Date:2022-07-28 11:14:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:harge_cg_locked - uncharge resource for rdma cgroup*@cg: pointer to cg to uncharge and all parents in hierarchy*@device: pointer to rdmacg device*@index: index of the resource to uncharge in cg (resource pool)* It also frees the resource pool which was
Proto:static void uncharge_cg_locked(struct rdma_cgroup *cg, struct rdmacg_device *device, enum rdmacg_resource_type index)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rdma_cgroup * | cg | |
struct rdmacg_device * | device | |
enum rdmacg_resource_type | index |
168 | rpool = find_cg_rpool_locked(cg, device) |
180 | usage-- |
186 | WARN_ON_ONCE(usage < 0) |
188 | If count active user tasks of this pool == 0 && al number counts which are set to max == RDMACG_RESOURCE_MAX Then |
Name | Describe |
---|---|
rdmacg_uncharge_hierarchy | dmacg_uncharge_hierarchy - hierarchically uncharge rdma resource count*@device: pointer to rdmacg device*@stop_cg: while traversing hirerchy, when meet with stop_cg cgroup* stop uncharging*@index: index of the resource to uncharge in cg in given resource |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |