Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-28 09:05:42
Last Modify:2022-05-22 11:14:39 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:resource_list_create_entry

Proto:struct resource_entry *resource_list_create_entry(struct resource *res, size_t extra_size)

Type:struct resource_entry

Parameter:

TypeParameterName
struct resource *res
size_textra_size
1627  entry = 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).
1628  If entry Then
1629  Initialization list head
1630  In master (CPU) address space = If res Then res Else Default storage for res
1633  Return entry