函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:free_cg_rpool_locked

函数原型:static void free_cg_rpool_locked(struct rdmacg_resource_pool *rpool)

返回类型:void

参数:

类型参数名称
struct rdmacg_resource_pool *rpool
105  lockdep_assert_held( & Protects list of resource pools maintained on per cgroup basis* and rdma device list.)
107  删除链表项
108  删除链表项
109  kfree(rpool)
调用者
名称描述
uncharge_cg_lockedharge_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
rdmacg_unregister_devicedmacg_unregister_device - unregister rdmacg device from rdma controller
rdmacg_resource_set_max