Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memblock.c Create Date:2022-07-28 15:11:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__free_memory_core

Proto:static unsigned long __init __free_memory_core(phys_addr_t start, phys_addr_t end)

Type:unsigned long

Parameter:

TypeParameterName
phys_addr_tstart
phys_addr_tend
1950  start_pfn = PFN_UP(start)
1951  end_pfn = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, PFN_DOWN(end), max_low_pfn)
1954  If start_pfn >= end_pfn Then Return 0
1957  __free_pages_memory(start_pfn, end_pfn)
1959  Return end_pfn - start_pfn
Caller
NameDescribe
free_low_memory_core_early