Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\memblock.h Create Date:2022-07-28 06:16:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:memblock_alloc_from

Proto:static inline void *__init memblock_alloc_from(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr)

Type:void

Parameter:

TypeParameterName
phys_addr_tsize
phys_addr_talign
phys_addr_tmin_addr
389  Return memblock_alloc_try_nid(size, align, min_addr, MEMBLOCK_ALLOC_ACCESSIBLE, NUMA_NO_NODE)
Caller
NameDescribe
pcpu_alloc_bootmempcpu_alloc_bootmem - NUMA friendly alloc_bootmem wrapper for percpu*@cpu: cpu to allocate for*@size: size allocation in bytes*@align: alignment* Allocate @size bytes aligned at @align for cpu @cpu
setup_per_cpu_areasUP percpu area setup.* UP always uses km-based percpu allocator with identity mapping.* Static percpu variables are indistinguishable from the usual static* variables and don't require any special preparation.