函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\rdma.c Create Date:2022-07-27 12:17:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dmacg_uncharge - hierarchically uncharge rdma resource count*@device: pointer to rdmacg device*@index: index of the resource to uncharge in cgroup in given resource pool

函数原型:void rdmacg_uncharge(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_typeindex
231  如果index大于等于RDMACG_RESOURCE_MAX则返回
234  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