Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memdup_patch

Proto:static struct ucode_patch *memdup_patch(void *data, unsigned int size)

Type:struct ucode_patch

Parameter:

TypeParameterName
void *data
unsigned intsize
154  p = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
155  If Not p Then Return NULL
158  Intel uses only this one = kmemdup(data, size, GFP_KERNEL)
159  If Not Intel uses only this one Then
160  free previously allocated memory
161  Return NULL
164  Return p
Caller
NameDescribe
save_microcode_patch