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:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_setup_data_total_num

Proto:static int __init get_setup_data_total_num(u64 pa_data, int *nr)

Type:int

Parameter:

TypeParameterName
u64pa_data
int *nr
263  ret = 0
266  nr = 0
267  When pa_data cycle
268  nr += 1
269  data = memremap(pa_data, size of data , MEMREMAP_WB)
270  If Not data Then
271  ret = -ENOMEM
272  Go to out
274  pa_data = next
275  memunmap(data)
278  out :
279  Return ret
Caller
NameDescribe
create_setup_data_nodes