Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memblock_find_in_range

Proto:phys_addr_t __attribute__((__section__(".meminit.text"))) __attribute__((__cold__)) __attribute__((__no_instrument_function__))memblock_find_in_range(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align)

Type:phys_addr_t

Parameter:

TypeParameterName
phys_addr_tstart
phys_addr_tend
phys_addr_tsize
phys_addr_talign
336  flags = choose_memblock_flags()
338  again :
339  ret = memblock_find_in_range_node(size, align, start, end, NUMA_NO_NODE, flags)
342  If Not ret && flags & mirrored region Then
343  pr_warn("Could not allocate %pap bytes of mirrored memory\n", & size)
345  flags &= ~mirrored region
346  Go to again
349  Return ret
Caller
NameDescribe
memblock_double_array