Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:param_array_get

Proto:static int param_array_get(char *buffer, const struct kernel_param *kp)

Type:int

Parameter:

TypeParameterName
char *buffer
const struct kernel_param *kp
456  arr = arr
457  p = kp
459  When i < If num Then num Else max cycle
461  If i Then buffer[off - 1] = ','
463  arg = elem + elemsize * i
464  check_kparam_locked(mod)
465  ret = get(buffer + off, & p)
466  If ret < 0 Then Return ret
468  off += ret
470  buffer[off] = '\0'
471  Return off