Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rdmacg_parse_limits

Proto:static int rdmacg_parse_limits(char *options, int *new_limits, unsigned long *enables)

Type:int

Parameter:

TypeParameterName
char *options
int *new_limits
unsigned long *enables
393  err = -EINVAL
396  When ((c = strsep - Split a string into tokens*@s: The string to be searched*@ct: The characters to search for* strsep() updates @s to point after the token, ready for the next call.* It returns empty tokens, too, behaving exactly like the libc function) != NULL) cycle
399  index = parse_resource(c, & intval)
400  If index < 0 Then Go to err
403  new_limits[index] = intval
404  enables |= BIT(index)
406  Return 0
408  err :
409  Return err
Caller
NameDescribe
rdmacg_resource_set_max