函数逻辑报告 |
Source Code:kernel\cgroup\rdma.c |
Create Date:2022-07-27 12:17:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dmacg_try_charge - hierarchically try to charge the rdma resource*@rdmacg: pointer to rdma cgroup which will own this resource*@device: pointer to rdmacg device*@index: index of the resource to charge in cgroup (resource pool)
函数原型:int rdmacg_try_charge(struct rdma_cgroup **rdmacg, struct rdmacg_device *device, enum rdmacg_resource_type index)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rdma_cgroup ** | rdmacg | |
struct rdmacg_device * | device | |
enum rdmacg_resource_type | index |
266 | ret等于0 |
268 | 如果index大于等于RDMACG_RESOURCE_MAX则返回:负EINVAL |
275 | cg等于get_current_rdmacg() |
277 | mutex_lock( & Protects list of resource pools maintained on per cgroup basis* and rdma device list.) |
297 | 返回:0 |
299 | err : |
302 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |