函数逻辑报告 |
Source Code:kernel\cgroup\rdma.c |
Create Date:2022-07-27 12:17:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void uncharge_cg_locked(struct rdma_cgroup *cg, struct rdmacg_device *device, enum rdmacg_resource_type index)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rdma_cgroup * | cg | |
struct rdmacg_device * | device | |
enum rdmacg_resource_type | index |
168 | rpool等于find_cg_rpool_locked(cg, device) |
175 | 如果此条件成立可能性小(为编译器优化)(!rpool)则 |
180 | usage自减 |
186 | WARN_ON_ONCE(usage < 0) |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |