Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_setup_data_size

Proto:static int __init get_setup_data_size(int nr, size_t *size)

Type:int

Parameter:

TypeParameterName
intnr
size_t *size
94  i = 0
96  pa_data = setup_data
98  When pa_data cycle
99  data = memremap(pa_data, size of data , MEMREMAP_WB)
100  If Not data Then Return -ENOMEM
102  If nr == i Then
103  If type == SETUP_INDIRECT && type != SETUP_INDIRECT Then size = len
106  Else size = len
109  memunmap(data)
110  Return 0
113  pa_data = next
114  memunmap(data)
115  i++
117  Return -EINVAL
Caller
NameDescribe
create_setup_data_node