Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\rdma.c Create Date:2022-07-28 11:14:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_resource_limit

Proto:static void set_resource_limit(struct rdmacg_resource_pool *rpool, int index, int new_max)

Type:void

Parameter:

TypeParameterName
struct rdmacg_resource_pool *rpool
intindex
intnew_max
85  If new_max == S32_MAX Then
86  If max != S32_MAX Then al number counts which are set to max ++
88  Else
89  If max == S32_MAX Then al number counts which are set to max --
92  max = new_max
Caller
NameDescribe
set_all_resource_max_limit
rdmacg_resource_set_max