Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Add a memory region to the kernel E820 map.

Proto:static void __init __e820__range_add(struct e820_table *table, u64 start, u64 size, enum e820_type type)

Type:void

Parameter:

TypeParameterName
struct e820_table *table
u64start
u64size
enum e820_typetype
168  x = nr_entries
170  If x >= ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(entries) Then
171  pr_err("too many entries; ignoring [mem %#010llx-%#010llx]\n", start, start + size - 1)
173  Return
176  addr = start
177  size = size
178  type = type
179  nr_entries++
Caller
NameDescribe
e820__range_add
__e820__range_update