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

Name:get_setup_data_paddr

Proto:static int get_setup_data_paddr(int nr, u64 *paddr)

Type:int

Parameter:

TypeParameterName
intnr
u64 *paddr
72  i = 0
74  pa_data = setup_data
76  When pa_data cycle
77  If nr == i Then
78  paddr = pa_data
79  Return 0
81  data = memremap(pa_data, size of data , MEMREMAP_WB)
82  If Not data Then Return -ENOMEM
85  pa_data = next
86  memunmap(data)
87  i++
89  Return -EINVAL
Caller
NameDescribe
type_show
setup_data_data_read