| Function report | 
| Source Code: kernel\cgroup\rdma.c | Create Date:2022-07-28 11:14:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:get_cg_rpool_locked
Proto:static struct rdmacg_resource_pool *get_cg_rpool_locked(struct rdma_cgroup *cg, struct rdmacg_device *device)
Type:struct rdmacg_resource_pool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct rdma_cgroup * | cg | |
| struct rdmacg_device * | device | 
| 133 | rpool = find_cg_rpool_locked(cg, device) | 
| 137 | rpool = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 148 | Return rpool | 
| Name | Describe | 
|---|---|
| rdmacg_try_charge | 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) | 
| rdmacg_resource_set_max | 
| 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 |