sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget)/translations/zh_CN/core-api/boot-time-mmmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/zh_TW/core-api/boot-time-mmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/it_IT/core-api/boot-time-mmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/ja_JP/core-api/boot-time-mmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/ko_KR/core-api/boot-time-mmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/pt_BR/core-api/boot-time-mmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/sp_SP/core-api/boot-time-mmmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hBoot time memory managementh]hBoot time memory management}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhC/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm.rsthKubh paragraph)}(hEarly system initialization cannot use "normal" memory management simply because it is not set up yet. But there is still need to allocate memory for various data structures, for instance for the physical page allocator.h]hEarly system initialization cannot use “normal” memory management simply because it is not set up yet. But there is still need to allocate memory for various data structures, for instance for the physical page allocator.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hA specialized allocator called ``memblock`` performs the boot time memory management. The architecture specific initialization must set it up in :c:func:`setup_arch` and tear it down in :c:func:`mem_init` functions.h](hA specialized allocator called }(hhhhhNhNubhliteral)}(h ``memblock``h]hmemblock}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhubhf performs the boot time memory management. The architecture specific initialization must set it up in }(hhhhhNhNubh)}(h:c:func:`setup_arch`h]h)}(hhh]h setup_arch()}(hhhhhNhNubah}(h]h ](xrefcc-funceh"]h$]h&]uh1hhhubah}(h]h ]h"]h$]h&]refdoccore-api/boot-time-mm refdomainjreftypefunc refexplicitrefwarn reftarget setup_archuh1hhhhK hhubh and tear it down in }(hhhhhNhNubh)}(h:c:func:`mem_init`h]h)}(hj h]h mem_init()}(hj"hhhNhNubah}(h]h ](jjc-funceh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypefunc refexplicitrefwarnjmem_inituh1hhhhK hhubh functions.}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hX=Once the early memory management is available it offers a variety of functions and macros for memory allocations. The allocation request may be directed to the first (and probably the only) node or to a particular node in a NUMA system. There are API variants that panic when an allocation fails and those that don't.h]hX?Once the early memory management is available it offers a variety of functions and macros for memory allocations. The allocation request may be directed to the first (and probably the only) node or to a particular node in a NUMA system. There are API variants that panic when an allocation fails and those that don’t.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hFMemblock also offers a variety of APIs that control its own behaviour.h]hFMemblock also offers a variety of APIs that control its own behaviour.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(hMemblock Overviewh]hMemblock Overview}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchhhhhKubh)}(hMemblock is a method of managing memory regions during the early boot period when the usual kernel memory allocators are not up and running.h]hMemblock is a method of managing memory regions during the early boot period when the usual kernel memory allocators are not up and running.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK-hjchhubh)}(htMemblock views the system memory as collections of contiguous regions. There are several types of these collections:h]htMemblock views the system memory as collections of contiguous regions. There are several types of these collections:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK1hjchhubh bullet_list)}(hhh](h list_item)}(h``memory`` - describes the physical memory available to the kernel; this may differ from the actual physical memory installed in the system, for instance when the memory is restricted with ``mem=`` command line parameterh]h)}(h``memory`` - describes the physical memory available to the kernel; this may differ from the actual physical memory installed in the system, for instance when the memory is restricted with ``mem=`` command line parameterh](h)}(h ``memory``h]hmemory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh - describes the physical memory available to the kernel; this may differ from the actual physical memory installed in the system, for instance when the memory is restricted with }(hjhhhNhNubh)}(h``mem=``h]hmem=}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh command line parameter}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK4hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h8``reserved`` - describes the regions that were allocatedh]h)}(hjh](h)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh, - describes the regions that were allocated}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK8hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h``physmem`` - describes the actual physical memory available during boot regardless of the possible restrictions and memory hot(un)plug; the ``physmem`` type is only available on some architectures. h]h)}(h``physmem`` - describes the actual physical memory available during boot regardless of the possible restrictions and memory hot(un)plug; the ``physmem`` type is only available on some architectures.h](h)}(h ``physmem``h]hphysmem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh - describes the actual physical memory available during boot regardless of the possible restrictions and memory hot(un)plug; the }(hjhhhNhNubh)}(h ``physmem``h]hphysmem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh. type is only available on some architectures.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]bullet*uh1jhjhK4hjchhubh)}(hXwEach region is represented by struct memblock_region that defines the region extents, its attributes and NUMA node id on NUMA systems. Every memory type is described by the struct memblock_type which contains an array of memory regions along with the allocator metadata. The "memory" and "reserved" types are nicely wrapped with struct memblock. This structure is statically initialized at build time. The region arrays are initially sized to ``INIT_MEMBLOCK_MEMORY_REGIONS`` for "memory" and ``INIT_MEMBLOCK_RESERVED_REGIONS`` for "reserved". The region array for "physmem" is initially sized to ``INIT_PHYSMEM_REGIONS``. The memblock_allow_resize() enables automatic resizing of the region arrays during addition of new regions. This feature should be used with care so that memory allocated for the region array will not overlap with areas that should be reserved, for example initrd.h](hXEach region is represented by struct memblock_region that defines the region extents, its attributes and NUMA node id on NUMA systems. Every memory type is described by the struct memblock_type which contains an array of memory regions along with the allocator metadata. The “memory” and “reserved” types are nicely wrapped with struct memblock. This structure is statically initialized at build time. The region arrays are initially sized to }(hj9hhhNhNubh)}(h ``INIT_MEMBLOCK_MEMORY_REGIONS``h]hINIT_MEMBLOCK_MEMORY_REGIONS}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9ubh for “memory” and }(hj9hhhNhNubh)}(h"``INIT_MEMBLOCK_RESERVED_REGIONS``h]hINIT_MEMBLOCK_RESERVED_REGIONS}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9ubhN for “reserved”. The region array for “physmem” is initially sized to }(hj9hhhNhNubh)}(h``INIT_PHYSMEM_REGIONS``h]hINIT_PHYSMEM_REGIONS}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9ubhX . The memblock_allow_resize() enables automatic resizing of the region arrays during addition of new regions. This feature should be used with care so that memory allocated for the region array will not overlap with areas that should be reserved, for example initrd.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK=hjchhubh)}(hXThe early architecture setup should tell memblock what the physical memory layout is by using memblock_add() or memblock_add_node() functions. The first function does not assign the region to a NUMA node and it is appropriate for UMA systems. Yet, it is possible to use it on NUMA systems as well and assign the region to a NUMA node later in the setup process using memblock_set_node(). The memblock_add_node() performs such an assignment directly.h]hXThe early architecture setup should tell memblock what the physical memory layout is by using memblock_add() or memblock_add_node() functions. The first function does not assign the region to a NUMA node and it is appropriate for UMA systems. Yet, it is possible to use it on NUMA systems as well and assign the region to a NUMA node later in the setup process using memblock_set_node(). The memblock_add_node() performs such an assignment directly.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chKLhjchhubh)}(hQOnce memblock is setup the memory can be allocated using one of the API variants:h]hQOnce memblock is setup the memory can be allocated using one of the API variants:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chKThjchhubj)}(hhh](j)}(h`memblock_phys_alloc*() - these functions return the **physical** address of the allocated memoryh]h)}(h`memblock_phys_alloc*() - these functions return the **physical** address of the allocated memoryh](h4memblock_phys_alloc*() - these functions return the }(hjhhhNhNubhstrong)}(h **physical**h]hphysical}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh address of the allocated memory}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chKWhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h\memblock_alloc*() - these functions return the **virtual** address of the allocated memory. h]h)}(h[memblock_alloc*() - these functions return the **virtual** address of the allocated memory.h](h/memblock_alloc*() - these functions return the }(hjhhhNhNubj)}(h **virtual**h]hvirtual}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh! address of the allocated memory.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chKYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]j7j8uh1jhjhKWhjchhubh)}(hNote, that both API variants use implicit assumptions about allowed memory ranges and the fallback methods. Consult the documentation of memblock_alloc_internal() and memblock_alloc_range_nid() functions for more elaborate description.h]hNote, that both API variants use implicit assumptions about allowed memory ranges and the fallback methods. Consult the documentation of memblock_alloc_internal() and memblock_alloc_range_nid() functions for more elaborate description.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK\hjchhubh)}(h~As the system boot progresses, the architecture specific mem_init() function frees all the memory to the buddy page allocator.h]h~As the system boot progresses, the architecture specific mem_init() function frees all the memory to the buddy page allocator.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chKahjchhubh)}(hUnless an architecture enables ``CONFIG_ARCH_KEEP_MEMBLOCK``, the memblock data structures (except "physmem") will be discarded after the system initialization completes.h](hUnless an architecture enables }(hjhhhNhNubh)}(h``CONFIG_ARCH_KEEP_MEMBLOCK``h]hCONFIG_ARCH_KEEP_MEMBLOCK}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubhr, the memblock data structures (except “physmem”) will be discarded after the system initialization completes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chKdhjchhubeh}(h]memblock-overviewah ]h"]memblock overviewah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hFunctions and structuresh]hFunctions and structures}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhhhhhKubh)}(hX$Here is the description of memblock data structures, functions and macros. Some of them are actually internal, but since they are documented it would be silly to omit them. Besides, reading the descriptions for the internal functions can help to understand what really happens under the hood.h]hX$Here is the description of memblock data structures, functions and macros. Some of them are actually internal, but since they are documented it would be silly to omit them. Besides, reading the descriptions for the internal functions can help to understand what really happens under the hood.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjDhhubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singlememblock_flags (C enum)c.memblock_flagshNtauh1jchjDhhhNhNubhdesc)}(hhh](hdesc_signature)}(hmemblock_flagsh]hdesc_signature_line)}(henum memblock_flagsh](hdesc_sig_keyword)}(henumh]henum}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1jhjhhhjhKubh desc_name)}(hmemblock_flagsh]h desc_sig_name)}(hj}h]hmemblock_flags}(hjhhhNhNubah}(h]h ]nah"]h$]h&]uh1jhjubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jj add_permalinkuh1jsphinx_line_type declaratorhj{hhhjhKubah}(h]jrah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1jyhjhKhjvhhubh desc_content)}(hhh]h)}(h&definition of memory region attributesh]h&definition of memory region attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhjvhhhjhKubeh}(h]h ](jenumeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1jthhhjDhNhNubh container)}(hX1**Constants** ``MEMBLOCK_NONE`` no special request ``MEMBLOCK_HOTPLUG`` memory region indicated in the firmware-provided memory map during early boot as hot(un)pluggable system RAM (e.g., memory range that might get hotunplugged later). With "movable_node" set on the kernel commandline, try keeping this memory region hotunpluggable. Does not apply to memblocks added ("hotplugged") after early boot. ``MEMBLOCK_MIRROR`` mirrored region ``MEMBLOCK_NOMAP`` don't add to kernel direct mapping and treat as reserved in the memory map; refer to memblock_mark_nomap() description for further details ``MEMBLOCK_DRIVER_MANAGED`` memory region that is always detected and added via a driver, and never indicated in the firmware-provided memory map as system RAM. This corresponds to IORESOURCE_SYSRAM_DRIVER_MANAGED in the kernel resource tree. ``MEMBLOCK_RSRV_NOINIT`` reserved memory region for which struct pages are not fully initialized. Users of this flag are responsible to properly initialize struct pages of this region ``MEMBLOCK_RSRV_KERN`` memory region that is reserved for kernel use, either explictitly with memblock_reserve_kern() or via memblock allocation APIs. All memblock allocations set this flag. ``MEMBLOCK_KHO_SCRATCH`` memory region that kexec can pass to the next kernel in handover mode. During early boot, we do not know about all memory reservations yet, so we get scratch memory from the previous kernel that we know is good to use. It is the only memory that allocations may happen from in this phase.h](h)}(h **Constants**h]j)}(hj h]h Constants}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK hjubhdefinition_list)}(hhh](hdefinition_list_item)}(h%``MEMBLOCK_NONE`` no special request h](hterm)}(h``MEMBLOCK_NONE``h]h)}(hj0h]h MEMBLOCK_NONE}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK#hj(ubh definition)}(hhh]h)}(hno special requesth]hno special request}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhK#hjHubah}(h]h ]h"]h$]h&]uh1jFhj(ubeh}(h]h ]h"]h$]h&]uh1j&hjEhK#hj#ubj')}(hX_``MEMBLOCK_HOTPLUG`` memory region indicated in the firmware-provided memory map during early boot as hot(un)pluggable system RAM (e.g., memory range that might get hotunplugged later). With "movable_node" set on the kernel commandline, try keeping this memory region hotunpluggable. Does not apply to memblocks added ("hotplugged") after early boot. h](j-)}(h``MEMBLOCK_HOTPLUG``h]h)}(hjkh]hMEMBLOCK_HOTPLUG}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjiubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK*hjeubjG)}(hhh]h)}(hXImemory region indicated in the firmware-provided memory map during early boot as hot(un)pluggable system RAM (e.g., memory range that might get hotunplugged later). With "movable_node" set on the kernel commandline, try keeping this memory region hotunpluggable. Does not apply to memblocks added ("hotplugged") after early boot.h]hXQmemory region indicated in the firmware-provided memory map during early boot as hot(un)pluggable system RAM (e.g., memory range that might get hotunplugged later). With “movable_node” set on the kernel commandline, try keeping this memory region hotunpluggable. Does not apply to memblocks added (“hotplugged”) after early boot.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK&hjubah}(h]h ]h"]h$]h&]uh1jFhjeubeh}(h]h ]h"]h$]h&]uh1j&hjhK*hj#ubj')}(h$``MEMBLOCK_MIRROR`` mirrored region h](j-)}(h``MEMBLOCK_MIRROR``h]h)}(hjh]hMEMBLOCK_MIRROR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK-hjubjG)}(hhh]h)}(hmirrored regionh]hmirrored region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK-hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhK-hj#ubj')}(h``MEMBLOCK_NOMAP`` don't add to kernel direct mapping and treat as reserved in the memory map; refer to memblock_mark_nomap() description for further details h](j-)}(h``MEMBLOCK_NOMAP``h]h)}(hjh]hMEMBLOCK_NOMAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK2hjubjG)}(hhh]h)}(hdon't add to kernel direct mapping and treat as reserved in the memory map; refer to memblock_mark_nomap() description for further detailsh]hdon’t add to kernel direct mapping and treat as reserved in the memory map; refer to memblock_mark_nomap() description for further details}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK0hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhK2hj#ubj')}(h``MEMBLOCK_DRIVER_MANAGED`` memory region that is always detected and added via a driver, and never indicated in the firmware-provided memory map as system RAM. This corresponds to IORESOURCE_SYSRAM_DRIVER_MANAGED in the kernel resource tree. h](j-)}(h``MEMBLOCK_DRIVER_MANAGED``h]h)}(hjh]hMEMBLOCK_DRIVER_MANAGED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK8hjubjG)}(hhh]h)}(hmemory region that is always detected and added via a driver, and never indicated in the firmware-provided memory map as system RAM. This corresponds to IORESOURCE_SYSRAM_DRIVER_MANAGED in the kernel resource tree.h]hmemory region that is always detected and added via a driver, and never indicated in the firmware-provided memory map as system RAM. This corresponds to IORESOURCE_SYSRAM_DRIVER_MANAGED in the kernel resource tree.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK5hj.ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj-hK8hj#ubj')}(h``MEMBLOCK_RSRV_NOINIT`` reserved memory region for which struct pages are not fully initialized. Users of this flag are responsible to properly initialize struct pages of this region h](j-)}(h``MEMBLOCK_RSRV_NOINIT``h]h)}(hjRh]hMEMBLOCK_RSRV_NOINIT}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK=hjLubjG)}(hhh]h)}(hreserved memory region for which struct pages are not fully initialized. Users of this flag are responsible to properly initialize struct pages of this regionh]hreserved memory region for which struct pages are not fully initialized. Users of this flag are responsible to properly initialize struct pages of this region}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK;hjhubah}(h]h ]h"]h$]h&]uh1jFhjLubeh}(h]h ]h"]h$]h&]uh1j&hjghK=hj#ubj')}(h``MEMBLOCK_RSRV_KERN`` memory region that is reserved for kernel use, either explictitly with memblock_reserve_kern() or via memblock allocation APIs. All memblock allocations set this flag. h](j-)}(h``MEMBLOCK_RSRV_KERN``h]h)}(hjh]hMEMBLOCK_RSRV_KERN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKBhjubjG)}(hhh]h)}(hmemory region that is reserved for kernel use, either explictitly with memblock_reserve_kern() or via memblock allocation APIs. All memblock allocations set this flag.h]hmemory region that is reserved for kernel use, either explictitly with memblock_reserve_kern() or via memblock allocation APIs. All memblock allocations set this flag.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK@hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKBhj#ubj')}(hX9``MEMBLOCK_KHO_SCRATCH`` memory region that kexec can pass to the next kernel in handover mode. During early boot, we do not know about all memory reservations yet, so we get scratch memory from the previous kernel that we know is good to use. It is the only memory that allocations may happen from in this phase.h](j-)}(h``MEMBLOCK_KHO_SCRATCH``h]h)}(hjh]hMEMBLOCK_KHO_SCRATCH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKHhjubjG)}(hhh]h)}(hX memory region that kexec can pass to the next kernel in handover mode. During early boot, we do not know about all memory reservations yet, so we get scratch memory from the previous kernel that we know is good to use. It is the only memory that allocations may happen from in this phase.h]hX memory region that kexec can pass to the next kernel in handover mode. During early boot, we do not know about all memory reservations yet, so we get scratch memory from the previous kernel that we know is good to use. It is the only memory that allocations may happen from in this phase.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKEhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKHhj#ubeh}(h]h ]h"]h$]h&]uh1j!hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpmemblock_region (C struct)c.memblock_regionhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hmemblock_regionh]j)}(hstruct memblock_regionh](j)}(hstructh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKNubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj.hKNubj)}(hmemblock_regionh]j)}(hjh]hmemblock_region}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj.hKNubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj.hKNubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhj.hKNhjhhubj)}(hhh]h)}(hrepresents a memory regionh]hrepresents a memory region}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKChj`hhubah}(h]h ]h"]h$]h&]uh1jhjhhhj.hKNubeh}(h]h ](jstructeh"]h$]h&]jjjj{jj{jjjuh1jthhhjDhNhNubj)}(hXB**Definition**:: struct memblock_region { phys_addr_t base; phys_addr_t size; enum memblock_flags flags; #ifdef CONFIG_NUMA; int nid; #endif; }; **Members** ``base`` base address of the region ``size`` size of the region ``flags`` memory region attributes ``nid`` NUMA node idh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKGhjubh literal_block)}(hstruct memblock_region { phys_addr_t base; phys_addr_t size; enum memblock_flags flags; #ifdef CONFIG_NUMA; int nid; #endif; };h]hstruct memblock_region { phys_addr_t base; phys_addr_t size; enum memblock_flags flags; #ifdef CONFIG_NUMA; int nid; #endif; };}hjsbah}(h]h ]h"]h$]h&]jjuh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKIhjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKRhjubj")}(hhh](j')}(h$``base`` base address of the region h](j-)}(h``base``h]h)}(hjh]hbase}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKEhjubjG)}(hhh]h)}(hbase address of the regionh]hbase address of the region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKEhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKEhjubj')}(h``size`` size of the region h](j-)}(h``size``h]h)}(hj h]hsize}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKFhjubjG)}(hhh]h)}(hsize of the regionh]hsize of the region}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKFhj!ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj hKFhjubj')}(h#``flags`` memory region attributes h](j-)}(h ``flags``h]h)}(hjDh]hflags}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKGhj>ubjG)}(hhh]h)}(hmemory region attributesh]hmemory region attributes}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhKGhjZubah}(h]h ]h"]h$]h&]uh1jFhj>ubeh}(h]h ]h"]h$]h&]uh1j&hjYhKGhjubj')}(h``nid`` NUMA node idh](j-)}(h``nid``h]h)}(hj}h]hnid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKGhjwubjG)}(hhh]h)}(h NUMA node idh]h NUMA node id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKHhjubah}(h]h ]h"]h$]h&]uh1jFhjwubeh}(h]h ]h"]h$]h&]uh1j&hjhKGhjubeh}(h]h ]h"]h$]h&]uh1j!hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpmemblock_type (C struct)c.memblock_typehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h memblock_typeh]j)}(hstruct memblock_typeh](j)}(hj"h]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKNubj)}(h memblock_typeh]j)}(hjh]h memblock_type}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKNubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhKNubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhKNhjhhubj)}(hhh]h)}(h,collection of memory regions of certain typeh]h,collection of memory regions of certain type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKShjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKNubeh}(h]h ](jstructeh"]h$]h&]jjjj1jj1jjjuh1jthhhjDhNhNubj)}(hXy**Definition**:: struct memblock_type { unsigned long cnt; unsigned long max; phys_addr_t total_size; struct memblock_region *regions; char *name; }; **Members** ``cnt`` number of regions ``max`` size of the allocated array ``total_size`` size of all regions ``regions`` array of regions ``name`` the memory type symbolic nameh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh:}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKWhj5ubj)}(hstruct memblock_type { unsigned long cnt; unsigned long max; phys_addr_t total_size; struct memblock_region *regions; char *name; };h]hstruct memblock_type { unsigned long cnt; unsigned long max; phys_addr_t total_size; struct memblock_region *regions; char *name; };}hjVsbah}(h]h ]h"]h$]h&]jjuh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKYhj5ubh)}(h **Members**h]j)}(hjgh]hMembers}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKahj5ubj")}(hhh](j')}(h``cnt`` number of regions h](j-)}(h``cnt``h]h)}(hjh]hcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKUhjubjG)}(hhh]h)}(hnumber of regionsh]hnumber of regions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKUhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKUhj}ubj')}(h$``max`` size of the allocated array h](j-)}(h``max``h]h)}(hjh]hmax}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKVhjubjG)}(hhh]h)}(hsize of the allocated arrayh]hsize of the allocated array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKVhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKVhj}ubj')}(h#``total_size`` size of all regions h](j-)}(h``total_size``h]h)}(hjh]h total_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKWhjubjG)}(hhh]h)}(hsize of all regionsh]hsize of all regions}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKWhj ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj hKWhj}ubj')}(h``regions`` array of regions h](j-)}(h ``regions``h]h)}(hj1 h]hregions}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKXhj+ ubjG)}(hhh]h)}(harray of regionsh]harray of regions}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjF hKXhjG ubah}(h]h ]h"]h$]h&]uh1jFhj+ ubeh}(h]h ]h"]h$]h&]uh1j&hjF hKXhj}ubj')}(h&``name`` the memory type symbolic nameh](j-)}(h``name``h]h)}(hjj h]hname}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKXhjd ubjG)}(hhh]h)}(hthe memory type symbolic nameh]hthe memory type symbolic name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKYhj ubah}(h]h ]h"]h$]h&]uh1jFhjd ubeh}(h]h ]h"]h$]h&]uh1j&hj hKXhj}ubeh}(h]h ]h"]h$]h&]uh1j!hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpmemblock (C struct) c.memblockhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hmemblockh]j)}(hstruct memblockh](j)}(hj"h]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK_ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj hK_ubj)}(hmemblockh]j)}(hj h]hmemblock}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhhj hK_ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj hhhj hK_ubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jyhj hK_hj hhubj)}(hhh]h)}(hmemblock allocator metadatah]hmemblock allocator metadata}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKchj hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj hK_ubeh}(h]h ](jstructeh"]h$]h&]jjjj jj jjjuh1jthhhjDhNhNubj)}(hXq**Definition**:: struct memblock { bool bottom_up; phys_addr_t current_limit; struct memblock_type memory; struct memblock_type reserved; }; **Members** ``bottom_up`` is bottom up direction? ``current_limit`` physical address of the current allocation limit ``memory`` usable memory regions ``reserved`` reserved memory regionsh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj* hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj& ubh:}(hj& hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKghj" ubj)}(hstruct memblock { bool bottom_up; phys_addr_t current_limit; struct memblock_type memory; struct memblock_type reserved; };h]hstruct memblock { bool bottom_up; phys_addr_t current_limit; struct memblock_type memory; struct memblock_type reserved; };}hjC sbah}(h]h ]h"]h$]h&]jjuh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKihj" ubh)}(h **Members**h]j)}(hjT h]hMembers}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKphj" ubj")}(hhh](j')}(h&``bottom_up`` is bottom up direction? h](j-)}(h ``bottom_up``h]h)}(hjs h]h bottom_up}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjq ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKehjm ubjG)}(hhh]h)}(his bottom up direction?h]his bottom up direction?}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKehj ubah}(h]h ]h"]h$]h&]uh1jFhjm ubeh}(h]h ]h"]h$]h&]uh1j&hj hKehjj ubj')}(hC``current_limit`` physical address of the current allocation limit h](j-)}(h``current_limit``h]h)}(hj h]h current_limit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKfhj ubjG)}(hhh]h)}(h0physical address of the current allocation limith]h0physical address of the current allocation limit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKfhj ubah}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1j&hj hKfhjj ubj')}(h!``memory`` usable memory regions h](j-)}(h ``memory``h]h)}(hj h]hmemory}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKghj ubjG)}(hhh]h)}(husable memory regionsh]husable memory regions}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKghj ubah}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1j&hj hKghjj ubj')}(h$``reserved`` reserved memory regionsh](j-)}(h ``reserved``h]h)}(hj h]hreserved}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKghj ubjG)}(hhh]h)}(hreserved memory regionsh]hreserved memory regions}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhhj4 ubah}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1j&hj3 hKghjj ubeh}(h]h ]h"]h$]h&]uh1j!hj" ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp for_each_physmem_range (C macro)c.for_each_physmem_rangehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hfor_each_physmem_rangeh]j)}(hfor_each_physmem_rangeh]j)}(hfor_each_physmem_rangeh]j)}(hjr h]hfor_each_physmem_range}(hj| hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjt hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKubah}(h]h ]h"]h$]h&]jjjuh1jjjhjp hhhj hKubah}(h]jk ah ](jjeh"]h$]h&]jj)jhuh1jyhj hKhjm hhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjm hhhj hKubeh}(h]h ](jmacroeh"]h$]h&]jjjj jj jjjuh1jthhhjDhNhNubh)}(h4``for_each_physmem_range (i, type, p_start, p_end)``h]h)}(hj h]h0for_each_physmem_range (i, type, p_start, p_end)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjDhhubh block_quote)}(h4iterate through physmem areas not included in type. h]h)}(h3iterate through physmem areas not included in type.h]h3iterate through physmem areas not included in type.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubah}(h]h ]h"]h$]h&]uh1j hj hKhjDhhubj)}(hX%**Parameters** ``i`` u64 used as loop variable ``type`` ptr to memblock_type which excludes from the iteration, can be ``NULL`` ``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL``h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubj")}(hhh](j')}(h ``i`` u64 used as loop variable h](j-)}(h``i``h]h)}(hj h]hi}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubjG)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1j&hj hKhj ubj')}(hQ``type`` ptr to memblock_type which excludes from the iteration, can be ``NULL`` h](j-)}(h``type``h]h)}(hj= h]htype}(hj? hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj; ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj7 ubjG)}(hhh]h)}(hGptr to memblock_type which excludes from the iteration, can be ``NULL``h](h?ptr to memblock_type which excludes from the iteration, can be }(hjV hhhNhNubh)}(h``NULL``h]hNULL}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjV ubeh}(h]h ]h"]h$]h&]uh1hhjR hKhjS ubah}(h]h ]h"]h$]h&]uh1jFhj7 ubeh}(h]h ]h"]h$]h&]uh1j&hjR hKhj ubj')}(hO``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` h](j-)}(h ``p_start``h]h)}(hj h]hp_start}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj~ ubjG)}(hhh]h)}(hBptr to phys_addr_t for start address of the range, can be ``NULL``h](h:ptr to phys_addr_t for start address of the range, can be }(hj hhhNhNubh)}(h``NULL``h]hNULL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jFhj~ ubeh}(h]h ]h"]h$]h&]uh1j&hj hKhj ubj')}(hJ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL``h](j-)}(h ``p_end``h]h)}(hj h]hp_end}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubjG)}(hhh]h)}(h@ptr to phys_addr_t for end address of the range, can be ``NULL``h](h8ptr to phys_addr_t for end address of the range, can be }(hj hhhNhNubh)}(h``NULL``h]hNULL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubah}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1j&hj hKhj ubeh}(h]h ]h"]h$]h&]uh1j!hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp__for_each_mem_range (C macro)c.__for_each_mem_rangehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h__for_each_mem_rangeh]j)}(h__for_each_mem_rangeh]j)}(h__for_each_mem_rangeh]j)}(hj- h]h__for_each_mem_range}(hj7 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3 ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj/ hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKubah}(h]h ]h"]h$]h&]jjjuh1jjjhj+ hhhjJ hKubah}(h]j& ah ](jjeh"]h$]h&]jj)jhuh1jyhjJ hKhj( hhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhj( hhhjJ hKubeh}(h]h ](jmacroeh"]h$]h&]jjjjc jjc jjjuh1jthhhjDhNhNubh)}(hO``__for_each_mem_range (i, type_a, type_b, nid, flags, p_start, p_end, p_nid)``h]h)}(hji h]hK__for_each_mem_range (i, type_a, type_b, nid, flags, p_start, p_end, p_nid)}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjg ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjDhhubj )}(hiiterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL. h]h)}(hhiterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL.h]hhiterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubah}(h]h ]h"]h$]h&]uh1j hj hKhjDhhubj)}(hX**Parameters** ``i`` u64 used as loop variable ``type_a`` ptr to memblock_type to iterate ``type_b`` ptr to memblock_type which excludes from the iteration ``nid`` node selector, ``NUMA_NO_NODE`` for all nodes ``flags`` pick from blocks based on memory attributes ``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` ``p_nid`` ptr to int for nid of the range, can be ``NULL``h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubj")}(hhh](j')}(h ``i`` u64 used as loop variable h](j-)}(h``i``h]h)}(hj h]hi}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubjG)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1j&hj hKhj ubj')}(h+``type_a`` ptr to memblock_type to iterate h](j-)}(h ``type_a``h]h)}(hj h]htype_a}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubjG)}(hhh]h)}(hptr to memblock_type to iterateh]hptr to memblock_type to iterate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1j&hj hKhj ubj')}(hB``type_b`` ptr to memblock_type which excludes from the iteration h](j-)}(h ``type_b``h]h)}(hj/h]htype_b}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj)ubjG)}(hhh]h)}(h6ptr to memblock_type which excludes from the iterationh]h6ptr to memblock_type which excludes from the iteration}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhKhjEubah}(h]h ]h"]h$]h&]uh1jFhj)ubeh}(h]h ]h"]h$]h&]uh1j&hjDhKhj ubj')}(h6``nid`` node selector, ``NUMA_NO_NODE`` for all nodes h](j-)}(h``nid``h]h)}(hjhh]hnid}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjbubjG)}(hhh]h)}(h-node selector, ``NUMA_NO_NODE`` for all nodesh](hnode selector, }(hjhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh for all nodes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj}hKhj~ubah}(h]h ]h"]h$]h&]uh1jFhjbubeh}(h]h ]h"]h$]h&]uh1j&hj}hKhj ubj')}(h6``flags`` pick from blocks based on memory attributes h](j-)}(h ``flags``h]h)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKhj ubj')}(hO``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` h](j-)}(h ``p_start``h]h)}(hjh]hp_start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(hBptr to phys_addr_t for start address of the range, can be ``NULL``h](h:ptr to phys_addr_t for start address of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKhj ubj')}(hK``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` h](j-)}(h ``p_end``h]h)}(hj3h]hp_end}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj-ubjG)}(hhh]h)}(h@ptr to phys_addr_t for end address of the range, can be ``NULL``h](h8ptr to phys_addr_t for end address of the range, can be }(hjLhhhNhNubh)}(h``NULL``h]hNULL}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLubeh}(h]h ]h"]h$]h&]uh1hhjHhKhjIubah}(h]h ]h"]h$]h&]uh1jFhj-ubeh}(h]h ]h"]h$]h&]uh1j&hjHhKhj ubj')}(h:``p_nid`` ptr to int for nid of the range, can be ``NULL``h](j-)}(h ``p_nid``h]h)}(hjzh]hp_nid}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjtubjG)}(hhh]h)}(h0ptr to int for nid of the range, can be ``NULL``h](h(ptr to int for nid of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubah}(h]h ]h"]h$]h&]uh1jFhjtubeh}(h]h ]h"]h$]h&]uh1j&hjhKhj ubeh}(h]h ]h"]h$]h&]uh1j!hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp"__for_each_mem_range_rev (C macro)c.__for_each_mem_range_revhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h__for_each_mem_range_revh]j)}(h__for_each_mem_range_revh]j)}(h__for_each_mem_range_revh]j)}(hjh]h__for_each_mem_range_rev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKubah}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jmacroeh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubh)}(hS``__for_each_mem_range_rev (i, type_a, type_b, nid, flags, p_start, p_end, p_nid)``h]h)}(hjh]hO__for_each_mem_range_rev (i, type_a, type_b, nid, flags, p_start, p_end, p_nid)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjDhhubj )}(hqreverse iterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL. h]h)}(hpreverse iterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL.h]hpreverse iterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj.ubah}(h]h ]h"]h$]h&]uh1j hj@hKhjDhhubj)}(hX**Parameters** ``i`` u64 used as loop variable ``type_a`` ptr to memblock_type to iterate ``type_b`` ptr to memblock_type which excludes from the iteration ``nid`` node selector, ``NUMA_NO_NODE`` for all nodes ``flags`` pick from blocks based on memory attributes ``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` ``p_nid`` ptr to int for nid of the range, can be ``NULL``h](h)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjGubj")}(hhh](j')}(h ``i`` u64 used as loop variable h](j-)}(h``i``h]h)}(hjlh]hi}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjfubjG)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jFhjfubeh}(h]h ]h"]h$]h&]uh1j&hjhKhjcubj')}(h+``type_a`` ptr to memblock_type to iterate h](j-)}(h ``type_a``h]h)}(hjh]htype_a}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(hptr to memblock_type to iterateh]hptr to memblock_type to iterate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKhjcubj')}(hB``type_b`` ptr to memblock_type which excludes from the iteration h](j-)}(h ``type_b``h]h)}(hjh]htype_b}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(h6ptr to memblock_type which excludes from the iterationh]h6ptr to memblock_type which excludes from the iteration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKhjcubj')}(h6``nid`` node selector, ``NUMA_NO_NODE`` for all nodes h](j-)}(h``nid``h]h)}(hjh]hnid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1;j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(h-node selector, ``NUMA_NO_NODE`` for all nodesh](hnode selector, }(hj0hhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0ubh for all nodes}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj,hKhj-ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj,hKhjcubj')}(h6``flags`` pick from blocks based on memory attributes h](j-)}(h ``flags``h]h)}(hjbh]hflags}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj\ubjG)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhKhjxubah}(h]h ]h"]h$]h&]uh1jFhj\ubeh}(h]h ]h"]h$]h&]uh1j&hjwhKhjcubj')}(hO``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` h](j-)}(h ``p_start``h]h)}(hjh]hp_start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(hBptr to phys_addr_t for start address of the range, can be ``NULL``h](h:ptr to phys_addr_t for start address of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKhjcubj')}(hK``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` h](j-)}(h ``p_end``h]h)}(hjh]hp_end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(h@ptr to phys_addr_t for end address of the range, can be ``NULL``h](h8ptr to phys_addr_t for end address of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKhjcubj')}(h:``p_nid`` ptr to int for nid of the range, can be ``NULL``h](j-)}(h ``p_nid``h]h)}(hj)h]hp_nid}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj#ubjG)}(hhh]h)}(h0ptr to int for nid of the range, can be ``NULL``h](h(ptr to int for nid of the range, can be }(hjBhhhNhNubh)}(h``NULL``h]hNULL}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj?ubah}(h]h ]h"]h$]h&]uh1jFhj#ubeh}(h]h ]h"]h$]h&]uh1j&hj>hKhjcubeh}(h]h ]h"]h$]h&]uh1j!hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpfor_each_mem_range (C macro)c.for_each_mem_rangehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hfor_each_mem_rangeh]j)}(hfor_each_mem_rangeh]j)}(hfor_each_mem_rangeh]j)}(hjh]hfor_each_mem_range}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKubah}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jmacroeh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubh)}(h*``for_each_mem_range (i, p_start, p_end)``h]h)}(hjh]h&for_each_mem_range (i, p_start, p_end)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjDhhubj )}(hiterate through memory areas. h]h)}(hiterate through memory areas.h]hiterate through memory areas.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubah}(h]h ]h"]h$]h&]uh1j hjhKhjDhhubj)}(h**Parameters** ``i`` u64 used as loop variable ``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL``h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj")}(hhh](j')}(h ``i`` u64 used as loop variable h](j-)}(h``i``h]h)}(hjh]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hKhj1ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj0hKhjubj')}(hO``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` h](j-)}(h ``p_start``h]h)}(hjTh]hp_start}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjNubjG)}(hhh]h)}(hBptr to phys_addr_t for start address of the range, can be ``NULL``h](h:ptr to phys_addr_t for start address of the range, can be }(hjmhhhNhNubh)}(h``NULL``h]hNULL}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmubeh}(h]h ]h"]h$]h&]uh1hhjihKhjjubah}(h]h ]h"]h$]h&]uh1jFhjNubeh}(h]h ]h"]h$]h&]uh1j&hjihKhjubj')}(hJ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL``h](j-)}(h ``p_end``h]h)}(hjh]hp_end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(h@ptr to phys_addr_t for end address of the range, can be ``NULL``h](h8ptr to phys_addr_t for end address of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKhjubeh}(h]h ]h"]h$]h&]uh1j!hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp for_each_mem_range_rev (C macro)c.for_each_mem_range_revhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hfor_each_mem_range_revh]j)}(hfor_each_mem_range_revh]j)}(hfor_each_mem_range_revh]j)}(hjh]hfor_each_mem_range_rev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKubah}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jmacroeh"]h$]h&]jjjj3jj3jjjuh1jthhhjDhNhNubh)}(h.``for_each_mem_range_rev (i, p_start, p_end)``h]h)}(hj9h]h*for_each_mem_range_rev (i, p_start, p_end)}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjDhhubj )}(hqreverse iterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL. h]h)}(hpreverse iterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL.h]hpreverse iterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjOubah}(h]h ]h"]h$]h&]uh1j hjahKhjDhhubj)}(h**Parameters** ``i`` u64 used as loop variable ``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL``h](h)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjhubj")}(hhh](j')}(h ``i`` u64 used as loop variable h](j-)}(h``i``h]h)}(hjh]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubjG)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhKhjubj')}(hO``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` h](j-)}(h ``p_start``h]h)}(hjh]hp_start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjubjG)}(hhh]h)}(hBptr to phys_addr_t for start address of the range, can be ``NULL``h](h:ptr to phys_addr_t for start address of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjubj')}(hJ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL``h](j-)}(h ``p_end``h]h)}(hj h]hp_end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjubjG)}(hhh]h)}(h@ptr to phys_addr_t for end address of the range, can be ``NULL``h](h8ptr to phys_addr_t for end address of the range, can be }(hj&hhhNhNubh)}(h``NULL``h]hNULL}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&ubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhj#ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj"hMhjubeh}(h]h ]h"]h$]h&]uh1j!hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp%for_each_reserved_mem_range (C macro)c.for_each_reserved_mem_rangehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hfor_each_reserved_mem_rangeh]j)}(hfor_each_reserved_mem_rangeh]j)}(hfor_each_reserved_mem_rangeh]j)}(hjoh]hfor_each_reserved_mem_range}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubah}(h]h ](jjeh"]h$]h&]jjuh1jhjqhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM ubah}(h]h ]h"]h$]h&]jjjuh1jjjhjmhhhjhM ubah}(h]jhah ](jjeh"]h$]h&]jj)jhuh1jyhjhM hjjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjjhhhjhM ubeh}(h]h ](jmacroeh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubh)}(h3``for_each_reserved_mem_range (i, p_start, p_end)``h]h)}(hjh]h/for_each_reserved_mem_range (i, p_start, p_end)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjDhhubj )}(h)iterate over all reserved memblock areas h]h)}(h(iterate over all reserved memblock areash]h(iterate over all reserved memblock areas}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjDhhubj)}(hX8**Parameters** ``i`` u64 used as loop variable ``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` **Description** Walks over reserved areas of memblock. Available as soon as memblock is initialized.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjubj")}(hhh](j')}(h ``i`` u64 used as loop variable h](j-)}(h``i``h]h)}(hjh]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjubjG)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM hjubj')}(hO``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` h](j-)}(h ``p_start``h]h)}(hj8h]hp_start}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hj2ubjG)}(hhh]h)}(hBptr to phys_addr_t for start address of the range, can be ``NULL``h](h:ptr to phys_addr_t for start address of the range, can be }(hjQhhhNhNubh)}(h``NULL``h]hNULL}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQubeh}(h]h ]h"]h$]h&]uh1hhjMhM hjNubah}(h]h ]h"]h$]h&]uh1jFhj2ubeh}(h]h ]h"]h$]h&]uh1j&hjMhM hjubj')}(hK``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` h](j-)}(h ``p_end``h]h)}(hjh]hp_end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjyubjG)}(hhh]h)}(h@ptr to phys_addr_t for end address of the range, can be ``NULL``h](h8ptr to phys_addr_t for end address of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jFhjyubeh}(h]h ]h"]h$]h&]uh1j&hjhM hjubeh}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjubh)}(hTWalks over reserved areas of memblock. Available as soon as memblock is initialized.h]hTWalks over reserved areas of memblock. Available as soon as memblock is initialized.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp for_each_mem_pfn_range (C macro)c.for_each_mem_pfn_rangehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hfor_each_mem_pfn_rangeh]j)}(hfor_each_mem_pfn_rangeh]j)}(hfor_each_mem_pfn_rangeh]j)}(hjh]hfor_each_mem_pfn_range}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM9ubah}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj$hM9ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhj$hM9hjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhj$hM9ubeh}(h]h ](jmacroeh"]h$]h&]jjjj=jj=jjjuh1jthhhjDhNhNubh)}(h:``for_each_mem_pfn_range (i, nid, p_start, p_end, p_nid)``h]h)}(hjCh]h6for_each_mem_pfn_range (i, nid, p_start, p_end, p_nid)}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM;hjDhhubj )}(h early memory pfn range iterator h]h)}(hearly memory pfn range iteratorh]hearly memory pfn range iterator}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM9hjYubah}(h]h ]h"]h$]h&]uh1j hjkhM9hjDhhubj)}(hXr**Parameters** ``i`` an integer used as loop variable ``nid`` node selector, ``MAX_NUMNODES`` for all nodes ``p_start`` ptr to ulong for start pfn of the range, can be ``NULL`` ``p_end`` ptr to ulong for end pfn of the range, can be ``NULL`` ``p_nid`` ptr to int for nid of the range, can be ``NULL`` **Description** Walks over configured memory ranges.h](h)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM=hjrubj")}(hhh](j')}(h'``i`` an integer used as loop variable h](j-)}(h``i``h]h)}(hjh]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM:hjubjG)}(hhh]h)}(h an integer used as loop variableh]h an integer used as loop variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM:hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM:hjubj')}(h6``nid`` node selector, ``MAX_NUMNODES`` for all nodes h](j-)}(h``nid``h]h)}(hjh]hnid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM;hjubjG)}(hhh]h)}(h-node selector, ``MAX_NUMNODES`` for all nodesh](hnode selector, }(hjhhhNhNubh)}(h``MAX_NUMNODES``h]h MAX_NUMNODES}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh for all nodes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM;hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM;hjubj')}(hE``p_start`` ptr to ulong for start pfn of the range, can be ``NULL`` h](j-)}(h ``p_start``h]h)}(hjh]hp_start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM<hjubjG)}(hhh]h)}(h8ptr to ulong for start pfn of the range, can be ``NULL``h](h0ptr to ulong for start pfn of the range, can be }(hj4hhhNhNubh)}(h``NULL``h]hNULL}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4ubeh}(h]h ]h"]h$]h&]uh1hhj0hM<hj1ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj0hM<hjubj')}(hA``p_end`` ptr to ulong for end pfn of the range, can be ``NULL`` h](j-)}(h ``p_end``h]h)}(hjbh]hp_end}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM=hj\ubjG)}(hhh]h)}(h6ptr to ulong for end pfn of the range, can be ``NULL``h](h.ptr to ulong for end pfn of the range, can be }(hj{hhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{ubeh}(h]h ]h"]h$]h&]uh1hhjwhM=hjxubah}(h]h ]h"]h$]h&]uh1jFhj\ubeh}(h]h ]h"]h$]h&]uh1j&hjwhM=hjubj')}(h;``p_nid`` ptr to int for nid of the range, can be ``NULL`` h](j-)}(h ``p_nid``h]h)}(hjh]hp_nid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM>hjubjG)}(hhh]h)}(h0ptr to int for nid of the range, can be ``NULL``h](h(ptr to int for nid of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhM>hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM>hjubeh}(h]h ]h"]h$]h&]uh1j!hjrubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM@hjrubh)}(h$Walks over configured memory ranges.h]h$Walks over configured memory ranges.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM?hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp!for_each_free_mem_range (C macro)c.for_each_free_mem_rangehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hfor_each_free_mem_rangeh]j)}(hfor_each_free_mem_rangeh]j)}(hfor_each_free_mem_rangeh]j)}(hj1h]hfor_each_free_mem_range}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj3hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMHubah}(h]h ]h"]h$]h&]jjjuh1jjjhj/hhhjNhMHubah}(h]j*ah ](jjeh"]h$]h&]jj)jhuh1jyhjNhMHhj,hhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhj,hhhjNhMHubeh}(h]h ](jmacroeh"]h$]h&]jjjjgjjgjjjuh1jthhhjDhNhNubh)}(hB``for_each_free_mem_range (i, nid, flags, p_start, p_end, p_nid)``h]h)}(hjmh]h>for_each_free_mem_range (i, nid, flags, p_start, p_end, p_nid)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMJhjDhhubj )}(h$iterate through free memblock areas h]h)}(h#iterate through free memblock areash]h#iterate through free memblock areas}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMHhjubah}(h]h ]h"]h$]h&]uh1j hjhMHhjDhhubj)}(hX**Parameters** ``i`` u64 used as loop variable ``nid`` node selector, ``NUMA_NO_NODE`` for all nodes ``flags`` pick from blocks based on memory attributes ``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` ``p_nid`` ptr to int for nid of the range, can be ``NULL`` **Description** Walks over free (memory && !reserved) areas of memblock. Available as soon as memblock is initialized.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMLhjubj")}(hhh](j')}(h ``i`` u64 used as loop variable h](j-)}(h``i``h]h)}(hjh]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMIhjubjG)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMIhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMIhjubj')}(h6``nid`` node selector, ``NUMA_NO_NODE`` for all nodes h](j-)}(h``nid``h]h)}(hjh]hnid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMJhjubjG)}(hhh]h)}(h-node selector, ``NUMA_NO_NODE`` for all nodesh](hnode selector, }(hjhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh for all nodes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMJhjubj')}(h6``flags`` pick from blocks based on memory attributes h](j-)}(h ``flags``h]h)}(hjEh]hflags}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMKhj?ubjG)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMKhj[ubah}(h]h ]h"]h$]h&]uh1jFhj?ubeh}(h]h ]h"]h$]h&]uh1j&hjZhMKhjubj')}(hO``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` h](j-)}(h ``p_start``h]h)}(hj~h]hp_start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMLhjxubjG)}(hhh]h)}(hBptr to phys_addr_t for start address of the range, can be ``NULL``h](h:ptr to phys_addr_t for start address of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhMLhjubah}(h]h ]h"]h$]h&]uh1jFhjxubeh}(h]h ]h"]h$]h&]uh1j&hjhMLhjubj')}(hK``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` h](j-)}(h ``p_end``h]h)}(hjh]hp_end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMMhjubjG)}(hhh]h)}(h@ptr to phys_addr_t for end address of the range, can be ``NULL``h](h8ptr to phys_addr_t for end address of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhMMhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMMhjubj')}(h;``p_nid`` ptr to int for nid of the range, can be ``NULL`` h](j-)}(h ``p_nid``h]h)}(hj h]hp_nid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMNhjubjG)}(hhh]h)}(h0ptr to int for nid of the range, can be ``NULL``h](h(ptr to int for nid of the range, can be }(hj%hhhNhNubh)}(h``NULL``h]hNULL}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%ubeh}(h]h ]h"]h$]h&]uh1hhj!hMNhj"ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj!hMNhjubeh}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMPhjubh)}(hgWalks over free (memory && !reserved) areas of memblock. Available as soon as memblock is initialized.h]hgWalks over free (memory && !reserved) areas of memblock. Available as soon as memblock is initialized.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp)for_each_free_mem_range_reverse (C macro)!c.for_each_free_mem_range_reversehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hfor_each_free_mem_range_reverseh]j)}(hfor_each_free_mem_range_reverseh]j)}(hfor_each_free_mem_range_reverseh]j)}(hjh]hfor_each_free_mem_range_reverse}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMXubah}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMXubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhMXhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhjhMXubeh}(h]h ](jmacroeh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubh)}(hJ``for_each_free_mem_range_reverse (i, nid, flags, p_start, p_end, p_nid)``h]h)}(hjh]hFfor_each_free_mem_range_reverse (i, nid, flags, p_start, p_end, p_nid)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMZhjDhhubj )}(h(rev-iterate through free memblock areas h]h)}(h'rev-iterate through free memblock areash]h'rev-iterate through free memblock areas}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMXhjubah}(h]h ]h"]h$]h&]uh1j hjhMXhjDhhubj)}(hX **Parameters** ``i`` u64 used as loop variable ``nid`` node selector, ``NUMA_NO_NODE`` for all nodes ``flags`` pick from blocks based on memory attributes ``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` ``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` ``p_nid`` ptr to int for nid of the range, can be ``NULL`` **Description** Walks over free (memory && !reserved) areas of memblock in reverse order. Available as soon as memblock is initialized.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM\hjubj")}(hhh](j')}(h ``i`` u64 used as loop variable h](j-)}(h``i``h]h)}(hj$h]hi}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMYhjubjG)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMYhj:ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj9hMYhjubj')}(h6``nid`` node selector, ``NUMA_NO_NODE`` for all nodes h](j-)}(h``nid``h]h)}(hj]h]hnid}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMZhjWubjG)}(hhh]h)}(h-node selector, ``NUMA_NO_NODE`` for all nodesh](hnode selector, }(hjvhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvubh for all nodes}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjrhMZhjsubah}(h]h ]h"]h$]h&]uh1jFhjWubeh}(h]h ]h"]h$]h&]uh1j&hjrhMZhjubj')}(h6``flags`` pick from blocks based on memory attributes h](j-)}(h ``flags``h]h)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM[hjubjG)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM[hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM[hjubj')}(hO``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` h](j-)}(h ``p_start``h]h)}(hjh]hp_start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM\hjubjG)}(hhh]h)}(hBptr to phys_addr_t for start address of the range, can be ``NULL``h](h:ptr to phys_addr_t for start address of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM\hjubj')}(hK``p_end`` ptr to phys_addr_t for end address of the range, can be ``NULL`` h](j-)}(h ``p_end``h]h)}(hj(h]hp_end}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM]hj"ubjG)}(hhh]h)}(h@ptr to phys_addr_t for end address of the range, can be ``NULL``h](h8ptr to phys_addr_t for end address of the range, can be }(hjAhhhNhNubh)}(h``NULL``h]hNULL}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAubeh}(h]h ]h"]h$]h&]uh1hhj=hM]hj>ubah}(h]h ]h"]h$]h&]uh1jFhj"ubeh}(h]h ]h"]h$]h&]uh1j&hj=hM]hjubj')}(h;``p_nid`` ptr to int for nid of the range, can be ``NULL`` h](j-)}(h ``p_nid``h]h)}(hjoh]hp_nid}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM^hjiubjG)}(hhh]h)}(h0ptr to int for nid of the range, can be ``NULL``h](h(ptr to int for nid of the range, can be }(hjhhhNhNubh)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhjhM^hjubah}(h]h ]h"]h$]h&]uh1jFhjiubeh}(h]h ]h"]h$]h&]uh1j&hjhM^hjubeh}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM`hjubh)}(hxWalks over free (memory && !reserved) areas of memblock in reverse order. Available as soon as memblock is initialized.h]hxWalks over free (memory && !reserved) areas of memblock in reverse order. Available as soon as memblock is initialized.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM_hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp'memblock_set_current_limit (C function)c.memblock_set_current_limithNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h3void memblock_set_current_limit (phys_addr_t limit)h]j)}(h2void memblock_set_current_limit(phys_addr_t limit)h](hdesc_sig_keyword_type)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]ktah"]h$]h&]uh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(hmemblock_set_current_limith]j)}(hmemblock_set_current_limith]hmemblock_set_current_limit}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubhdesc_parameterlist)}(h(phys_addr_t limit)h]hdesc_parameter)}(hphys_addr_t limith](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetjFmodnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j_ ASTIdentifier)}jZj#sbc.memblock_set_current_limitasbuh1hhj=ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(hlimith]hlimit}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj7ubah}(h]h ]h"]h$]h&]jjuh1j5hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhMhjhhubj)}(hhh]h)}(hjSet the current allocation limit to allow limiting allocations to what is currently accessible during booth]hjSet the current allocation limit to allow limiting allocations to what is currently accessible during boot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubj)}(hJ**Parameters** ``phys_addr_t limit`` New limit value (physical address)h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjubj")}(hhh]j')}(h8``phys_addr_t limit`` New limit value (physical address)h](j-)}(h``phys_addr_t limit``h]h)}(hjh]hphys_addr_t limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjubjG)}(hhh]h)}(h"New limit value (physical address)h]h"New limit value (physical address)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjubah}(h]h ]h"]h$]h&]uh1j!hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp,memblock_region_memory_base_pfn (C function)!c.memblock_region_memory_base_pfnhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hQunsigned long memblock_region_memory_base_pfn (const struct memblock_region *reg)h]j)}(hPunsigned long memblock_region_memory_base_pfn(const struct memblock_region *reg)h](j)}(hunsignedh]hunsigned}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhjMhM ubj)}(hlongh]hlong}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;hhhjMhM ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhjMhM ubj)}(hmemblock_region_memory_base_pfnh]j)}(hmemblock_region_memory_base_pfnh]hmemblock_region_memory_base_pfn}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubah}(h]h ](jjeh"]h$]h&]jjuh1jhj;hhhjMhM ubj6)}(h#(const struct memblock_region *reg)h]j<)}(h!const struct memblock_region *regh](j)}(hconsth]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj"h]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hmemblock_regionh]hmemblock_region}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jg)}jZj~sb!c.memblock_region_memory_base_pfnasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubhdesc_sig_punctuation)}(hj8h]h*}(hj hhhNhNubah}(h]h ]pah"]h$]h&]uh1j hjubj)}(hregh]hreg}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubah}(h]h ]h"]h$]h&]jjuh1j5hj;hhhjMhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj7hhhjMhM ubah}(h]j2ah ](jjeh"]h$]h&]jj)jhuh1jyhjMhM hj4hhubj)}(hhh]h)}(h'get the lowest pfn of the memory regionh]h'get the lowest pfn of the memory region}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hj7 hhubah}(h]h ]h"]h$]h&]uh1jhj4hhhjMhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjR jjR jjjuh1jthhhjDhNhNubj)}(h**Parameters** ``const struct memblock_region *reg`` memblock_region structure **Return** the lowest pfn intersecting with the memory regionh](h)}(h**Parameters**h]j)}(hj\ h]h Parameters}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjV ubj")}(hhh]j')}(h@``const struct memblock_region *reg`` memblock_region structure h](j-)}(h%``const struct memblock_region *reg``h]h)}(hj{ h]h!const struct memblock_region *reg}(hj} hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hju ubjG)}(hhh]h)}(hmemblock_region structureh]hmemblock_region structure}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM hj ubah}(h]h ]h"]h$]h&]uh1jFhju ubeh}(h]h ]h"]h$]h&]uh1j&hj hM hjr ubah}(h]h ]h"]h$]h&]uh1j!hjV ubh)}(h **Return**h]j)}(hj h]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjV ubh)}(h2the lowest pfn intersecting with the memory regionh]h2the lowest pfn intersecting with the memory region}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjV ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp+memblock_region_memory_end_pfn (C function) c.memblock_region_memory_end_pfnhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hPunsigned long memblock_region_memory_end_pfn (const struct memblock_region *reg)h]j)}(hOunsigned long memblock_region_memory_end_pfn(const struct memblock_region *reg)h](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMubj)}(h h]h }(hj !hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj !hMubj)}(hlongh]hlong}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhj !hMubj)}(h h]h }(hj&!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj !hMubj)}(hmemblock_region_memory_end_pfnh]j)}(hmemblock_region_memory_end_pfnh]hmemblock_region_memory_end_pfn}(hj8!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4!ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhhj !hMubj6)}(h#(const struct memblock_region *reg)h]j<)}(h!const struct memblock_region *regh](j)}(hjh]hconst}(hjT!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP!ubj)}(h h]h }(hja!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP!ubj)}(hj"h]hstruct}(hjo!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP!ubj)}(h h]h }(hj|!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP!ubh)}(hhh]j)}(hmemblock_regionh]hmemblock_region}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj!modnameN classnameNj^ja)}jd]jg)}jZj:!sb c.memblock_region_memory_end_pfnasbuh1hhjP!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP!ubj )}(hj8h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjP!ubj)}(hregh]hreg}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP!ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjL!ubah}(h]h ]h"]h$]h&]jjuh1j5hj hhhj !hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj hhhj !hMubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jyhj !hMhj hhubj)}(hhh]h)}(h$get the end pfn of the memory regionh]h$get the end pfn of the memory region}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhj!hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj !hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj "jj "jjjuh1jthhhjDhNhNubj)}(h**Parameters** ``const struct memblock_region *reg`` memblock_region structure **Return** the end_pfn of the reserved regionh](h)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhj"ubj")}(hhh]j')}(h@``const struct memblock_region *reg`` memblock_region structure h](j-)}(h%``const struct memblock_region *reg``h]h)}(hj3"h]h!const struct memblock_region *reg}(hj5"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1"ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhj-"ubjG)}(hhh]h)}(hmemblock_region structureh]hmemblock_region structure}(hjL"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjH"hMhjI"ubah}(h]h ]h"]h$]h&]uh1jFhj-"ubeh}(h]h ]h"]h$]h&]uh1j&hjH"hMhj*"ubah}(h]h ]h"]h$]h&]uh1j!hj"ubh)}(h **Return**h]j)}(hjn"h]hReturn}(hjp"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl"ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhj"ubh)}(h"the end_pfn of the reserved regionh]h"the end_pfn of the reserved region}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp.memblock_region_reserved_base_pfn (C function)#c.memblock_region_reserved_base_pfnhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hSunsigned long memblock_region_reserved_base_pfn (const struct memblock_region *reg)h]j)}(hRunsigned long memblock_region_reserved_base_pfn(const struct memblock_region *reg)h](j)}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhj"hMubj)}(hlongh]hlong}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"hhhj"hMubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhj"hMubj)}(h!memblock_region_reserved_base_pfnh]j)}(h!memblock_region_reserved_base_pfnh]h!memblock_region_reserved_base_pfn}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj"hhhj"hMubj6)}(h#(const struct memblock_region *reg)h]j<)}(h!const struct memblock_region *regh](j)}(hjh]hconst}(hj #hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj)}(hj"h]hstruct}(hj'#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj4#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubh)}(hhh]j)}(hmemblock_regionh]hmemblock_region}(hjE#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjB#ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjG#modnameN classnameNj^ja)}jd]jg)}jZj"sb#c.memblock_region_reserved_base_pfnasbuh1hhj#ubj)}(h h]h }(hje#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj )}(hj8h]h*}(hjs#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj)}(hregh]hreg}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj#ubah}(h]h ]h"]h$]h&]jjuh1j5hj"hhhj"hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj"hhhj"hMubah}(h]j"ah ](jjeh"]h$]h&]jj)jhuh1jyhj"hMhj"hhubj)}(hhh]h)}(h)get the lowest pfn of the reserved regionh]h)get the lowest pfn of the reserved region}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhj#hhubah}(h]h ]h"]h$]h&]uh1jhj"hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1jthhhjDhNhNubj)}(h**Parameters** ``const struct memblock_region *reg`` memblock_region structure **Return** the lowest pfn intersecting with the reserved regionh](h)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM#hj#ubj")}(hhh]j')}(h@``const struct memblock_region *reg`` memblock_region structure h](j-)}(h%``const struct memblock_region *reg``h]h)}(hj#h]h!const struct memblock_region *reg}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hj#ubjG)}(hhh]h)}(hmemblock_region structureh]hmemblock_region structure}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hM hj$ubah}(h]h ]h"]h$]h&]uh1jFhj#ubeh}(h]h ]h"]h$]h&]uh1j&hj$hM hj#ubah}(h]h ]h"]h$]h&]uh1j!hj#ubh)}(h **Return**h]j)}(hj&$h]hReturn}(hj($hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$$ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM"hj#ubh)}(h4the lowest pfn intersecting with the reserved regionh]h4the lowest pfn intersecting with the reserved region}(hj<$hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM"hj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp-memblock_region_reserved_end_pfn (C function)"c.memblock_region_reserved_end_pfnhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hRunsigned long memblock_region_reserved_end_pfn (const struct memblock_region *reg)h]j)}(hQunsigned long memblock_region_reserved_end_pfn(const struct memblock_region *reg)h](j)}(hunsignedh]hunsigned}(hjk$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjg$hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM*ubj)}(h h]h }(hjz$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg$hhhjy$hM*ubj)}(hlongh]hlong}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjg$hhhjy$hM*ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg$hhhjy$hM*ubj)}(h memblock_region_reserved_end_pfnh]j)}(h memblock_region_reserved_end_pfnh]h memblock_region_reserved_end_pfn}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjg$hhhjy$hM*ubj6)}(h#(const struct memblock_region *reg)h]j<)}(h!const struct memblock_region *regh](j)}(hjh]hconst}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(hj"h]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubh)}(hhh]j)}(hmemblock_regionh]hmemblock_region}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj$modnameN classnameNj^ja)}jd]jg)}jZj$sb"c.memblock_region_reserved_end_pfnasbuh1hhj$ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj )}(hj8h]h*}(hj+%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj)}(hregh]hreg}(hj8%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj$ubah}(h]h ]h"]h$]h&]jjuh1j5hjg$hhhjy$hM*ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjc$hhhjy$hM*ubah}(h]j^$ah ](jjeh"]h$]h&]jj)jhuh1jyhjy$hM*hj`$hhubj)}(hhh]h)}(h&get the end pfn of the reserved regionh]h&get the end pfn of the reserved region}(hjb%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM*hj_%hhubah}(h]h ]h"]h$]h&]uh1jhj`$hhhjy$hM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjz%jjz%jjjuh1jthhhjDhNhNubj)}(h**Parameters** ``const struct memblock_region *reg`` memblock_region structure **Return** the end_pfn of the reserved regionh](h)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM.hj~%ubj")}(hhh]j')}(h@``const struct memblock_region *reg`` memblock_region structure h](j-)}(h%``const struct memblock_region *reg``h]h)}(hj%h]h!const struct memblock_region *reg}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM+hj%ubjG)}(hhh]h)}(hmemblock_region structureh]hmemblock_region structure}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hM+hj%ubah}(h]h ]h"]h$]h&]uh1jFhj%ubeh}(h]h ]h"]h$]h&]uh1j&hj%hM+hj%ubah}(h]h ]h"]h$]h&]uh1j!hj~%ubh)}(h **Return**h]j)}(hj%h]hReturn}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM-hj~%ubh)}(h"the end_pfn of the reserved regionh]h"the end_pfn of the reserved region}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM-hj~%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpfor_each_mem_region (C macro)c.for_each_mem_regionhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hfor_each_mem_regionh]j)}(hfor_each_mem_regionh]j)}(hfor_each_mem_regionh]j)}(hj&h]hfor_each_mem_region}(hj'&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#&ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj&hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.h)hM5ubah}(h]h ]h"]h$]h&]jjjuh1jjjhj&hhhj:&hM5ubah}(h]j&ah ](jjeh"]h$]h&]jj)jhuh1jyhj:&hM5hj&hhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhj&hhhj:&hM5ubeh}(h]h ](jmacroeh"]h$]h&]jjjjS&jjS&jjjuh1jthhhjDhNhNubh)}(h ``for_each_mem_region (region)``h]h)}(hjY&h]hfor_each_mem_region (region)}(hj[&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjW&ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM7hjDhhubj )}(hiterate over memory regions h]h)}(hiterate over memory regionsh]hiterate over memory regions}(hjs&hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM5hjo&ubah}(h]h ]h"]h$]h&]uh1j hj&hM5hjDhhubj)}(h***Parameters** ``region`` loop variableh](h)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM9hj&ubj")}(hhh]j')}(h``region`` loop variableh](j-)}(h ``region``h]h)}(hj&h]hregion}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM;hj&ubjG)}(hhh]h)}(h loop variableh]h loop variable}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM6hj&ubah}(h]h ]h"]h$]h&]uh1jFhj&ubeh}(h]h ]h"]h$]h&]uh1j&hj&hM;hj&ubah}(h]h ]h"]h$]h&]uh1j!hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp&for_each_reserved_mem_region (C macro)c.for_each_reserved_mem_regionhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hfor_each_reserved_mem_regionh]j)}(hfor_each_reserved_mem_regionh]j)}(hfor_each_reserved_mem_regionh]j)}(hj'h]hfor_each_reserved_mem_region}(hj 'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj'hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM>ubah}(h]h ]h"]h$]h&]jjjuh1jjjhj&hhhj'hM>ubah}(h]j&ah ](jjeh"]h$]h&]jj)jhuh1jyhj'hM>hj&hhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhj&hhhj'hM>ubeh}(h]h ](jmacroeh"]h$]h&]jjjj7'jj7'jjjuh1jthhhjDhNhNubh)}(h)``for_each_reserved_mem_region (region)``h]h)}(hj='h]h%for_each_reserved_mem_region (region)}(hj?'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;'ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM@hjDhhubj )}(h&itereate over reserved memory regions h]h)}(h%itereate over reserved memory regionsh]h%itereate over reserved memory regions}(hjW'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM>hjS'ubah}(h]h ]h"]h$]h&]uh1j hje'hM>hjDhhubj)}(h***Parameters** ``region`` loop variableh](h)}(h**Parameters**h]j)}(hjr'h]h Parameters}(hjt'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp'ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMBhjl'ubj")}(hhh]j')}(h``region`` loop variableh](j-)}(h ``region``h]h)}(hj'h]hregion}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'ubah}(h]h ]h"]h$]h&]uh1j,h^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMDhj'ubjG)}(hhh]h)}(h loop variableh]h loop variable}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM?hj'ubah}(h]h ]h"]h$]h&]uh1jFhj'ubeh}(h]h ]h"]h$]h&]uh1j&hj'hMDhj'ubah}(h]h ]h"]h$]h&]uh1j!hjl'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp,__memblock_find_range_bottom_up (C function)!c.__memblock_find_range_bottom_uphNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hphys_addr_t __init_memblock __memblock_find_range_bottom_up (phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align, int nid, enum memblock_flags flags)h]j)}(hphys_addr_t __init_memblock __memblock_find_range_bottom_up(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align, int nid, enum memblock_flags flags)h](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj'modnameN classnameNj^ja)}jd]jg)}jZ__memblock_find_range_bottom_upsb!c.__memblock_find_range_bottom_upasbuh1hhj'hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhj(hKubh__init_memblock}(hj'hhhNhNubj)}(h h]h }(hj"(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhj(hKubj)}(h__memblock_find_range_bottom_uph]j)}(hj (h]h__memblock_find_range_bottom_up}(hj4(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0(ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj'hhhj(hKubj6)}(hm(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align, int nid, enum memblock_flags flags)h](j<)}(hphys_addr_t starth](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjR(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjO(ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjT(modnameN classnameNj^ja)}jd]j (!c.__memblock_find_range_bottom_upasbuh1hhjK(ubj)}(h h]h }(hjp(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK(ubj)}(hstarth]hstart}(hj~(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK(ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjG(ubj<)}(hphys_addr_t endh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj(modnameN classnameNj^ja)}jd]j (!c.__memblock_find_range_bottom_upasbuh1hhj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj)}(hendh]hend}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjG(ubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj(modnameN classnameNj^ja)}jd]j (!c.__memblock_find_range_bottom_upasbuh1hhj(ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj)}(hsizeh]hsize}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjG(ubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj*)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj')ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj,)modnameN classnameNj^ja)}jd]j (!c.__memblock_find_range_bottom_upasbuh1hhj#)ubj)}(h h]h }(hjH)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#)ubj)}(halignh]halign}(hjV)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#)ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjG(ubj<)}(hint nidh](j)}(hinth]hint}(hjo)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjk)ubj)}(h h]h }(hj})hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk)ubj)}(hnidh]hnid}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk)ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjG(ubj<)}(henum memblock_flags flagsh](j)}(hjh]henum}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj)modnameN classnameNj^ja)}jd]j (!c.__memblock_find_range_bottom_upasbuh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(hflagsh]hflags}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjG(ubeh}(h]h ]h"]h$]h&]jjuh1j5hj'hhhj(hKubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj'hhhj(hKubah}(h]j'ah ](jjeh"]h$]h&]jj)jhuh1jyhj(hKhj'hhubj)}(hhh]h)}(h#find free area utility in bottom-uph]h#find free area utility in bottom-up}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj*hhubah}(h]h ]h"]h$]h&]uh1jhj'hhhj(hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0*jj0*jjjuh1jthhhjDhNhNubj)}(hXK**Parameters** ``phys_addr_t start`` start of candidate range ``phys_addr_t end`` end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE`` ``phys_addr_t size`` size of free area to find ``phys_addr_t align`` alignment of free area to find ``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node ``enum memblock_flags flags`` pick from blocks based on memory attributes **Description** Utility called from memblock_find_in_range_node(), find free area bottom-up. **Return** Found address on success, 0 on failure.h](h)}(h**Parameters**h]j)}(hj:*h]h Parameters}(hj<*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8*ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj4*ubj")}(hhh](j')}(h/``phys_addr_t start`` start of candidate range h](j-)}(h``phys_addr_t start``h]h)}(hjY*h]hphys_addr_t start}(hj[*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjW*ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhjS*ubjG)}(hhh]h)}(hstart of candidate rangeh]hstart of candidate range}(hjr*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn*hKhjo*ubah}(h]h ]h"]h$]h&]uh1jFhjS*ubeh}(h]h ]h"]h$]h&]uh1j&hjn*hKhjP*ubj')}(hp``phys_addr_t end`` end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE`` h](j-)}(h``phys_addr_t end``h]h)}(hj*h]hphys_addr_t end}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj*ubjG)}(hhh]h)}(h[end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE``h](hend of candidate range, can be }(hj*hhhNhNubh)}(h``MEMBLOCK_ALLOC_ANYWHERE``h]hMEMBLOCK_ALLOC_ANYWHERE}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*ubh or }(hj*hhhNhNubh)}(h``MEMBLOCK_ALLOC_ACCESSIBLE``h]hMEMBLOCK_ALLOC_ACCESSIBLE}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*ubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj*ubah}(h]h ]h"]h$]h&]uh1jFhj*ubeh}(h]h ]h"]h$]h&]uh1j&hj*hKhjP*ubj')}(h/``phys_addr_t size`` size of free area to find h](j-)}(h``phys_addr_t size``h]h)}(hj*h]hphys_addr_t size}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj*ubjG)}(hhh]h)}(hsize of free area to findh]hsize of free area to find}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hKhj+ubah}(h]h ]h"]h$]h&]uh1jFhj*ubeh}(h]h ]h"]h$]h&]uh1j&hj+hKhjP*ubj')}(h5``phys_addr_t align`` alignment of free area to find h](j-)}(h``phys_addr_t align``h]h)}(hj%+h]hphys_addr_t align}(hj'+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#+ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj+ubjG)}(hhh]h)}(halignment of free area to findh]halignment of free area to find}(hj>+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:+hKhj;+ubah}(h]h ]h"]h$]h&]uh1jFhj+ubeh}(h]h ]h"]h$]h&]uh1j&hj:+hKhjP*ubj')}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j-)}(h ``int nid``h]h)}(hj^+h]hint nid}(hj`+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\+ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhjX+ubjG)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hjw+hhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjw+ubh for any node}(hjw+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjs+hKhjt+ubah}(h]h ]h"]h$]h&]uh1jFhjX+ubeh}(h]h ]h"]h$]h&]uh1j&hjs+hKhjP*ubj')}(hJ``enum memblock_flags flags`` pick from blocks based on memory attributes h](j-)}(h``enum memblock_flags flags``h]h)}(hj+h]henum memblock_flags flags}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj+ubjG)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hKhj+ubah}(h]h ]h"]h$]h&]uh1jFhj+ubeh}(h]h ]h"]h$]h&]uh1j&hj+hKhjP*ubeh}(h]h ]h"]h$]h&]uh1j!hj4*ubh)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj4*ubh)}(hLUtility called from memblock_find_in_range_node(), find free area bottom-up.h]hLUtility called from memblock_find_in_range_node(), find free area bottom-up.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj4*ubh)}(h **Return**h]j)}(hj ,h]hReturn}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ,ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj4*ubh)}(h'Found address on success, 0 on failure.h]h'Found address on success, 0 on failure.}(hj!,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj4*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp+__memblock_find_range_top_down (C function) c.__memblock_find_range_top_downhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hphys_addr_t __init_memblock __memblock_find_range_top_down (phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align, int nid, enum memblock_flags flags)h]j)}(hphys_addr_t __init_memblock __memblock_find_range_top_down(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align, int nid, enum memblock_flags flags)h](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjS,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP,ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjU,modnameN classnameNj^ja)}jd]jg)}jZ__memblock_find_range_top_downsb c.__memblock_find_range_top_downasbuh1hhjL,hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hju,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL,hhhjt,hMubh__init_memblock}(hjL,hhhNhNubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL,hhhjt,hMubj)}(h__memblock_find_range_top_downh]j)}(hjq,h]h__memblock_find_range_top_down}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjL,hhhjt,hMubj6)}(hm(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align, int nid, enum memblock_flags flags)h](j<)}(hphys_addr_t starth](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj,modnameN classnameNj^ja)}jd]jo, c.__memblock_find_range_top_downasbuh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(hstarth]hstart}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj,ubj<)}(hphys_addr_t endh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj-modnameN classnameNj^ja)}jd]jo, c.__memblock_find_range_top_downasbuh1hhj,ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(hendh]hend}(hj+-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj,ubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjG-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD-ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjI-modnameN classnameNj^ja)}jd]jo, c.__memblock_find_range_top_downasbuh1hhj@-ubj)}(h h]h }(hje-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@-ubj)}(hsizeh]hsize}(hjs-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@-ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj,ubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj-modnameN classnameNj^ja)}jd]jo, c.__memblock_find_range_top_downasbuh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(halignh]halign}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj,ubj<)}(hint nidh](j)}(hinth]hint}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(hnidh]hnid}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj,ubj<)}(henum memblock_flags flagsh](j)}(hjh]henum}(hj .hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hj'.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$.ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj).modnameN classnameNj^ja)}jd]jo, c.__memblock_find_range_top_downasbuh1hhj.ubj)}(h h]h }(hjE.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(hflagsh]hflags}(hjS.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj,ubeh}(h]h ]h"]h$]h&]jjuh1j5hjL,hhhjt,hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjH,hhhjt,hMubah}(h]jC,ah ](jjeh"]h$]h&]jj)jhuh1jyhjt,hMhjE,hhubj)}(hhh]h)}(h#find free area utility, in top-downh]h#find free area utility, in top-down}(hj}.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjz.hhubah}(h]h ]h"]h$]h&]uh1jhjE,hhhjt,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1jthhhjDhNhNubj)}(hXJ**Parameters** ``phys_addr_t start`` start of candidate range ``phys_addr_t end`` end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE`` ``phys_addr_t size`` size of free area to find ``phys_addr_t align`` alignment of free area to find ``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node ``enum memblock_flags flags`` pick from blocks based on memory attributes **Description** Utility called from memblock_find_in_range_node(), find free area top-down. **Return** Found address on success, 0 on failure.h](h)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj.ubj")}(hhh](j')}(h/``phys_addr_t start`` start of candidate range h](j-)}(h``phys_addr_t start``h]h)}(hj.h]hphys_addr_t start}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj.ubjG)}(hhh]h)}(hstart of candidate rangeh]hstart of candidate range}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhj.ubah}(h]h ]h"]h$]h&]uh1jFhj.ubeh}(h]h ]h"]h$]h&]uh1j&hj.hMhj.ubj')}(hp``phys_addr_t end`` end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE`` h](j-)}(h``phys_addr_t end``h]h)}(hj.h]hphys_addr_t end}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj.ubjG)}(hhh]h)}(h[end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE``h](hend of candidate range, can be }(hj/hhhNhNubh)}(h``MEMBLOCK_ALLOC_ANYWHERE``h]hMEMBLOCK_ALLOC_ANYWHERE}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ubh or }(hj/hhhNhNubh)}(h``MEMBLOCK_ALLOC_ACCESSIBLE``h]hMEMBLOCK_ALLOC_ACCESSIBLE}(hj*/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj /ubah}(h]h ]h"]h$]h&]uh1jFhj.ubeh}(h]h ]h"]h$]h&]uh1j&hj /hMhj.ubj')}(h/``phys_addr_t size`` size of free area to find h](j-)}(h``phys_addr_t size``h]h)}(hjQ/h]hphys_addr_t size}(hjS/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjO/ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjK/ubjG)}(hhh]h)}(hsize of free area to findh]hsize of free area to find}(hjj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjf/hMhjg/ubah}(h]h ]h"]h$]h&]uh1jFhjK/ubeh}(h]h ]h"]h$]h&]uh1j&hjf/hMhj.ubj')}(h5``phys_addr_t align`` alignment of free area to find h](j-)}(h``phys_addr_t align``h]h)}(hj/h]hphys_addr_t align}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj/ubjG)}(hhh]h)}(halignment of free area to findh]halignment of free area to find}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jFhj/ubeh}(h]h ]h"]h$]h&]uh1j&hj/hMhj.ubj')}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j-)}(h ``int nid``h]h)}(hj/h]hint nid}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj/ubjG)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hj/hhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ubh for any node}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jFhj/ubeh}(h]h ]h"]h$]h&]uh1j&hj/hMhj.ubj')}(hJ``enum memblock_flags flags`` pick from blocks based on memory attributes h](j-)}(h``enum memblock_flags flags``h]h)}(hj0h]henum memblock_flags flags}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 0ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj0ubjG)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hj'0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#0hMhj$0ubah}(h]h ]h"]h$]h&]uh1jFhj0ubeh}(h]h ]h"]h$]h&]uh1j&hj#0hMhj.ubeh}(h]h ]h"]h$]h&]uh1j!hj.ubh)}(h**Description**h]j)}(hjI0h]h Description}(hjK0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG0ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hj.ubh)}(hKUtility called from memblock_find_in_range_node(), find free area top-down.h]hKUtility called from memblock_find_in_range_node(), find free area top-down.}(hj_0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj.ubh)}(h **Return**h]j)}(hjp0h]hReturn}(hjr0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn0ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hj.ubh)}(h'Found address on success, 0 on failure.h]h'Found address on success, 0 on failure.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp(memblock_find_in_range_node (C function)c.memblock_find_in_range_nodehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hphys_addr_t __init_memblock memblock_find_in_range_node (phys_addr_t size, phys_addr_t align, phys_addr_t start, phys_addr_t end, int nid, enum memblock_flags flags)h]j)}(hphys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t size, phys_addr_t align, phys_addr_t start, phys_addr_t end, int nid, enum memblock_flags flags)h](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj0modnameN classnameNj^ja)}jd]jg)}jZmemblock_find_in_range_nodesbc.memblock_find_in_range_nodeasbuh1hhj0hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM'ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhj0hM'ubh__init_memblock}(hj0hhhNhNubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhj0hM'ubj)}(hmemblock_find_in_range_nodeh]j)}(hj0h]hmemblock_find_in_range_node}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj0hhhj0hM'ubj6)}(hm(phys_addr_t size, phys_addr_t align, phys_addr_t start, phys_addr_t end, int nid, enum memblock_flags flags)h](j<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj1modnameN classnameNj^ja)}jd]j0c.memblock_find_in_range_nodeasbuh1hhj1ubj)}(h h]h }(hj:1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(hsizeh]hsize}(hjH1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj1ubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjd1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja1ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjf1modnameN classnameNj^ja)}jd]j0c.memblock_find_in_range_nodeasbuh1hhj]1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]1ubj)}(halignh]halign}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]1ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj1ubj<)}(hphys_addr_t starth](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj1modnameN classnameNj^ja)}jd]j0c.memblock_find_in_range_nodeasbuh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(hstarth]hstart}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj1ubj<)}(hphys_addr_t endh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj1modnameN classnameNj^ja)}jd]j0c.memblock_find_in_range_nodeasbuh1hhj1ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(hendh]hend}(hj 2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj1ubj<)}(hint nidh](j)}(hinth]hint}(hj92hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj52ubj)}(h h]h }(hjG2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj52ubj)}(hnidh]hnid}(hjU2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj52ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj1ubj<)}(henum memblock_flags flagsh](j)}(hjh]henum}(hjn2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj2ubj)}(h h]h }(hj{2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj2ubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj2modnameN classnameNj^ja)}jd]j0c.memblock_find_in_range_nodeasbuh1hhjj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj2ubj)}(hflagsh]hflags}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj2ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj1ubeh}(h]h ]h"]h$]h&]jjuh1j5hj0hhhj0hM'ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj0hhhj0hM'ubah}(h]j0ah ](jjeh"]h$]h&]jj)jhuh1jyhj0hM'hj0hhubj)}(hhh]h)}(h&find free area in given range and nodeh]h&find free area in given range and node}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM'hj2hhubah}(h]h ]h"]h$]h&]uh1jhj0hhhj0hM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1jthhhjDhNhNubj)}(hXL**Parameters** ``phys_addr_t size`` size of free area to find ``phys_addr_t align`` alignment of free area to find ``phys_addr_t start`` start of candidate range ``phys_addr_t end`` end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE`` ``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node ``enum memblock_flags flags`` pick from blocks based on memory attributes **Description** Find **size** free area aligned to **align** in the specified range and node. **Return** Found address on success, 0 on failure.h](h)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM+hj2ubj")}(hhh](j')}(h/``phys_addr_t size`` size of free area to find h](j-)}(h``phys_addr_t size``h]h)}(hj#3h]hphys_addr_t size}(hj%3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!3ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM(hj3ubjG)}(hhh]h)}(hsize of free area to findh]hsize of free area to find}(hj<3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj83hM(hj93ubah}(h]h ]h"]h$]h&]uh1jFhj3ubeh}(h]h ]h"]h$]h&]uh1j&hj83hM(hj3ubj')}(h5``phys_addr_t align`` alignment of free area to find h](j-)}(h``phys_addr_t align``h]h)}(hj\3h]hphys_addr_t align}(hj^3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ3ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM)hjV3ubjG)}(hhh]h)}(halignment of free area to findh]halignment of free area to find}(hju3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjq3hM)hjr3ubah}(h]h ]h"]h$]h&]uh1jFhjV3ubeh}(h]h ]h"]h$]h&]uh1j&hjq3hM)hj3ubj')}(h/``phys_addr_t start`` start of candidate range h](j-)}(h``phys_addr_t start``h]h)}(hj3h]hphys_addr_t start}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM*hj3ubjG)}(hhh]h)}(hstart of candidate rangeh]hstart of candidate range}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM*hj3ubah}(h]h ]h"]h$]h&]uh1jFhj3ubeh}(h]h ]h"]h$]h&]uh1j&hj3hM*hj3ubj')}(hp``phys_addr_t end`` end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE`` h](j-)}(h``phys_addr_t end``h]h)}(hj3h]hphys_addr_t end}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM,hj3ubjG)}(hhh]h)}(h[end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE``h](hend of candidate range, can be }(hj3hhhNhNubh)}(h``MEMBLOCK_ALLOC_ANYWHERE``h]hMEMBLOCK_ALLOC_ANYWHERE}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3ubh or }(hj3hhhNhNubh)}(h``MEMBLOCK_ALLOC_ACCESSIBLE``h]hMEMBLOCK_ALLOC_ACCESSIBLE}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3ubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM+hj3ubah}(h]h ]h"]h$]h&]uh1jFhj3ubeh}(h]h ]h"]h$]h&]uh1j&hj3hM,hj3ubj')}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j-)}(h ``int nid``h]h)}(hj(4h]hint nid}(hj*4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&4ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM-hj"4ubjG)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hjA4hhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjI4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA4ubh for any node}(hjA4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj=4hM-hj>4ubah}(h]h ]h"]h$]h&]uh1jFhj"4ubeh}(h]h ]h"]h$]h&]uh1j&hj=4hM-hj3ubj')}(hJ``enum memblock_flags flags`` pick from blocks based on memory attributes h](j-)}(h``enum memblock_flags flags``h]h)}(hjs4h]henum memblock_flags flags}(hju4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjq4ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM.hjm4ubjG)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hM.hj4ubah}(h]h ]h"]h$]h&]uh1jFhjm4ubeh}(h]h ]h"]h$]h&]uh1j&hj4hM.hj3ubeh}(h]h ]h"]h$]h&]uh1j!hj2ubh)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM0hj2ubh)}(hMFind **size** free area aligned to **align** in the specified range and node.h](hFind }(hj4hhhNhNubj)}(h**size**h]hsize}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh free area aligned to }(hj4hhhNhNubj)}(h **align**h]halign}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh! in the specified range and node.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM/hj2ubh)}(h **Return**h]j)}(hj4h]hReturn}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM1hj2ubh)}(h'Found address on success, 0 on failure.h]h'Found address on success, 0 on failure.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM2hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp#memblock_find_in_range (C function)c.memblock_find_in_rangehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h|phys_addr_t __init_memblock memblock_find_in_range (phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align)h]j)}(h{phys_addr_t __init_memblock memblock_find_in_range(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align)h](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjA5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>5ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjC5modnameN classnameNj^ja)}jd]jg)}jZmemblock_find_in_rangesbc.memblock_find_in_rangeasbuh1hhj:5hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMLubj)}(h h]h }(hjc5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:5hhhjb5hMLubh__init_memblock}(hj:5hhhNhNubj)}(h h]h }(hju5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:5hhhjb5hMLubj)}(hmemblock_find_in_rangeh]j)}(hj_5h]hmemblock_find_in_range}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj:5hhhjb5hMLubj6)}(hI(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align)h](j<)}(hphys_addr_t starth](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj5modnameN classnameNj^ja)}jd]j]5c.memblock_find_in_rangeasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(hstarth]hstart}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj5ubj<)}(hphys_addr_t endh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj5modnameN classnameNj^ja)}jd]j]5c.memblock_find_in_rangeasbuh1hhj5ubj)}(h h]h }(hj 6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(hendh]hend}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj5ubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj56hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj26ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj76modnameN classnameNj^ja)}jd]j]5c.memblock_find_in_rangeasbuh1hhj.6ubj)}(h h]h }(hjS6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.6ubj)}(hsizeh]hsize}(hja6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.6ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj5ubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj}6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz6ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj6modnameN classnameNj^ja)}jd]j]5c.memblock_find_in_rangeasbuh1hhjv6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv6ubj)}(halignh]halign}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv6ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj5ubeh}(h]h ]h"]h$]h&]jjuh1j5hj:5hhhjb5hMLubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj65hhhjb5hMLubah}(h]j15ah ](jjeh"]h$]h&]jj)jhuh1jyhjb5hMLhj35hhubj)}(hhh]h)}(hfind free area in given rangeh]hfind free area in given range}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMLhj6hhubah}(h]h ]h"]h$]h&]uh1jhj35hhhjb5hMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``phys_addr_t start`` start of candidate range ``phys_addr_t end`` end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE`` ``phys_addr_t size`` size of free area to find ``phys_addr_t align`` alignment of free area to find **Description** Find **size** free area aligned to **align** in the specified range. **Return** Found address on success, 0 on failure.h](h)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMPhj6ubj")}(hhh](j')}(h/``phys_addr_t start`` start of candidate range h](j-)}(h``phys_addr_t start``h]h)}(hj7h]hphys_addr_t start}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMMhj7ubjG)}(hhh]h)}(hstart of candidate rangeh]hstart of candidate range}(hj-7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)7hMMhj*7ubah}(h]h ]h"]h$]h&]uh1jFhj7ubeh}(h]h ]h"]h$]h&]uh1j&hj)7hMMhj 7ubj')}(hp``phys_addr_t end`` end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE`` h](j-)}(h``phys_addr_t end``h]h)}(hjM7h]hphys_addr_t end}(hjO7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK7ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMOhjG7ubjG)}(hhh]h)}(h[end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE``h](hend of candidate range, can be }(hjf7hhhNhNubh)}(h``MEMBLOCK_ALLOC_ANYWHERE``h]hMEMBLOCK_ALLOC_ANYWHERE}(hjn7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjf7ubh or }(hjf7hhhNhNubh)}(h``MEMBLOCK_ALLOC_ACCESSIBLE``h]hMEMBLOCK_ALLOC_ACCESSIBLE}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjf7ubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMNhjc7ubah}(h]h ]h"]h$]h&]uh1jFhjG7ubeh}(h]h ]h"]h$]h&]uh1j&hjb7hMOhj 7ubj')}(h/``phys_addr_t size`` size of free area to find h](j-)}(h``phys_addr_t size``h]h)}(hj7h]hphys_addr_t size}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMPhj7ubjG)}(hhh]h)}(hsize of free area to findh]hsize of free area to find}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMPhj7ubah}(h]h ]h"]h$]h&]uh1jFhj7ubeh}(h]h ]h"]h$]h&]uh1j&hj7hMPhj 7ubj')}(h5``phys_addr_t align`` alignment of free area to find h](j-)}(h``phys_addr_t align``h]h)}(hj7h]hphys_addr_t align}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMQhj7ubjG)}(hhh]h)}(halignment of free area to findh]halignment of free area to find}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMQhj7ubah}(h]h ]h"]h$]h&]uh1jFhj7ubeh}(h]h ]h"]h$]h&]uh1j&hj7hMQhj 7ubeh}(h]h ]h"]h$]h&]uh1j!hj6ubh)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMShj6ubh)}(hDFind **size** free area aligned to **align** in the specified range.h](hFind }(hj18hhhNhNubj)}(h**size**h]hsize}(hj98hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj18ubh free area aligned to }(hj18hhhNhNubj)}(h **align**h]halign}(hjK8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj18ubh in the specified range.}(hj18hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMRhj6ubh)}(h **Return**h]j)}(hjf8h]hReturn}(hjh8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd8ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMThj6ubh)}(h'Found address on success, 0 on failure.h]h'Found address on success, 0 on failure.}(hj|8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMUhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpmemblock_discard (C function)c.memblock_discardhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hvoid memblock_discard (void)h]j)}(hvoid memblock_discard(void)h](j)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhj8hMubj)}(hmemblock_discardh]j)}(hmemblock_discardh]hmemblock_discard}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj8hhhj8hMubj6)}(h(void)h]j<)}(hvoidh]j)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]noemphjjuh1j;hj8ubah}(h]h ]h"]h$]h&]jjuh1j5hj8hhhj8hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj8hhhj8hMubah}(h]j8ah ](jjeh"]h$]h&]jj)jhuh1jyhj8hMhj8hhubj)}(hhh]h)}(h9discard memory and reserved arrays if they were allocatedh]h9discard memory and reserved arrays if they were allocated}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jhj8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*9jj*9jjjuh1jthhhjDhNhNubj)}(h'**Parameters** ``void`` no argumentsh](h)}(h**Parameters**h]j)}(hj49h]h Parameters}(hj69hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj29ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj.9ubj")}(hhh]j')}(h``void`` no argumentsh](j-)}(h``void``h]h)}(hjS9h]hvoid}(hjU9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ9ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjM9ubjG)}(hhh]h)}(h no argumentsh]h no arguments}(hjl9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhji9ubah}(h]h ]h"]h$]h&]uh1jFhjM9ubeh}(h]h ]h"]h$]h&]uh1j&hjh9hMhjJ9ubah}(h]h ]h"]h$]h&]uh1j!hj.9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp"memblock_double_array (C function)c.memblock_double_arrayhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h}int __init_memblock memblock_double_array (struct memblock_type *type, phys_addr_t new_area_start, phys_addr_t new_area_size)h]j)}(h|int __init_memblock memblock_double_array(struct memblock_type *type, phys_addr_t new_area_start, phys_addr_t new_area_size)h](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj9hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhj9hMubh__init_memblock}(hj9hhhNhNubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhj9hMubj)}(hmemblock_double_arrayh]j)}(hmemblock_double_arrayh]hmemblock_double_array}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj9hhhj9hMubj6)}(hS(struct memblock_type *type, phys_addr_t new_area_start, phys_addr_t new_area_size)h](j<)}(hstruct memblock_type *typeh](j)}(hj"h]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj :hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj:modnameN classnameNj^ja)}jd]jg)}jZj9sbc.memblock_double_arrayasbuh1hhj9ubj)}(h h]h }(hj::hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj )}(hj8h]h*}(hjH:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj)}(htypeh]htype}(hjU:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj9ubj<)}(hphys_addr_t new_area_starth](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjq:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn:ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjs:modnameN classnameNj^ja)}jd]j6:c.memblock_double_arrayasbuh1hhjj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj:ubj)}(hnew_area_starth]hnew_area_start}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj:ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj9ubj<)}(hphys_addr_t new_area_sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj:modnameN classnameNj^ja)}jd]j6:c.memblock_double_arrayasbuh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h new_area_sizeh]h new_area_size}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj9ubeh}(h]h ]h"]h$]h&]jjuh1j5hj9hhhj9hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj9hhhj9hMubah}(h]j9ah ](jjeh"]h$]h&]jj)jhuh1jyhj9hMhj9hhubj)}(hhh]h)}(h-double the size of the memblock regions arrayh]h-double the size of the memblock regions array}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj ;hhubah}(h]h ]h"]h$]h&]uh1jhj9hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj';jj';jjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``struct memblock_type *type`` memblock type of the regions array being doubled ``phys_addr_t new_area_start`` starting address of memory range to avoid overlap with ``phys_addr_t new_area_size`` size of memory range to avoid overlap with **Description** Double the size of the **type** regions array. If memblock is being used to allocate memory for a new reserved regions array and there is a previously allocated memory range [**new_area_start**, **new_area_start** + **new_area_size**] waiting to be reserved, ensure the memory used by the new array does not overlap. **Return** 0 on success, -1 on failure.h](h)}(h**Parameters**h]j)}(hj1;h]h Parameters}(hj3;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/;ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj+;ubj")}(hhh](j')}(hP``struct memblock_type *type`` memblock type of the regions array being doubled h](j-)}(h``struct memblock_type *type``h]h)}(hjP;h]hstruct memblock_type *type}(hjR;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN;ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjJ;ubjG)}(hhh]h)}(h0memblock type of the regions array being doubledh]h0memblock type of the regions array being doubled}(hji;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhje;hMhjf;ubah}(h]h ]h"]h$]h&]uh1jFhjJ;ubeh}(h]h ]h"]h$]h&]uh1j&hje;hMhjG;ubj')}(hV``phys_addr_t new_area_start`` starting address of memory range to avoid overlap with h](j-)}(h``phys_addr_t new_area_start``h]h)}(hj;h]hphys_addr_t new_area_start}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj;ubjG)}(hhh]h)}(h6starting address of memory range to avoid overlap withh]h6starting address of memory range to avoid overlap with}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jFhj;ubeh}(h]h ]h"]h$]h&]uh1j&hj;hMhjG;ubj')}(hI``phys_addr_t new_area_size`` size of memory range to avoid overlap with h](j-)}(h``phys_addr_t new_area_size``h]h)}(hj;h]hphys_addr_t new_area_size}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj;ubjG)}(hhh]h)}(h*size of memory range to avoid overlap withh]h*size of memory range to avoid overlap with}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jFhj;ubeh}(h]h ]h"]h$]h&]uh1j&hj;hMhjG;ubeh}(h]h ]h"]h$]h&]uh1j!hj+;ubh)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj+;ubh)}(hX<Double the size of the **type** regions array. If memblock is being used to allocate memory for a new reserved regions array and there is a previously allocated memory range [**new_area_start**, **new_area_start** + **new_area_size**] waiting to be reserved, ensure the memory used by the new array does not overlap.h](hDouble the size of the }(hj<hhhNhNubj)}(h**type**h]htype}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh regions array. If memblock is being used to allocate memory for a new reserved regions array and there is a previously allocated memory range [}(hj<hhhNhNubj)}(h**new_area_start**h]hnew_area_start}(hj-<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh, }(hj<hhhNhNubj)}(h**new_area_start**h]hnew_area_start}(hj?<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh + }(hj<hhhNhNubj)}(h**new_area_size**h]h new_area_size}(hjQ<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubhS] waiting to be reserved, ensure the memory used by the new array does not overlap.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj+;ubh)}(h **Return**h]j)}(hjl<h]hReturn}(hjn<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj<ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj+;ubh)}(h0 on success, -1 on failure.h]h0 on success, -1 on failure.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj+;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp#memblock_merge_regions (C function)c.memblock_merge_regionshNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hxvoid __init_memblock memblock_merge_regions (struct memblock_type *type, unsigned long start_rgn, unsigned long end_rgn)h]j)}(hwvoid __init_memblock memblock_merge_regions(struct memblock_type *type, unsigned long start_rgn, unsigned long end_rgn)h](j)}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj<hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhj<hMubh__init_memblock}(hj<hhhNhNubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhj<hMubj)}(hmemblock_merge_regionsh]j)}(hmemblock_merge_regionsh]hmemblock_merge_regions}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj<hhhj<hMubj6)}(hL(struct memblock_type *type, unsigned long start_rgn, unsigned long end_rgn)h](j<)}(hstruct memblock_type *typeh](j)}(hj"h]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hj =hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj =modnameN classnameNj^ja)}jd]jg)}jZj<sbc.memblock_merge_regionsasbuh1hhj<ubj)}(h h]h }(hj>=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj )}(hj8h]h*}(hjL=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<ubj)}(htypeh]htype}(hjY=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj<ubj<)}(hunsigned long start_rgnh](j)}(hunsignedh]hunsigned}(hjr=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjn=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn=ubj)}(hlongh]hlong}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjn=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn=ubj)}(h start_rgnh]h start_rgn}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn=ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj<ubj<)}(hunsigned long end_rgnh](j)}(hunsignedh]hunsigned}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(hlongh]hlong}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(hend_rgnh]hend_rgn}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj<ubeh}(h]h ]h"]h$]h&]jjuh1j5hj<hhhj<hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj<hhhj<hMubah}(h]j<ah ](jjeh"]h$]h&]jj)jhuh1jyhj<hMhj<hhubj)}(hhh]h)}(h$merge neighboring compatible regionsh]h$merge neighboring compatible regions}(hj%>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj">hhubah}(h]h ]h"]h$]h&]uh1jhj<hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=>jj=>jjjuh1jthhhjDhNhNubj)}(hX)**Parameters** ``struct memblock_type *type`` memblock type to scan ``unsigned long start_rgn`` start scanning from (**start_rgn** - 1) ``unsigned long end_rgn`` end scanning at (**end_rgn** - 1) Scan **type** and merge neighboring compatible regions in [**start_rgn** - 1, **end_rgn**)h](h)}(h**Parameters**h]j)}(hjG>h]h Parameters}(hjI>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE>ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjA>ubj")}(hhh](j')}(h5``struct memblock_type *type`` memblock type to scan h](j-)}(h``struct memblock_type *type``h]h)}(hjf>h]hstruct memblock_type *type}(hjh>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjd>ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj`>ubjG)}(hhh]h)}(hmemblock type to scanh]hmemblock type to scan}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{>hMhj|>ubah}(h]h ]h"]h$]h&]uh1jFhj`>ubeh}(h]h ]h"]h$]h&]uh1j&hj{>hMhj]>ubj')}(hD``unsigned long start_rgn`` start scanning from (**start_rgn** - 1) h](j-)}(h``unsigned long start_rgn``h]h)}(hj>h]hunsigned long start_rgn}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj>ubjG)}(hhh]h)}(h'start scanning from (**start_rgn** - 1)h](hstart scanning from (}(hj>hhhNhNubj)}(h **start_rgn**h]h start_rgn}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh - 1)}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jFhj>ubeh}(h]h ]h"]h$]h&]uh1j&hj>hMhj]>ubj')}(h``unsigned long end_rgn`` end scanning at (**end_rgn** - 1) Scan **type** and merge neighboring compatible regions in [**start_rgn** - 1, **end_rgn**)h](j-)}(h``unsigned long end_rgn``h]h)}(hj>h]hunsigned long end_rgn}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj>ubjG)}(hhh]h)}(h|end scanning at (**end_rgn** - 1) Scan **type** and merge neighboring compatible regions in [**start_rgn** - 1, **end_rgn**)h](hend scanning at (}(hj?hhhNhNubj)}(h **end_rgn**h]hend_rgn}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh - 1) Scan }(hj?hhhNhNubj)}(h**type**h]htype}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh. and merge neighboring compatible regions in [}(hj?hhhNhNubj)}(h **start_rgn**h]h start_rgn}(hj/?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh - 1, }(hj?hhhNhNubj)}(h **end_rgn**h]hend_rgn}(hjA?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh)}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jFhj>ubeh}(h]h ]h"]h$]h&]uh1j&hj>hMhj]>ubeh}(h]h ]h"]h$]h&]uh1j!hjA>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp#memblock_insert_region (C function)c.memblock_insert_regionhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hvoid __init_memblock memblock_insert_region (struct memblock_type *type, int idx, phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags)h]j)}(hvoid __init_memblock memblock_insert_region(struct memblock_type *type, int idx, phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags)h](j)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj?hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM6ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhj?hM6ubh__init_memblock}(hj?hhhNhNubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhj?hM6ubj)}(hmemblock_insert_regionh]j)}(hmemblock_insert_regionh]hmemblock_insert_region}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj?hhhj?hM6ubj6)}(hm(struct memblock_type *type, int idx, phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags)h](j<)}(hstruct memblock_type *typeh](j)}(hj"h]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj?modnameN classnameNj^ja)}jd]jg)}jZj?sbc.memblock_insert_regionasbuh1hhj?ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj )}(hj8h]h*}(hj&@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj)}(htypeh]htype}(hj3@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj?ubj<)}(hint idxh](j)}(hinth]hint}(hjL@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjH@ubj)}(h h]h }(hjZ@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjH@ubj)}(hidxh]hidx}(hjh@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjH@ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj?ubj<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj@modnameN classnameNj^ja)}jd]j@c.memblock_insert_regionasbuh1hhj}@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}@ubj)}(hbaseh]hbase}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}@ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj?ubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj@modnameN classnameNj^ja)}jd]j@c.memblock_insert_regionasbuh1hhj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj)}(hsizeh]hsize}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj?ubj<)}(hint nidh](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj Aubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Aubj)}(hnidh]hnid}(hj-AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Aubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj?ubj<)}(henum memblock_flags flagsh](j)}(hjh]henum}(hjFAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBAubj)}(h h]h }(hjSAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBAubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hjdAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaAubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjfAmodnameN classnameNj^ja)}jd]j@c.memblock_insert_regionasbuh1hhjBAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBAubj)}(hflagsh]hflags}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBAubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj?ubeh}(h]h ]h"]h$]h&]jjuh1j5hj?hhhj?hM6ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj?hhhj?hM6ubah}(h]j~?ah ](jjeh"]h$]h&]jj)jhuh1jyhj?hM6hj?hhubj)}(hhh]h)}(hinsert new memblock regionh]hinsert new memblock region}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM6hjAhhubah}(h]h ]h"]h$]h&]uh1jhj?hhhj?hM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``struct memblock_type *type`` memblock type to insert into ``int idx`` index for the insertion point ``phys_addr_t base`` base address of the new region ``phys_addr_t size`` size of the new region ``int nid`` node id of the new region ``enum memblock_flags flags`` flags of the new region **Description** Insert new memblock region [**base**, **base** + **size**) into **type** at **idx**. **type** must already have extra room to accommodate the new region.h](h)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM:hjAubj")}(hhh](j')}(h<``struct memblock_type *type`` memblock type to insert into h](j-)}(h``struct memblock_type *type``h]h)}(hjAh]hstruct memblock_type *type}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM7hjAubjG)}(hhh]h)}(hmemblock type to insert intoh]hmemblock type to insert into}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM7hjBubah}(h]h ]h"]h$]h&]uh1jFhjAubeh}(h]h ]h"]h$]h&]uh1j&hjBhM7hjAubj')}(h*``int idx`` index for the insertion point h](j-)}(h ``int idx``h]h)}(hj4Bh]hint idx}(hj6BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2Bubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM8hj.BubjG)}(hhh]h)}(hindex for the insertion pointh]hindex for the insertion point}(hjMBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIBhM8hjJBubah}(h]h ]h"]h$]h&]uh1jFhj.Bubeh}(h]h ]h"]h$]h&]uh1j&hjIBhM8hjAubj')}(h4``phys_addr_t base`` base address of the new region h](j-)}(h``phys_addr_t base``h]h)}(hjmBh]hphys_addr_t base}(hjoBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkBubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM9hjgBubjG)}(hhh]h)}(hbase address of the new regionh]hbase address of the new region}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM9hjBubah}(h]h ]h"]h$]h&]uh1jFhjgBubeh}(h]h ]h"]h$]h&]uh1j&hjBhM9hjAubj')}(h,``phys_addr_t size`` size of the new region h](j-)}(h``phys_addr_t size``h]h)}(hjBh]hphys_addr_t size}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM:hjBubjG)}(hhh]h)}(hsize of the new regionh]hsize of the new region}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM:hjBubah}(h]h ]h"]h$]h&]uh1jFhjBubeh}(h]h ]h"]h$]h&]uh1j&hjBhM:hjAubj')}(h&``int nid`` node id of the new region h](j-)}(h ``int nid``h]h)}(hjBh]hint nid}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM;hjBubjG)}(hhh]h)}(hnode id of the new regionh]hnode id of the new region}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM;hjBubah}(h]h ]h"]h$]h&]uh1jFhjBubeh}(h]h ]h"]h$]h&]uh1j&hjBhM;hjAubj')}(h6``enum memblock_flags flags`` flags of the new region h](j-)}(h``enum memblock_flags flags``h]h)}(hjCh]henum memblock_flags flags}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM<hjCubjG)}(hhh]h)}(hflags of the new regionh]hflags of the new region}(hj1ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-ChM<hj.Cubah}(h]h ]h"]h$]h&]uh1jFhjCubeh}(h]h ]h"]h$]h&]uh1j&hj-ChM<hjAubeh}(h]h ]h"]h$]h&]uh1j!hjAubh)}(h**Description**h]j)}(hjSCh]h Description}(hjUChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQCubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM>hjAubh)}(hInsert new memblock region [**base**, **base** + **size**) into **type** at **idx**. **type** must already have extra room to accommodate the new region.h](hInsert new memblock region [}(hjiChhhNhNubj)}(h**base**h]hbase}(hjqChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiCubh, }(hjiChhhNhNubj)}(h**base**h]hbase}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiCubh + }(hjiChhhNhNubj)}(h**size**h]hsize}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiCubh) into }(hjiChhhNhNubj)}(h**type**h]htype}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiCubh at }(hjiChhhNhNubj)}(h**idx**h]hidx}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiCubh. }(hjiChhhNhNubj)}(h**type**h]htype}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiCubh< must already have extra room to accommodate the new region.}(hjiChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM=hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpmemblock_add_range (C function)c.memblock_add_rangehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hint __init_memblock memblock_add_range (struct memblock_type *type, phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags)h]j)}(hint __init_memblock memblock_add_range(struct memblock_type *type, phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags)h](j)}(hinth]hint}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjDhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMTubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhjDhMTubh__init_memblock}(hjDhhhNhNubj)}(h h]h }(hj%DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhjDhMTubj)}(hmemblock_add_rangeh]j)}(hmemblock_add_rangeh]hmemblock_add_range}(hj7DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3Dubah}(h]h ](jjeh"]h$]h&]jjuh1jhjDhhhjDhMTubj6)}(hd(struct memblock_type *type, phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags)h](j<)}(hstruct memblock_type *typeh](j)}(hj"h]hstruct}(hjSDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjODubj)}(h h]h }(hj`DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjODubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hjqDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnDubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjsDmodnameN classnameNj^ja)}jd]jg)}jZj9Dsbc.memblock_add_rangeasbuh1hhjODubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjODubj )}(hj8h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjODubj)}(htypeh]htype}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjODubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjKDubj<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjDmodnameN classnameNj^ja)}jd]jDc.memblock_add_rangeasbuh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(hbaseh]hbase}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjKDubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Eubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjEmodnameN classnameNj^ja)}jd]jDc.memblock_add_rangeasbuh1hhj Eubj)}(h h]h }(hj.EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Eubj)}(hsizeh]hsize}(hjJubah}(h]h ]h"]h$]h&]uh1jFhj"Jubeh}(h]h ]h"]h$]h&]uh1j&hj=JhMhjIubj')}(h"``int nid`` nid of the new region h](j-)}(h ``int nid``h]h)}(hjaJh]hint nid}(hjcJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_Jubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj[JubjG)}(hhh]h)}(hnid of the new regionh]hnid of the new region}(hjzJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvJhMhjwJubah}(h]h ]h"]h$]h&]uh1jFhj[Jubeh}(h]h ]h"]h$]h&]uh1j&hjvJhMhjIubj')}(h6``enum memblock_flags flags`` flags of the new region h](j-)}(h``enum memblock_flags flags``h]h)}(hjJh]henum memblock_flags flags}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjJubjG)}(hhh]h)}(hflags of the new regionh]hflags of the new region}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jFhjJubeh}(h]h ]h"]h$]h&]uh1j&hjJhMhjIubeh}(h]h ]h"]h$]h&]uh1j!hjIubh)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjIubh)}(hAdd new memblock region [**base**, **base** + **size**) to the "memory" type. See memblock_add_range() description for mode detailsh](hAdd new memblock region [}(hjJhhhNhNubj)}(h**base**h]hbase}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh, }(hjJhhhNhNubj)}(h**base**h]hbase}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh + }(hjJhhhNhNubj)}(h**size**h]hsize}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubhQ) to the “memory” type. See memblock_add_range() description for mode details}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjIubh)}(h **Return**h]j)}(hj2Kh]hReturn}(hj4KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Kubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjIubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjHKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpmemblock_add (C function)c.memblock_addhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hEint __init_memblock memblock_add (phys_addr_t base, phys_addr_t size)h]j)}(hDint __init_memblock memblock_add(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hjwKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjsKhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsKhhhjKhMubh__init_memblock}(hjsKhhhNhNubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsKhhhjKhMubj)}(h memblock_addh]j)}(h memblock_addh]h memblock_add}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubah}(h]h ](jjeh"]h$]h&]jjuh1jhjsKhhhjKhMubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjKmodnameN classnameNj^ja)}jd]jg)}jZjKsbc.memblock_addasbuh1hhjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj)}(hbaseh]hbase}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjKubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjLmodnameN classnameNj^ja)}jd]jKc.memblock_addasbuh1hhj Lubj)}(h h]h }(hj1LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Lubj)}(hsizeh]hsize}(hj?LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Lubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjKubeh}(h]h ]h"]h$]h&]jjuh1j5hjsKhhhjKhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjoKhhhjKhMubah}(h]jjKah ](jjeh"]h$]h&]jj)jhuh1jyhjKhMhjlKhhubj)}(hhh]h)}(hadd new memblock regionh]hadd new memblock region}(hjiLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjfLhhubah}(h]h ]h"]h$]h&]uh1jhjlKhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1jthhhjDhNhNubj)}(hX8**Parameters** ``phys_addr_t base`` base address of the new region ``phys_addr_t size`` size of the new region **Description** Add new memblock region [**base**, **base** + **size**) to the "memory" type. See memblock_add_range() description for mode details **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjLubj")}(hhh](j')}(h4``phys_addr_t base`` base address of the new region h](j-)}(h``phys_addr_t base``h]h)}(hjLh]hphys_addr_t base}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjLubjG)}(hhh]h)}(hbase address of the new regionh]hbase address of the new region}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jFhjLubeh}(h]h ]h"]h$]h&]uh1j&hjLhMhjLubj')}(h,``phys_addr_t size`` size of the new region h](j-)}(h``phys_addr_t size``h]h)}(hjLh]hphys_addr_t size}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjLubjG)}(hhh]h)}(hsize of the new regionh]hsize of the new region}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jFhjLubeh}(h]h ]h"]h$]h&]uh1j&hjLhMhjLubeh}(h]h ]h"]h$]h&]uh1j!hjLubh)}(h**Description**h]j)}(hjMh]h Description}(hj MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjLubh)}(hAdd new memblock region [**base**, **base** + **size**) to the "memory" type. See memblock_add_range() description for mode detailsh](hAdd new memblock region [}(hj4MhhhNhNubj)}(h**base**h]hbase}(hjRh]hint *start_rgn}(hj@RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj``int *end_rgn`` out parameter for the end of isolated region h](j-)}(h``int *end_rgn``h]h)}(hjwRh]h int *end_rgn}(hjyRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuRubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM"hjqRubjG)}(hhh]h)}(h,out parameter for the end of isolated regionh]h,out parameter for the end of isolated region}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM"hjRubah}(h]h ]h"]h$]h&]uh1jFhjqRubeh}(h]h ]h"]h$]h&]uh1j&hjRhM"hjQubeh}(h]h ]h"]h$]h&]uh1j!hjnQubh)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM$hjnQubh)}(hXcWalk **type** and ensure that regions don't cross the boundaries defined by [**base**, **base** + **size**). Crossing regions are split at the boundaries, which may create at most two more regions. The index of the first region inside the range is returned in ***start_rgn** and the index of the first region after the range is returned in ***end_rgn**.h](hWalk }(hjRhhhNhNubj)}(h**type**h]htype}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubhB and ensure that regions don’t cross the boundaries defined by [}(hjRhhhNhNubj)}(h**base**h]hbase}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh, }(hjRhhhNhNubj)}(h**base**h]hbase}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh + }(hjRhhhNhNubj)}(h**size**h]hsize}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh). Crossing regions are split at the boundaries, which may create at most two more regions. The index of the first region inside the range is returned in }(hjRhhhNhNubj)}(h***start_rgn**h]h *start_rgn}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubhB and the index of the first region after the range is returned in }(hjRhhhNhNubj)}(h ***end_rgn**h]h*end_rgn}(hj*ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM#hjnQubh)}(h **Return**h]j)}(hjESh]hReturn}(hjGShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCSubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM)hjnQubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj[ShhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM*hjnQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpmemblock_free (C function)c.memblock_freehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h;void __init_memblock memblock_free (void *ptr, size_t size)h]j)}(h:void __init_memblock memblock_free(void *ptr, size_t size)h](j)}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjShhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhjShMubh__init_memblock}(hjShhhNhNubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhjShMubj)}(h memblock_freeh]j)}(h memblock_freeh]h memblock_free}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubah}(h]h ](jjeh"]h$]h&]jjuh1jhjShhhjShMubj6)}(h(void *ptr, size_t size)h](j<)}(h void *ptrh](j)}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj )}(hj8h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj)}(hptrh]hptr}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjSubj<)}(h size_t sizeh](h)}(hhh]j)}(hsize_th]hsize_t}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj TmodnameN classnameNj^ja)}jd]jg)}jZjSsbc.memblock_freeasbuh1hhjTubj)}(h h]h }(hj>ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(hsizeh]hsize}(hjLThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjSubeh}(h]h ]h"]h$]h&]jjuh1j5hjShhhjShMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjShhhjShMubah}(h]j}Sah ](jjeh"]h$]h&]jj)jhuh1jyhjShMhjShhubj)}(hhh]h)}(hfree boot memory allocationh]hfree boot memory allocation}(hjvThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjsThhubah}(h]h ]h"]h$]h&]uh1jhjShhhjShMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1jthhhjDhNhNubj)}(hXD**Parameters** ``void *ptr`` starting address of the boot memory allocation ``size_t size`` size of the boot memory block in bytes **Description** Free boot memory block previously allocated by memblock_alloc_xx() API. If called after the buddy allocator is available, the memory is released to the buddy allocator.h](h)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjTubj")}(hhh](j')}(h>``void *ptr`` starting address of the boot memory allocation h](j-)}(h ``void *ptr``h]h)}(hjTh]h void *ptr}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjTubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjTubjG)}(hhh]h)}(h/starting address of the boot memory allocationh]h/starting address of the boot memory allocation}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jFhjTubeh}(h]h ]h"]h$]h&]uh1j&hjThMhjTubj')}(h7``size_t size`` size of the boot memory block in bytes h](j-)}(h``size_t size``h]h)}(hjTh]h size_t size}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjTubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjTubjG)}(hhh]h)}(h&size of the boot memory block in bytesh]h&size of the boot memory block in bytes}(hj UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jFhjTubeh}(h]h ]h"]h$]h&]uh1j&hjUhMhjTubeh}(h]h ]h"]h$]h&]uh1j!hjTubh)}(h**Description**h]j)}(hj+Uh]h Description}(hj-UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Uubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjTubh)}(hFree boot memory block previously allocated by memblock_alloc_xx() API. If called after the buddy allocator is available, the memory is released to the buddy allocator.h]hFree boot memory block previously allocated by memblock_alloc_xx() API. If called after the buddy allocator is available, the memory is released to the buddy allocator.}(hjAUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpmemblock_phys_free (C function)c.memblock_phys_freehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hKint __init_memblock memblock_phys_free (phys_addr_t base, phys_addr_t size)h]j)}(hJint __init_memblock memblock_phys_free(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hjpUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjlUhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlUhhhj~UhMubh__init_memblock}(hjlUhhhNhNubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlUhhhj~UhMubj)}(hmemblock_phys_freeh]j)}(hmemblock_phys_freeh]hmemblock_phys_free}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubah}(h]h ](jjeh"]h$]h&]jjuh1jhjlUhhhj~UhMubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjUmodnameN classnameNj^ja)}jd]jg)}jZjUsbc.memblock_phys_freeasbuh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(hbaseh]hbase}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjUubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Vubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjVmodnameN classnameNj^ja)}jd]jUc.memblock_phys_freeasbuh1hhjVubj)}(h h]h }(hj*VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(hsizeh]hsize}(hj8VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjUubeh}(h]h ]h"]h$]h&]jjuh1j5hjlUhhhj~UhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhUhhhj~UhMubah}(h]jcUah ](jjeh"]h$]h&]jj)jhuh1jyhj~UhMhjeUhhubj)}(hhh]h)}(hfree boot memory blockh]hfree boot memory block}(hjbVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj_Vhhubah}(h]h ]h"]h$]h&]uh1jhjeUhhhj~UhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzVjjzVjjjuh1jthhhjDhNhNubj)}(hXU**Parameters** ``phys_addr_t base`` phys starting address of the boot memory block ``phys_addr_t size`` size of the boot memory block in bytes **Description** Free boot memory block previously allocated by memblock_phys_alloc_xx() API. If called after the buddy allocator is available, the memory is released to the buddy allocator.h](h)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj~Vubj")}(hhh](j')}(hE``phys_addr_t base`` phys starting address of the boot memory block h](j-)}(h``phys_addr_t base``h]h)}(hjVh]hphys_addr_t base}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjVubjG)}(hhh]h)}(h/phys starting address of the boot memory blockh]h/phys starting address of the boot memory block}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jFhjVubeh}(h]h ]h"]h$]h&]uh1j&hjVhMhjVubj')}(h<``phys_addr_t size`` size of the boot memory block in bytes h](j-)}(h``phys_addr_t size``h]h)}(hjVh]hphys_addr_t size}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjVubjG)}(hhh]h)}(h&size of the boot memory block in bytesh]h&size of the boot memory block in bytes}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jFhjVubeh}(h]h ]h"]h$]h&]uh1j&hjVhMhjVubeh}(h]h ]h"]h$]h&]uh1j!hj~Vubh)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj~Vubh)}(hFree boot memory block previously allocated by memblock_phys_alloc_xx() API. If called after the buddy allocator is available, the memory is released to the buddy allocator.h]hFree boot memory block previously allocated by memblock_phys_alloc_xx() API. If called after the buddy allocator is available, the memory is released to the buddy allocator.}(hj-WhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj~Vubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp!memblock_setclr_flag (C function)c.memblock_setclr_flaghNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h|int __init_memblock memblock_setclr_flag (struct memblock_type *type, phys_addr_t base, phys_addr_t size, int set, int flag)h]j)}(h{int __init_memblock memblock_setclr_flag(struct memblock_type *type, phys_addr_t base, phys_addr_t size, int set, int flag)h](j)}(hinth]hint}(hj\WhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjXWhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM(ubj)}(h h]h }(hjkWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXWhhhjjWhM(ubh__init_memblock}(hjXWhhhNhNubj)}(h h]h }(hj}WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXWhhhjjWhM(ubj)}(hmemblock_setclr_flagh]j)}(hmemblock_setclr_flagh]hmemblock_setclr_flag}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubah}(h]h ](jjeh"]h$]h&]jjuh1jhjXWhhhjjWhM(ubj6)}(hS(struct memblock_type *type, phys_addr_t base, phys_addr_t size, int set, int flag)h](j<)}(hstruct memblock_type *typeh](j)}(hj"h]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjWmodnameN classnameNj^ja)}jd]jg)}jZjWsbc.memblock_setclr_flagasbuh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj )}(hj8h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj)}(htypeh]htype}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjWubj<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj"XmodnameN classnameNj^ja)}jd]jWc.memblock_setclr_flagasbuh1hhjXubj)}(h h]h }(hj>XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(hbaseh]hbase}(hjLXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjWubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeXubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjjXmodnameN classnameNj^ja)}jd]jWc.memblock_setclr_flagasbuh1hhjaXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaXubj)}(hsizeh]hsize}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaXubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjWubj<)}(hint seth](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(hseth]hset}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjWubj<)}(hint flagh](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(hflagh]hflag}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjWubeh}(h]h ]h"]h$]h&]jjuh1j5hjXWhhhjjWhM(ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjTWhhhjjWhM(ubah}(h]jOWah ](jjeh"]h$]h&]jj)jhuh1jyhjjWhM(hjQWhhubj)}(hhh]h)}(h%set or clear flag for a memory regionh]h%set or clear flag for a memory region}(hj(YhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM(hj%Yhhubah}(h]h ]h"]h$]h&]uh1jhjQWhhhjjWhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@Yjj@Yjjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``struct memblock_type *type`` memblock type to set/clear flag for ``phys_addr_t base`` base address of the region ``phys_addr_t size`` size of the region ``int set`` set or clear the flag ``int flag`` the flag to update **Description** This function isolates region [**base**, **base** + **size**), and sets/clears flag **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hjJYh]h Parameters}(hjLYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHYubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM,hjDYubj")}(hhh](j')}(hC``struct memblock_type *type`` memblock type to set/clear flag for h](j-)}(h``struct memblock_type *type``h]h)}(hjiYh]hstruct memblock_type *type}(hjkYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgYubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM)hjcYubjG)}(hhh]h)}(h#memblock type to set/clear flag forh]h#memblock type to set/clear flag for}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~YhM)hjYubah}(h]h ]h"]h$]h&]uh1jFhjcYubeh}(h]h ]h"]h$]h&]uh1j&hj~YhM)hj`Yubj')}(h0``phys_addr_t base`` base address of the region h](j-)}(h``phys_addr_t base``h]h)}(hjYh]hphys_addr_t base}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM*hjYubjG)}(hhh]h)}(hbase address of the regionh]hbase address of the region}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM*hjYubah}(h]h ]h"]h$]h&]uh1jFhjYubeh}(h]h ]h"]h$]h&]uh1j&hjYhM*hj`Yubj')}(h(``phys_addr_t size`` size of the region h](j-)}(h``phys_addr_t size``h]h)}(hjYh]hphys_addr_t size}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM+hjYubjG)}(hhh]h)}(hsize of the regionh]hsize of the region}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM+hjYubah}(h]h ]h"]h$]h&]uh1jFhjYubeh}(h]h ]h"]h$]h&]uh1j&hjYhM+hj`Yubj')}(h"``int set`` set or clear the flag h](j-)}(h ``int set``h]h)}(hjZh]hint set}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM,hjZubjG)}(hhh]h)}(hset or clear the flagh]hset or clear the flag}(hj-ZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)ZhM,hj*Zubah}(h]h ]h"]h$]h&]uh1jFhjZubeh}(h]h ]h"]h$]h&]uh1j&hj)ZhM,hj`Yubj')}(h ``int flag`` the flag to update h](j-)}(h ``int flag``h]h)}(hjMZh]hint flag}(hjOZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKZubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM-hjGZubjG)}(hhh]h)}(hthe flag to updateh]hthe flag to update}(hjfZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbZhM-hjcZubah}(h]h ]h"]h$]h&]uh1jFhjGZubeh}(h]h ]h"]h$]h&]uh1j&hjbZhM-hj`Yubeh}(h]h ]h"]h$]h&]uh1j!hjDYubh)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM/hjDYubh)}(hSThis function isolates region [**base**, **base** + **size**), and sets/clears flagh](hThis function isolates region [}(hjZhhhNhNubj)}(h**base**h]hbase}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh, }(hjZhhhNhNubj)}(h**base**h]hbase}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh + }(hjZhhhNhNubj)}(h**size**h]hsize}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh), and sets/clears flag}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM.hjDYubh)}(h **Return**h]j)}(hjZh]hReturn}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM0hjDYubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM1hjDYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp"memblock_mark_hotplug (C function)c.memblock_mark_hotplughNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hNint __init_memblock memblock_mark_hotplug (phys_addr_t base, phys_addr_t size)h]j)}(hMint __init_memblock memblock_mark_hotplug(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj*[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj&[hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMJubj)}(h h]h }(hj9[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&[hhhj8[hMJubh__init_memblock}(hj&[hhhNhNubj)}(h h]h }(hjK[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&[hhhj8[hMJubj)}(hmemblock_mark_hotplugh]j)}(hmemblock_mark_hotplugh]hmemblock_mark_hotplug}(hj][hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY[ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj&[hhhj8[hMJubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj|[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy[ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj~[modnameN classnameNj^ja)}jd]jg)}jZj_[sbc.memblock_mark_hotplugasbuh1hhju[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju[ubj)}(hbaseh]hbase}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju[ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjq[ubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj[modnameN classnameNj^ja)}jd]j[c.memblock_mark_hotplugasbuh1hhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj)}(hsizeh]hsize}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjq[ubeh}(h]h ]h"]h$]h&]jjuh1j5hj&[hhhj8[hMJubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj"[hhhj8[hMJubah}(h]j[ah ](jjeh"]h$]h&]jj)jhuh1jyhj8[hMJhj[hhubj)}(hhh]h)}(h4Mark hotpluggable memory with flag MEMBLOCK_HOTPLUG.h]h4Mark hotpluggable memory with flag MEMBLOCK_HOTPLUG.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMJhj\hhubah}(h]h ]h"]h$]h&]uh1jhj[hhhj8[hMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4\jj4\jjjuh1jthhhjDhNhNubj)}(h**Parameters** ``phys_addr_t base`` the base phys addr of the region ``phys_addr_t size`` the size of the region **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hj>\h]h Parameters}(hj@\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<\ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMNhj8\ubj")}(hhh](j')}(h6``phys_addr_t base`` the base phys addr of the region h](j-)}(h``phys_addr_t base``h]h)}(hj]\h]hphys_addr_t base}(hj_\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[\ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMKhjW\ubjG)}(hhh]h)}(h the base phys addr of the regionh]h the base phys addr of the region}(hjv\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjr\hMKhjs\ubah}(h]h ]h"]h$]h&]uh1jFhjW\ubeh}(h]h ]h"]h$]h&]uh1j&hjr\hMKhjT\ubj')}(h,``phys_addr_t size`` the size of the region h](j-)}(h``phys_addr_t size``h]h)}(hj\h]hphys_addr_t size}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMLhj\ubjG)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMLhj\ubah}(h]h ]h"]h$]h&]uh1jFhj\ubeh}(h]h ]h"]h$]h&]uh1j&hj\hMLhjT\ubeh}(h]h ]h"]h$]h&]uh1j!hj8\ubh)}(h **Return**h]j)}(hj\h]hReturn}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMNhj8\ubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMNhj8\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp#memblock_clear_hotplug (C function)c.memblock_clear_hotplughNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hOint __init_memblock memblock_clear_hotplug (phys_addr_t base, phys_addr_t size)h]j)}(hNint __init_memblock memblock_clear_hotplug(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj]hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMVubj)}(h h]h }(hj%]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhj$]hMVubh__init_memblock}(hj]hhhNhNubj)}(h h]h }(hj7]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhj$]hMVubj)}(hmemblock_clear_hotplugh]j)}(hmemblock_clear_hotplugh]hmemblock_clear_hotplug}(hjI]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE]ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj]hhhj$]hMVubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjh]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje]ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjj]modnameN classnameNj^ja)}jd]jg)}jZjK]sbc.memblock_clear_hotplugasbuh1hhja]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja]ubj)}(hbaseh]hbase}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja]ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj]]ubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj]modnameN classnameNj^ja)}jd]j]c.memblock_clear_hotplugasbuh1hhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj)}(hsizeh]hsize}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj]]ubeh}(h]h ]h"]h$]h&]jjuh1j5hj]hhhj$]hMVubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj]hhhj$]hMVubah}(h]j ]ah ](jjeh"]h$]h&]jj)jhuh1jyhj$]hMVhj ]hhubj)}(hhh]h)}(h3Clear flag MEMBLOCK_HOTPLUG for a specified region.h]h3Clear flag MEMBLOCK_HOTPLUG for a specified region.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMVhj^hhubah}(h]h ]h"]h$]h&]uh1jhj ]hhhj$]hMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjj ^jj ^jjjuh1jthhhjDhNhNubj)}(h**Parameters** ``phys_addr_t base`` the base phys addr of the region ``phys_addr_t size`` the size of the region **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hj*^h]h Parameters}(hj,^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(^ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMZhj$^ubj")}(hhh](j')}(h6``phys_addr_t base`` the base phys addr of the region h](j-)}(h``phys_addr_t base``h]h)}(hjI^h]hphys_addr_t base}(hjK^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjG^ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMWhjC^ubjG)}(hhh]h)}(h the base phys addr of the regionh]h the base phys addr of the region}(hjb^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^^hMWhj_^ubah}(h]h ]h"]h$]h&]uh1jFhjC^ubeh}(h]h ]h"]h$]h&]uh1j&hj^^hMWhj@^ubj')}(h,``phys_addr_t size`` the size of the region h](j-)}(h``phys_addr_t size``h]h)}(hj^h]hphys_addr_t size}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMXhj|^ubjG)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMXhj^ubah}(h]h ]h"]h$]h&]uh1jFhj|^ubeh}(h]h ]h"]h$]h&]uh1j&hj^hMXhj@^ubeh}(h]h ]h"]h$]h&]uh1j!hj$^ubh)}(h **Return**h]j)}(hj^h]hReturn}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMZhj$^ubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMZhj$^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp!memblock_mark_mirror (C function)c.memblock_mark_mirrorhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hMint __init_memblock memblock_mark_mirror (phys_addr_t base, phys_addr_t size)h]j)}(hLint __init_memblock memblock_mark_mirror(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj^hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMbubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhj_hMbubh__init_memblock}(hj^hhhNhNubj)}(h h]h }(hj#_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhj_hMbubj)}(hmemblock_mark_mirrorh]j)}(hmemblock_mark_mirrorh]hmemblock_mark_mirror}(hj5_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1_ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj^hhhj_hMbubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjT_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ_ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjV_modnameN classnameNj^ja)}jd]jg)}jZj7_sbc.memblock_mark_mirrorasbuh1hhjM_ubj)}(h h]h }(hjt_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM_ubj)}(hbaseh]hbase}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM_ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjI_ubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj_modnameN classnameNj^ja)}jd]jp_c.memblock_mark_mirrorasbuh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(hsizeh]hsize}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjI_ubeh}(h]h ]h"]h$]h&]jjuh1j5hj^hhhj_hMbubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj^hhhj_hMbubah}(h]j^ah ](jjeh"]h$]h&]jj)jhuh1jyhj_hMbhj^hhubj)}(hhh]h)}(h/Mark mirrored memory with flag MEMBLOCK_MIRROR.h]h/Mark mirrored memory with flag MEMBLOCK_MIRROR.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMbhj_hhubah}(h]h ]h"]h$]h&]uh1jhj^hhhj_hMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjj `jj `jjjuh1jthhhjDhNhNubj)}(h**Parameters** ``phys_addr_t base`` the base phys addr of the region ``phys_addr_t size`` the size of the region **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMfhj`ubj")}(hhh](j')}(h6``phys_addr_t base`` the base phys addr of the region h](j-)}(h``phys_addr_t base``h]h)}(hj5`h]hphys_addr_t base}(hj7`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3`ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMchj/`ubjG)}(hhh]h)}(h the base phys addr of the regionh]h the base phys addr of the region}(hjN`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJ`hMchjK`ubah}(h]h ]h"]h$]h&]uh1jFhj/`ubeh}(h]h ]h"]h$]h&]uh1j&hjJ`hMchj,`ubj')}(h,``phys_addr_t size`` the size of the region h](j-)}(h``phys_addr_t size``h]h)}(hjn`h]hphys_addr_t size}(hjp`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjl`ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMdhjh`ubjG)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMdhj`ubah}(h]h ]h"]h$]h&]uh1jFhjh`ubeh}(h]h ]h"]h$]h&]uh1j&hj`hMdhj,`ubeh}(h]h ]h"]h$]h&]uh1j!hj`ubh)}(h **Return**h]j)}(hj`h]hReturn}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMfhj`ubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMfhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp memblock_mark_nomap (C function)c.memblock_mark_nomaphNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hLint __init_memblock memblock_mark_nomap (phys_addr_t base, phys_addr_t size)h]j)}(hKint __init_memblock memblock_mark_nomap(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj`hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMsubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhj`hMsubh__init_memblock}(hj`hhhNhNubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhj`hMsubj)}(hmemblock_mark_nomaph]j)}(hmemblock_mark_nomaph]hmemblock_mark_nomap}(hj!ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubah}(h]h ](jjeh"]h$]h&]jjuh1jhj`hhhj`hMsubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj@ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=aubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjBamodnameN classnameNj^ja)}jd]jg)}jZj#asbc.memblock_mark_nomapasbuh1hhj9aubj)}(h h]h }(hj`ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9aubj)}(hbaseh]hbase}(hjnahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9aubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj5aubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjamodnameN classnameNj^ja)}jd]j\ac.memblock_mark_nomapasbuh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(hsizeh]hsize}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj5aubeh}(h]h ]h"]h$]h&]jjuh1j5hj`hhhj`hMsubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj`hhhj`hMsubah}(h]j`ah ](jjeh"]h$]h&]jj)jhuh1jyhj`hMshj`hhubj)}(hhh]h)}(h.Mark a memory region with flag MEMBLOCK_NOMAP.h]h.Mark a memory region with flag MEMBLOCK_NOMAP.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMshjahhubah}(h]h ]h"]h$]h&]uh1jhj`hhhj`hMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1jthhhjDhNhNubj)}(hXE**Parameters** ``phys_addr_t base`` the base phys addr of the region ``phys_addr_t size`` the size of the region **Description** The memory regions marked with ``MEMBLOCK_NOMAP`` will not be added to the direct mapping of the physical memory. These regions will still be covered by the memory map. The struct page representing NOMAP memory frames in the memory map will be PageReserved() **Note** if the memory being marked ``MEMBLOCK_NOMAP`` was allocated from memblock, the caller must inform kmemleak to ignore that memory **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMwhjaubj")}(hhh](j')}(h6``phys_addr_t base`` the base phys addr of the region h](j-)}(h``phys_addr_t base``h]h)}(hj!bh]hphys_addr_t base}(hj#bhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMthjbubjG)}(hhh]h)}(h the base phys addr of the regionh]h the base phys addr of the region}(hj:bhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6bhMthj7bubah}(h]h ]h"]h$]h&]uh1jFhjbubeh}(h]h ]h"]h$]h&]uh1j&hj6bhMthjbubj')}(h,``phys_addr_t size`` the size of the region h](j-)}(h``phys_addr_t size``h]h)}(hjZbh]hphys_addr_t size}(hj\bhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXbubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMuhjTbubjG)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hjsbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjobhMuhjpbubah}(h]h ]h"]h$]h&]uh1jFhjTbubeh}(h]h ]h"]h$]h&]uh1j&hjobhMuhjbubeh}(h]h ]h"]h$]h&]uh1j!hjaubh)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMwhjaubh)}(hXThe memory regions marked with ``MEMBLOCK_NOMAP`` will not be added to the direct mapping of the physical memory. These regions will still be covered by the memory map. The struct page representing NOMAP memory frames in the memory map will be PageReserved()h](hThe memory regions marked with }(hjbhhhNhNubh)}(h``MEMBLOCK_NOMAP``h]hMEMBLOCK_NOMAP}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbubh will not be added to the direct mapping of the physical memory. These regions will still be covered by the memory map. The struct page representing NOMAP memory frames in the memory map will be PageReserved()}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMvhjaubh)}(h**Note**h]j)}(hjbh]hNote}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM{hjaubh)}(hif the memory being marked ``MEMBLOCK_NOMAP`` was allocated from memblock, the caller must inform kmemleak to ignore that memoryh](hif the memory being marked }(hjbhhhNhNubh)}(h``MEMBLOCK_NOMAP``h]hMEMBLOCK_NOMAP}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbubhS was allocated from memblock, the caller must inform kmemleak to ignore that memory}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM|hjaubh)}(h **Return**h]j)}(hjch]hReturn}(hj chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjaubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp!memblock_clear_nomap (C function)c.memblock_clear_nomaphNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hMint __init_memblock memblock_clear_nomap (phys_addr_t base, phys_addr_t size)h]j)}(hLint __init_memblock memblock_clear_nomap(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hjLchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHchhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hj[chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHchhhjZchMubh__init_memblock}(hjHchhhNhNubj)}(h h]h }(hjmchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHchhhjZchMubj)}(hmemblock_clear_nomaph]j)}(hmemblock_clear_nomaph]hmemblock_clear_nomap}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{cubah}(h]h ](jjeh"]h$]h&]jjuh1jhjHchhhjZchMubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjcmodnameN classnameNj^ja)}jd]jg)}jZjcsbc.memblock_clear_nomapasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(hbaseh]hbase}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjcubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjcmodnameN classnameNj^ja)}jd]jcc.memblock_clear_nomapasbuh1hhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(hsizeh]hsize}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjcubeh}(h]h ]h"]h$]h&]jjuh1j5hjHchhhjZchMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjDchhhjZchMubah}(h]j?cah ](jjeh"]h$]h&]jj)jhuh1jyhjZchMhjAchhubj)}(hhh]h)}(h1Clear flag MEMBLOCK_NOMAP for a specified region.h]h1Clear flag MEMBLOCK_NOMAP for a specified region.}(hj>dhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj;dhhubah}(h]h ]h"]h$]h&]uh1jhjAchhhjZchMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVdjjVdjjjuh1jthhhjDhNhNubj)}(h**Parameters** ``phys_addr_t base`` the base phys addr of the region ``phys_addr_t size`` the size of the region **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hj`dh]h Parameters}(hjbdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^dubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjZdubj")}(hhh](j')}(h6``phys_addr_t base`` the base phys addr of the region h](j-)}(h``phys_addr_t base``h]h)}(hjdh]hphys_addr_t base}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}dubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjydubjG)}(hhh]h)}(h the base phys addr of the regionh]h the base phys addr of the region}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jFhjydubeh}(h]h ]h"]h$]h&]uh1j&hjdhMhjvdubj')}(h,``phys_addr_t size`` the size of the region h](j-)}(h``phys_addr_t size``h]h)}(hjdh]hphys_addr_t size}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjdubjG)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jFhjdubeh}(h]h ]h"]h$]h&]uh1j&hjdhMhjvdubeh}(h]h ]h"]h$]h&]uh1j!hjZdubh)}(h **Return**h]j)}(hjdh]hReturn}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjZdubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjZdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp*memblock_reserved_mark_noinit (C function)c.memblock_reserved_mark_noinithNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hVint __init_memblock memblock_reserved_mark_noinit (phys_addr_t base, phys_addr_t size)h]j)}(hUint __init_memblock memblock_reserved_mark_noinit(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj8ehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ehhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjGehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ehhhjFehMubh__init_memblock}(hj4ehhhNhNubj)}(h h]h }(hjYehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ehhhjFehMubj)}(hmemblock_reserved_mark_noinith]j)}(hmemblock_reserved_mark_noinith]hmemblock_reserved_mark_noinit}(hjkehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgeubah}(h]h ](jjeh"]h$]h&]jjuh1jhj4ehhhjFehMubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjemodnameN classnameNj^ja)}jd]jg)}jZjmesbc.memblock_reserved_mark_noinitasbuh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(hbaseh]hbase}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjeubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjemodnameN classnameNj^ja)}jd]jec.memblock_reserved_mark_noinitasbuh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(hsizeh]hsize}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjeubeh}(h]h ]h"]h$]h&]jjuh1j5hj4ehhhjFehMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj0ehhhjFehMubah}(h]j+eah ](jjeh"]h$]h&]jj)jhuh1jyhjFehMhj-ehhubj)}(hhh]h)}(hkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6kubhJ will be considered for allocations during early boot with kexec handover.}(hj6khhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjjubh)}(h **Return**h]j)}(hjYkh]hReturn}(hj[khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWkubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjjubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjokhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp'memblock_clear_kho_scratch (C function)c.memblock_clear_kho_scratchhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hCint memblock_clear_kho_scratch (phys_addr_t base, phys_addr_t size)h]j)}(hBint memblock_clear_kho_scratch(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjkhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhjkhMubj)}(hmemblock_clear_kho_scratchh]j)}(hmemblock_clear_kho_scratchh]hmemblock_clear_kho_scratch}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubah}(h]h ](jjeh"]h$]h&]jjuh1jhjkhhhjkhMubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjkmodnameN classnameNj^ja)}jd]jg)}jZjksbc.memblock_clear_kho_scratchasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(hbaseh]hbase}(hj lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjkubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj(lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%lubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj*lmodnameN classnameNj^ja)}jd]jkc.memblock_clear_kho_scratchasbuh1hhj!lubj)}(h h]h }(hjFlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!lubj)}(hsizeh]hsize}(hjTlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!lubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjkubeh}(h]h ]h"]h$]h&]jjuh1j5hjkhhhjkhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjkhhhjkhMubah}(h]jkah ](jjeh"]h$]h&]jj)jhuh1jyhjkhMhjkhhubj)}(hhh]h)}(h7Clear MEMBLOCK_KHO_SCRATCH flag for a specified region.h]h7Clear MEMBLOCK_KHO_SCRATCH flag for a specified region.}(hj~lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj{lhhubah}(h]h ]h"]h$]h&]uh1jhjkhhhjkhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1jthhhjDhNhNubj)}(h**Parameters** ``phys_addr_t base`` the base phys addr of the region ``phys_addr_t size`` the size of the region **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjlubj")}(hhh](j')}(h6``phys_addr_t base`` the base phys addr of the region h](j-)}(h``phys_addr_t base``h]h)}(hjlh]hphys_addr_t base}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjlubjG)}(hhh]h)}(h the base phys addr of the regionh]h the base phys addr of the region}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jFhjlubeh}(h]h ]h"]h$]h&]uh1j&hjlhMhjlubj')}(h,``phys_addr_t size`` the size of the region h](j-)}(h``phys_addr_t size``h]h)}(hjlh]hphys_addr_t size}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjlubjG)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj mhMhjmubah}(h]h ]h"]h$]h&]uh1jFhjlubeh}(h]h ]h"]h$]h&]uh1j&hj mhMhjlubeh}(h]h ]h"]h$]h&]uh1j!hjlubh)}(h **Return**h]j)}(hj3mh]hReturn}(hj5mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1mubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjlubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjImhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp__next_mem_range (C function)c.__next_mem_rangehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hvoid __next_mem_range (u64 *idx, int nid, enum memblock_flags flags, struct memblock_type *type_a, struct memblock_type *type_b, phys_addr_t *out_start, phys_addr_t *out_end, int *out_nid)h]j)}(hvoid __next_mem_range(u64 *idx, int nid, enum memblock_flags flags, struct memblock_type *type_a, struct memblock_type *type_b, phys_addr_t *out_start, phys_addr_t *out_end, int *out_nid)h](j)}(hvoidh]hvoid}(hjxmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjtmhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtmhhhjmhMubj)}(h__next_mem_rangeh]j)}(h__next_mem_rangeh]h__next_mem_range}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubah}(h]h ](jjeh"]h$]h&]jjuh1jhjtmhhhjmhMubj6)}(h(u64 *idx, int nid, enum memblock_flags flags, struct memblock_type *type_a, struct memblock_type *type_b, phys_addr_t *out_start, phys_addr_t *out_end, int *out_nid)h](j<)}(hu64 *idxh](h)}(hhh]j)}(hu64h]hu64}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmmodnameN classnameNj^ja)}jd]jg)}jZjmsbc.__next_mem_rangeasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj )}(hj8h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj)}(hidxh]hidx}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjmubj<)}(hint nidh](j)}(hinth]hint}(hj nhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(hnidh]hnid}(hj(nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjmubj<)}(henum memblock_flags flagsh](j)}(hjh]henum}(hjAnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=nubj)}(h h]h }(hjNnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=nubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hj_nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\nubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjanmodnameN classnameNj^ja)}jd]jmc.__next_mem_rangeasbuh1hhj=nubj)}(h h]h }(hj}nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=nubj)}(hflagsh]hflags}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=nubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjmubj<)}(hstruct memblock_type *type_ah](j)}(hj"h]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjnmodnameN classnameNj^ja)}jd]jmc.__next_mem_rangeasbuh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj )}(hj8h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj)}(htype_ah]htype_a}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjmubj<)}(hstruct memblock_type *type_bh](j)}(hj"h]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hj!ohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hj2ohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/oubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj4omodnameN classnameNj^ja)}jd]jmc.__next_mem_rangeasbuh1hhjoubj)}(h h]h }(hjPohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj )}(hj8h]h*}(hj^ohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj)}(htype_bh]htype_b}(hjkohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjmubj<)}(hphys_addr_t *out_starth](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjomodnameN classnameNj^ja)}jd]jmc.__next_mem_rangeasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj )}(hj8h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj)}(h out_starth]h out_start}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjmubj<)}(hphys_addr_t *out_endh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjomodnameN classnameNj^ja)}jd]jmc.__next_mem_rangeasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj )}(hj8h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj)}(hout_endh]hout_end}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjmubj<)}(h int *out_nidh](j)}(hinth]hint}(hj.phhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj*pubj)}(h h]h }(hjmodnameN classnameNj^ja)}jd]jvc.memblock_phys_alloc_rangeasbuh1hhj5ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(hstarth]hstart}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t endh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jvc.memblock_phys_alloc_rangeasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj)}(hendh]hend}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubeh}(h]h ]h"]h$]h&]jjuh1j5hjShhhj{hMiubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjOhhhj{hMiubah}(h]jJah ](jjeh"]h$]h&]jj)jhuh1jyhj{hMihjLhhubj)}(hhh]h)}(h.allocate a memory block inside specified rangeh]h.allocate a memory block inside specified range}(hjڂhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMihjׂhhubah}(h]h ]h"]h$]h&]uh1jhjLhhhj{hMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``phys_addr_t size`` size of memory block to be allocated in bytes ``phys_addr_t align`` alignment of the region and block's size ``phys_addr_t start`` the lower bound of the memory region to allocate (physical address) ``phys_addr_t end`` the upper bound of the memory region to allocate (physical address) **Description** Allocate **size** bytes in the between **start** and **end**. **Return** physical address of the allocated memory block on success, ``0`` on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMmhjubj")}(hhh](j')}(hC``phys_addr_t size`` size of memory block to be allocated in bytes h](j-)}(h``phys_addr_t size``h]h)}(hjh]hphys_addr_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMjhjubjG)}(hhh]h)}(h-size of memory block to be allocated in bytesh]h-size of memory block to be allocated in bytes}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMjhj1ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj0hMjhjubj')}(h?``phys_addr_t align`` alignment of the region and block's size h](j-)}(h``phys_addr_t align``h]h)}(hjTh]hphys_addr_t align}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMkhjNubjG)}(hhh]h)}(h(alignment of the region and block's sizeh]h*alignment of the region and block’s size}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMkhjjubah}(h]h ]h"]h$]h&]uh1jFhjNubeh}(h]h ]h"]h$]h&]uh1j&hjihMkhjubj')}(hZ``phys_addr_t start`` the lower bound of the memory region to allocate (physical address) h](j-)}(h``phys_addr_t start``h]h)}(hjh]hphys_addr_t start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMlhjubjG)}(hhh]h)}(hCthe lower bound of the memory region to allocate (physical address)h]hCthe lower bound of the memory region to allocate (physical address)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMlhjubj')}(hX``phys_addr_t end`` the upper bound of the memory region to allocate (physical address) h](j-)}(h``phys_addr_t end``h]h)}(hjƃh]hphys_addr_t end}(hjȃhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjăubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMmhjubjG)}(hhh]h)}(hCthe upper bound of the memory region to allocate (physical address)h]hCthe upper bound of the memory region to allocate (physical address)}(hj߃hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjۃhMmhj܃ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjۃhMmhjubeh}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMohjubh)}(h=Allocate **size** bytes in the between **start** and **end**.h](h Allocate }(hjhhhNhNubj)}(h**size**h]hsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes in the between }(hjhhhNhNubj)}(h **start**h]hstart}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**end**h]hend}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMnhjubh)}(h **Return**h]j)}(hj^h]hReturn}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMphjubh)}(hLphysical address of the allocated memory block on success, ``0`` on failure.h](h;physical address of the allocated memory block on success, }(hjthhhNhNubh)}(h``0``h]h0}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjtubh on failure.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMqhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp(memblock_phys_alloc_try_nid (C function)c.memblock_phys_alloc_try_nidhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hVphys_addr_t memblock_phys_alloc_try_nid (phys_addr_t size, phys_addr_t align, int nid)h]j)}(hUphys_addr_t memblock_phys_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid)h](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jg)}jZmemblock_phys_alloc_try_nidsbc.memblock_phys_alloc_try_nidasbuh1hhjhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjڄhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjلhMubj)}(hmemblock_phys_alloc_try_nidh]j)}(hjքh]hmemblock_phys_alloc_try_nid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjلhMubj6)}(h.(phys_addr_t size, phys_addr_t align, int nid)h](j<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj modnameN classnameNj^ja)}jd]jԄc.memblock_phys_alloc_try_nidasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hsizeh]hsize}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjTmodnameN classnameNj^ja)}jd]jԄc.memblock_phys_alloc_try_nidasbuh1hhjKubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj)}(halignh]halign}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hint nidh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hnidh]hnid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubeh}(h]h ]h"]h$]h&]jjuh1j5hjhhhjلhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjلhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjلhMhjhhubj)}(hhh]h)}(h0allocate a memory block from specified NUMA nodeh]h0allocate a memory block from specified NUMA node}(hj݅hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjڅhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjلhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``phys_addr_t size`` size of memory block to be allocated in bytes ``phys_addr_t align`` alignment of the region and block's size ``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node **Description** Allocates memory block from the specified NUMA node. If the node has no available memory, attempts to allocated from any node in the system. **Return** physical address of the allocated memory block on success, ``0`` on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj")}(hhh](j')}(hC``phys_addr_t size`` size of memory block to be allocated in bytes h](j-)}(h``phys_addr_t size``h]h)}(hjh]hphys_addr_t size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h-size of memory block to be allocated in bytesh]h-size of memory block to be allocated in bytes}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj3hMhjubj')}(h?``phys_addr_t align`` alignment of the region and block's size h](j-)}(h``phys_addr_t align``h]h)}(hjWh]hphys_addr_t align}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjQubjG)}(hhh]h)}(h(alignment of the region and block's sizeh]h*alignment of the region and block’s size}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jFhjQubeh}(h]h ]h"]h$]h&]uh1j&hjlhMhjubj')}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j-)}(h ``int nid``h]h)}(hjh]hint nid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hjhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh for any node}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjubeh}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hj݆h]h Description}(hj߆hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۆubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubh)}(hAllocates memory block from the specified NUMA node. If the node has no available memory, attempts to allocated from any node in the system.h]hAllocates memory block from the specified NUMA node. If the node has no available memory, attempts to allocated from any node in the system.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubh)}(hLphysical address of the allocated memory block on success, ``0`` on failure.h](h;physical address of the allocated memory block on success, }(hjhhhNhNubh)}(h``0``h]h0}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh on failure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp$memblock_alloc_internal (C function)c.memblock_alloc_internalhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hvoid * memblock_alloc_internal (phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid, bool exact_nid)h]j)}(hvoid *memblock_alloc_internal(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid, bool exact_nid)h](j)}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjWhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhjihMubj )}(hj8h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWhhhjihMubj)}(hmemblock_alloc_internalh]j)}(hmemblock_alloc_internalh]hmemblock_alloc_internal}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjWhhhjihMubj6)}(hj(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid, bool exact_nid)h](j<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jg)}jZjsbc.memblock_alloc_internalasbuh1hhjubj)}(h h]h }(hjȇhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hsizeh]hsize}(hjևhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jćc.memblock_alloc_internalasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(halignh]halign}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t min_addrh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj<modnameN classnameNj^ja)}jd]jćc.memblock_alloc_internalasbuh1hhj3ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(hmin_addrh]hmin_addr}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t max_addrh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jćc.memblock_alloc_internalasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(hmax_addrh]hmax_addr}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hint nidh](j)}(hinth]hint}(hjLjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjÈubj)}(h h]h }(hjՈhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjÈubj)}(hnidh]hnid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjÈubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hbool exact_nidh](j)}(hjMh]hbool}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h exact_nidh]h exact_nid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubeh}(h]h ]h"]h$]h&]jjuh1j5hjWhhhjihMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjShhhjihMubah}(h]jNah ](jjeh"]h$]h&]jj)jhuh1jyhjihMhjPhhubj)}(hhh]h)}(hallocate boot memory blockh]hallocate boot memory block}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj>hhubah}(h]h ]h"]h$]h&]uh1jhjPhhhjihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``phys_addr_t size`` size of memory block to be allocated in bytes ``phys_addr_t align`` alignment of the region and block's size ``phys_addr_t min_addr`` the lower bound of the memory region to allocate (phys address) ``phys_addr_t max_addr`` the upper bound of the memory region to allocate (phys address) ``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node ``bool exact_nid`` control the allocation fall back to other nodes **Description** Allocates memory block using memblock_alloc_range_nid() and converts the returned physical address to virtual. The **min_addr** limit is dropped if it can not be satisfied and the allocation will fall back to memory below **min_addr**. Other constraints, such as node and mirrored memory will be handled again in memblock_alloc_range_nid(). **Return** Virtual address of allocated memory block on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj]ubj")}(hhh](j')}(hC``phys_addr_t size`` size of memory block to be allocated in bytes h](j-)}(h``phys_addr_t size``h]h)}(hjh]hphys_addr_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj|ubjG)}(hhh]h)}(h-size of memory block to be allocated in bytesh]h-size of memory block to be allocated in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jFhj|ubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjyubj')}(h?``phys_addr_t align`` alignment of the region and block's size h](j-)}(h``phys_addr_t align``h]h)}(hjh]hphys_addr_t align}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h(alignment of the region and block's sizeh]h*alignment of the region and block’s size}(hjԉhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjЉhMhjщubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjЉhMhjyubj')}(hY``phys_addr_t min_addr`` the lower bound of the memory region to allocate (phys address) h](j-)}(h``phys_addr_t min_addr``h]h)}(hjh]hphys_addr_t min_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h?the lower bound of the memory region to allocate (phys address)h]h?the lower bound of the memory region to allocate (phys address)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj hMhjyubj')}(hY``phys_addr_t max_addr`` the upper bound of the memory region to allocate (phys address) h](j-)}(h``phys_addr_t max_addr``h]h)}(hj-h]hphys_addr_t max_addr}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj'ubjG)}(hhh]h)}(h?the upper bound of the memory region to allocate (phys address)h]h?the upper bound of the memory region to allocate (phys address)}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jFhj'ubeh}(h]h ]h"]h$]h&]uh1j&hjBhMhjyubj')}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j-)}(h ``int nid``h]h)}(hjfh]hint nid}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj`ubjG)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hjhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh for any node}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jFhj`ubeh}(h]h ]h"]h$]h&]uh1j&hj{hMhjyubj')}(hC``bool exact_nid`` control the allocation fall back to other nodes h](j-)}(h``bool exact_nid``h]h)}(hjh]hbool exact_nid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h/control the allocation fall back to other nodesh]h/control the allocation fall back to other nodes}(hjʊhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjƊhMhjNJubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjƊhMhjyubeh}(h]h ]h"]h$]h&]uh1j!hj]ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj]ubh)}(hnAllocates memory block using memblock_alloc_range_nid() and converts the returned physical address to virtual.h]hnAllocates memory block using memblock_alloc_range_nid() and converts the returned physical address to virtual.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj]ubh)}(hThe **min_addr** limit is dropped if it can not be satisfied and the allocation will fall back to memory below **min_addr**. Other constraints, such as node and mirrored memory will be handled again in memblock_alloc_range_nid().h](hThe }(hjhhhNhNubj)}(h **min_addr**h]hmin_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh_ limit is dropped if it can not be satisfied and the allocation will fall back to memory below }(hjhhhNhNubj)}(h **min_addr**h]hmin_addr}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhj. Other constraints, such as node and mirrored memory will be handled again in memblock_alloc_range_nid().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj]ubh)}(h **Return**h]j)}(hjFh]hReturn}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj]ubh)}(hFVirtual address of allocated memory block on success, NULL on failure.h]hFVirtual address of allocated memory block on success, NULL on failure.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp)memblock_alloc_exact_nid_raw (C function)c.memblock_alloc_exact_nid_rawhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h~void * memblock_alloc_exact_nid_raw (phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)h]j)}(h|void *memblock_alloc_exact_nid_raw(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj )}(hj8h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj)}(hmemblock_alloc_exact_nid_rawh]j)}(hmemblock_alloc_exact_nid_rawh]hmemblock_alloc_exact_nid_raw}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj6)}(hZ(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)h](j<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj؋hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjՋubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjڋmodnameN classnameNj^ja)}jd]jg)}jZjsbc.memblock_alloc_exact_nid_rawasbuh1hhjыubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjыubj)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjыubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj͋ubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj$modnameN classnameNj^ja)}jd]jc.memblock_alloc_exact_nid_rawasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(halignh]halign}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj͋ubj<)}(hphys_addr_t min_addrh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjlmodnameN classnameNj^ja)}jd]jc.memblock_alloc_exact_nid_rawasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(hmin_addrh]hmin_addr}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj͋ubj<)}(hphys_addr_t max_addrh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jc.memblock_alloc_exact_nid_rawasbuh1hhjubj)}(h h]h }(hjЌhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hmax_addrh]hmax_addr}(hjތhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj͋ubj<)}(hint nidh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hnidh]hnid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj͋ubeh}(h]h ]h"]h$]h&]jjuh1j5hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]j~ah ](jjeh"]h$]h&]jj)jhuh1jyhjhMhjhhubj)}(hhh]h)}(hCallocate boot memory block on the exact node without zeroing memoryh]hCallocate boot memory block on the exact node without zeroing memory}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``phys_addr_t size`` size of memory block to be allocated in bytes ``phys_addr_t align`` alignment of the region and block's size ``phys_addr_t min_addr`` the lower bound of the memory region from where the allocation is preferred (phys address) ``phys_addr_t max_addr`` the upper bound of the memory region from where the allocation is preferred (phys address), or ``MEMBLOCK_ALLOC_ACCESSIBLE`` to allocate only from memory limited by memblock.current_limit value ``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node **Description** Public function, provides additional debug information (including caller info), if enabled. Does not zero allocated memory. **Return** Virtual address of allocated memory block on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjYubj")}(hhh](j')}(hC``phys_addr_t size`` size of memory block to be allocated in bytes h](j-)}(h``phys_addr_t size``h]h)}(hj~h]hphys_addr_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjxubjG)}(hhh]h)}(h-size of memory block to be allocated in bytesh]h-size of memory block to be allocated in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jFhjxubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjuubj')}(h?``phys_addr_t align`` alignment of the region and block's size h](j-)}(h``phys_addr_t align``h]h)}(hjh]hphys_addr_t align}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h(alignment of the region and block's sizeh]h*alignment of the region and block’s size}(hjЍhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj̍hMhj͍ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj̍hMhjuubj')}(ht``phys_addr_t min_addr`` the lower bound of the memory region from where the allocation is preferred (phys address) h](j-)}(h``phys_addr_t min_addr``h]h)}(hjh]hphys_addr_t min_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(hZthe lower bound of the memory region from where the allocation is preferred (phys address)h]hZthe lower bound of the memory region from where the allocation is preferred (phys address)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjuubj')}(h``phys_addr_t max_addr`` the upper bound of the memory region from where the allocation is preferred (phys address), or ``MEMBLOCK_ALLOC_ACCESSIBLE`` to allocate only from memory limited by memblock.current_limit value h](j-)}(h``phys_addr_t max_addr``h]h)}(hj*h]hphys_addr_t max_addr}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj$ubjG)}(hhh]h)}(hthe upper bound of the memory region from where the allocation is preferred (phys address), or ``MEMBLOCK_ALLOC_ACCESSIBLE`` to allocate only from memory limited by memblock.current_limit valueh](h_the upper bound of the memory region from where the allocation is preferred (phys address), or }(hjChhhNhNubh)}(h``MEMBLOCK_ALLOC_ACCESSIBLE``h]hMEMBLOCK_ALLOC_ACCESSIBLE}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCubhE to allocate only from memory limited by memblock.current_limit value}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj@ubah}(h]h ]h"]h$]h&]uh1jFhj$ubeh}(h]h ]h"]h$]h&]uh1j&hj?hMhjuubj')}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j-)}(h ``int nid``h]h)}(hjvh]hint nid}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjtubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjpubjG)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hjhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh for any node}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jFhjpubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjuubeh}(h]h ]h"]h$]h&]uh1j!hjYubh)}(h**Description**h]j)}(hjÎh]h Description}(hjŎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjYubh)}(h{Public function, provides additional debug information (including caller info), if enabled. Does not zero allocated memory.h]h{Public function, provides additional debug information (including caller info), if enabled. Does not zero allocated memory.}(hjَhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjYubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjYubh)}(hFVirtual address of allocated memory block on success, NULL on failure.h]hFVirtual address of allocated memory block on success, NULL on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp'memblock_alloc_try_nid_raw (C function)c.memblock_alloc_try_nid_rawhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h|void * memblock_alloc_try_nid_raw (phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)h]j)}(hzvoid *memblock_alloc_try_nid_raw(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)h](j)}(hvoidh]hvoid}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj+hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhj=hMubj )}(hj8h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+hhhj=hMubj)}(hmemblock_alloc_try_nid_rawh]j)}(hmemblock_alloc_try_nid_rawh]hmemblock_alloc_try_nid_raw}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubah}(h]h ](jjeh"]h$]h&]jjuh1jhj+hhhj=hMubj6)}(hZ(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)h](j<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj~modnameN classnameNj^ja)}jd]jg)}jZj_sbc.memblock_alloc_try_nid_rawasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjqubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjƏhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjÏubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjȏmodnameN classnameNj^ja)}jd]jc.memblock_alloc_try_nid_rawasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(halignh]halign}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjqubj<)}(hphys_addr_t min_addrh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jc.memblock_alloc_try_nid_rawasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hmin_addrh]hmin_addr}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjqubj<)}(hphys_addr_t max_addrh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjXmodnameN classnameNj^ja)}jd]jc.memblock_alloc_try_nid_rawasbuh1hhjOubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(hmax_addrh]hmax_addr}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjqubj<)}(hint nidh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hnidh]hnid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjqubeh}(h]h ]h"]h$]h&]jjuh1j5hj+hhhj=hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj'hhhj=hMubah}(h]j"ah ](jjeh"]h$]h&]jj)jhuh1jyhj=hMhj$hhubj)}(hhh]h)}(hGallocate boot memory block without zeroing memory and without panickingh]hGallocate boot memory block without zeroing memory and without panicking}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjސhhubah}(h]h ]h"]h$]h&]uh1jhj$hhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubj)}(hXM**Parameters** ``phys_addr_t size`` size of memory block to be allocated in bytes ``phys_addr_t align`` alignment of the region and block's size ``phys_addr_t min_addr`` the lower bound of the memory region from where the allocation is preferred (phys address) ``phys_addr_t max_addr`` the upper bound of the memory region from where the allocation is preferred (phys address), or ``MEMBLOCK_ALLOC_ACCESSIBLE`` to allocate only from memory limited by memblock.current_limit value ``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node **Description** Public function, provides additional debug information (including caller info), if enabled. Does not zero allocated memory, does not panic if request cannot be satisfied. **Return** Virtual address of allocated memory block on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj")}(hhh](j')}(hC``phys_addr_t size`` size of memory block to be allocated in bytes h](j-)}(h``phys_addr_t size``h]h)}(hj"h]hphys_addr_t size}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h-size of memory block to be allocated in bytesh]h-size of memory block to be allocated in bytes}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj7hMhjubj')}(h?``phys_addr_t align`` alignment of the region and block's size h](j-)}(h``phys_addr_t align``h]h)}(hj[h]hphys_addr_t align}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjUubjG)}(hhh]h)}(h(alignment of the region and block's sizeh]h*alignment of the region and block’s size}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jFhjUubeh}(h]h ]h"]h$]h&]uh1j&hjphMhjubj')}(ht``phys_addr_t min_addr`` the lower bound of the memory region from where the allocation is preferred (phys address) h](j-)}(h``phys_addr_t min_addr``h]h)}(hjh]hphys_addr_t min_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(hZthe lower bound of the memory region from where the allocation is preferred (phys address)h]hZthe lower bound of the memory region from where the allocation is preferred (phys address)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjubj')}(h``phys_addr_t max_addr`` the upper bound of the memory region from where the allocation is preferred (phys address), or ``MEMBLOCK_ALLOC_ACCESSIBLE`` to allocate only from memory limited by memblock.current_limit value h](j-)}(h``phys_addr_t max_addr``h]h)}(hjΑh]hphys_addr_t max_addr}(hjБhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj̑ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjȑubjG)}(hhh]h)}(hthe upper bound of the memory region from where the allocation is preferred (phys address), or ``MEMBLOCK_ALLOC_ACCESSIBLE`` to allocate only from memory limited by memblock.current_limit valueh](h_the upper bound of the memory region from where the allocation is preferred (phys address), or }(hjhhhNhNubh)}(h``MEMBLOCK_ALLOC_ACCESSIBLE``h]hMEMBLOCK_ALLOC_ACCESSIBLE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubhE to allocate only from memory limited by memblock.current_limit value}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubah}(h]h ]h"]h$]h&]uh1jFhjȑubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjubj')}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j-)}(h ``int nid``h]h)}(hjh]hint nid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hj3hhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3ubh for any node}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj/hMhjubeh}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubh)}(hPublic function, provides additional debug information (including caller info), if enabled. Does not zero allocated memory, does not panic if request cannot be satisfied.h]hPublic function, provides additional debug information (including caller info), if enabled. Does not zero allocated memory, does not panic if request cannot be satisfied.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubh)}(hFVirtual address of allocated memory block on success, NULL on failure.h]hFVirtual address of allocated memory block on success, NULL on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp#memblock_alloc_try_nid (C function)c.memblock_alloc_try_nidhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hxvoid * memblock_alloc_try_nid (phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)h]j)}(hvvoid *memblock_alloc_try_nid(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)h](j)}(hvoidh]hvoid}(hjӒhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjϒhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjϒhhhjhMubj )}(hj8h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjϒhhhjhMubj)}(hmemblock_alloc_try_nidh]j)}(hmemblock_alloc_try_nidh]hmemblock_alloc_try_nid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjϒhhhjhMubj6)}(hZ(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)h](j<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetj"modnameN classnameNj^ja)}jd]jg)}jZjsbc.memblock_alloc_try_nidasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hsizeh]hsize}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjlmodnameN classnameNj^ja)}jd]j<c.memblock_alloc_try_nidasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(halignh]halign}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t min_addrh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]j<c.memblock_alloc_try_nidasbuh1hhjubj)}(h h]h }(hjГhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hmin_addrh]hmin_addr}(hjޓhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t max_addrh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]j<c.memblock_alloc_try_nidasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j>hjubj)}(hmax_addrh]hmax_addr}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hint nidh](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(hnidh]hnid}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubeh}(h]h ]h"]h$]h&]jjuh1j5hjϒhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj˒hhhjhMubah}(h]jƒah ](jjeh"]h$]h&]jj)jhuh1jyhjhMhjȒhhubj)}(hhh]h)}(hallocate boot memory blockh]hallocate boot memory block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjȒhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubj)}(hX)**Parameters** ``phys_addr_t size`` size of memory block to be allocated in bytes ``phys_addr_t align`` alignment of the region and block's size ``phys_addr_t min_addr`` the lower bound of the memory region from where the allocation is preferred (phys address) ``phys_addr_t max_addr`` the upper bound of the memory region from where the allocation is preferred (phys address), or ``MEMBLOCK_ALLOC_ACCESSIBLE`` to allocate only from memory limited by memblock.current_limit value ``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node **Description** Public function, provides additional debug information (including caller info), if enabled. This function zeroes the allocated memory. **Return** Virtual address of allocated memory block on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj")}(hhh](j')}(hC``phys_addr_t size`` size of memory block to be allocated in bytes h](j-)}(h``phys_addr_t size``h]h)}(hjƔh]hphys_addr_t size}(hjȔhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjĔubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h-size of memory block to be allocated in bytesh]h-size of memory block to be allocated in bytes}(hjߔhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj۔hMhjܔubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj۔hMhjubj')}(h?``phys_addr_t align`` alignment of the region and block's size h](j-)}(h``phys_addr_t align``h]h)}(hjh]hphys_addr_t align}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h(alignment of the region and block's sizeh]h*alignment of the region and block’s size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjubj')}(ht``phys_addr_t min_addr`` the lower bound of the memory region from where the allocation is preferred (phys address) h](j-)}(h``phys_addr_t min_addr``h]h)}(hj8h]hphys_addr_t min_addr}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj2ubjG)}(hhh]h)}(hZthe lower bound of the memory region from where the allocation is preferred (phys address)h]hZthe lower bound of the memory region from where the allocation is preferred (phys address)}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjNubah}(h]h ]h"]h$]h&]uh1jFhj2ubeh}(h]h ]h"]h$]h&]uh1j&hjMhMhjubj')}(h``phys_addr_t max_addr`` the upper bound of the memory region from where the allocation is preferred (phys address), or ``MEMBLOCK_ALLOC_ACCESSIBLE`` to allocate only from memory limited by memblock.current_limit value h](j-)}(h``phys_addr_t max_addr``h]h)}(hjrh]hphys_addr_t max_addr}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjpubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjlubjG)}(hhh]h)}(hthe upper bound of the memory region from where the allocation is preferred (phys address), or ``MEMBLOCK_ALLOC_ACCESSIBLE`` to allocate only from memory limited by memblock.current_limit valueh](h_the upper bound of the memory region from where the allocation is preferred (phys address), or }(hjhhhNhNubh)}(h``MEMBLOCK_ALLOC_ACCESSIBLE``h]hMEMBLOCK_ALLOC_ACCESSIBLE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubhE to allocate only from memory limited by memblock.current_limit value}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubah}(h]h ]h"]h$]h&]uh1jFhjlubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjubj')}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j-)}(h ``int nid``h]h)}(hjh]hint nid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubjG)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hjוhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjߕhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjוubh for any node}(hjוhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjӕhMhjԕubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjӕhMhjubeh}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubh)}(hPublic function, provides additional debug information (including caller info), if enabled. This function zeroes the allocated memory.h]hPublic function, provides additional debug information (including caller info), if enabled. This function zeroes the allocated memory.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubh)}(h **Return**h]j)}(hj2h]hReturn}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubh)}(hFVirtual address of allocated memory block on success, NULL on failure.h]hFVirtual address of allocated memory block on success, NULL on failure.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp&__memblock_alloc_or_panic (C function)c.__memblock_alloc_or_panichNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hXvoid * __memblock_alloc_or_panic (phys_addr_t size, phys_addr_t align, const char *func)h]j)}(hVvoid *__memblock_alloc_or_panic(phys_addr_t size, phys_addr_t align, const char *func)h](j)}(hvoidh]hvoid}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjshhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhjhM#ubj )}(hj8h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjshhhjhM#ubj)}(h__memblock_alloc_or_panich]j)}(h__memblock_alloc_or_panich]h__memblock_alloc_or_panic}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjshhhjhM#ubj6)}(h7(phys_addr_t size, phys_addr_t align, const char *func)h](j<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjĖhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjƖmodnameN classnameNj^ja)}jd]jg)}jZjsbc.__memblock_alloc_or_panicasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jc.__memblock_alloc_or_panicasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(halignh]halign}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hconst char *funch](j)}(hjh]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(hcharh]hchar}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjOubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj )}(hj8h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj)}(hfunch]hfunc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubeh}(h]h ]h"]h$]h&]jjuh1j5hjshhhjhM#ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjohhhjhM#ubah}(h]jjah ](jjeh"]h$]h&]jj)jhuh1jyhjhM#hjlhhubj)}(hhh]h)}(h+Try to allocate memory and panic on failureh]h+Try to allocate memory and panic on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM#hjhhubah}(h]h ]h"]h$]h&]uh1jhjlhhhjhM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjٗjjٗjjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``phys_addr_t size`` size of memory block to be allocated in bytes ``phys_addr_t align`` alignment of the region and block's size ``const char *func`` caller func name **Description** This function attempts to allocate memory using memblock_alloc, and in case of failure, it calls panic with the formatted message. This function should not be used directly, please use the macro memblock_alloc_or_panic.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM'hjݗubj")}(hhh](j')}(hC``phys_addr_t size`` size of memory block to be allocated in bytes h](j-)}(h``phys_addr_t size``h]h)}(hjh]hphys_addr_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM$hjubjG)}(hhh]h)}(h-size of memory block to be allocated in bytesh]h-size of memory block to be allocated in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM$hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM$hjubj')}(h?``phys_addr_t align`` alignment of the region and block's size h](j-)}(h``phys_addr_t align``h]h)}(hj;h]hphys_addr_t align}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9ubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM%hj5ubjG)}(hhh]h)}(h(alignment of the region and block's sizeh]h*alignment of the region and block’s size}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhM%hjQubah}(h]h ]h"]h$]h&]uh1jFhj5ubeh}(h]h ]h"]h$]h&]uh1j&hjPhM%hjubj')}(h&``const char *func`` caller func name h](j-)}(h``const char *func``h]h)}(hjth]hconst char *func}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM&hjnubjG)}(hhh]h)}(hcaller func nameh]hcaller func name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM&hjubah}(h]h ]h"]h$]h&]uh1jFhjnubeh}(h]h ]h"]h$]h&]uh1j&hjhM&hjubeh}(h]h ]h"]h$]h&]uh1j!hjݗubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM(hjݗubh)}(hThis function attempts to allocate memory using memblock_alloc, and in case of failure, it calls panic with the formatted message. This function should not be used directly, please use the macro memblock_alloc_or_panic.h]hThis function attempts to allocate memory using memblock_alloc, and in case of failure, it calls panic with the formatted message. This function should not be used directly, please use the macro memblock_alloc_or_panic.}(hjŘhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM'hjݗubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp-memblock_estimated_nr_free_pages (C function)"c.memblock_estimated_nr_free_pageshNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h5unsigned long memblock_estimated_nr_free_pages (void)h]j)}(h4unsigned long memblock_estimated_nr_free_pages(void)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM[ubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhjhM[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM[ubj)}(h memblock_estimated_nr_free_pagesh]j)}(h memblock_estimated_nr_free_pagesh]h memblock_estimated_nr_free_pages}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM[ubj6)}(h(void)h]j<)}(hvoidh]j)}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]noemphjjuh1j;hjEubah}(h]h ]h"]h$]h&]jjuh1j5hjhhhjhM[ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM[ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhM[hjhhubj)}(hhh]h)}(hAreturn estimated number of free pages from memblock point of viewh]hAreturn estimated number of free pages from memblock point of view}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM[hjthhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubj)}(hX**Parameters** ``void`` no arguments **Description** During bootup, subsystems might need a rough estimate of the number of free pages in the whole system, before precise numbers are available from the buddy. Especially with CONFIG_DEFERRED_STRUCT_PAGE_INIT, the numbers obtained from the buddy might be very imprecise during bootup. **Return** An estimated number of free pages from memblock point of view.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM_hjubj")}(hhh]j')}(h``void`` no arguments h](j-)}(h``void``h]h)}(hjh]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhjubjG)}(hhh]h)}(h no argumentsh]h no arguments}(hjљhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj͙hKhjΙubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hj͙hKhjubah}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhjubh)}(hXDuring bootup, subsystems might need a rough estimate of the number of free pages in the whole system, before precise numbers are available from the buddy. Especially with CONFIG_DEFERRED_STRUCT_PAGE_INIT, the numbers obtained from the buddy might be very imprecise during bootup.h]hXDuring bootup, subsystems might need a rough estimate of the number of free pages in the whole system, before precise numbers are available from the buddy. Especially with CONFIG_DEFERRED_STRUCT_PAGE_INIT, the numbers obtained from the buddy might be very imprecise during bootup.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM\hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMahjubh)}(h>An estimated number of free pages from memblock point of view.h]h>An estimated number of free pages from memblock point of view.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp&memblock_is_region_memory (C function)c.memblock_is_region_memoryhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hSbool __init_memblock memblock_is_region_memory (phys_addr_t base, phys_addr_t size)h]j)}(hRbool __init_memblock memblock_is_region_memory(phys_addr_t base, phys_addr_t size)h](j)}(hjMh]hbool}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj[hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhjlhMubh__init_memblock}(hj[hhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhjlhMubj)}(hmemblock_is_region_memoryh]j)}(hmemblock_is_region_memoryh]hmemblock_is_region_memory}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhj[hhhjlhMubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jg)}jZjsbc.memblock_is_region_memoryasbuh1hhjubj)}(h h]h }(hjКhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hbaseh]hbase}(hjޚhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]j̚c.memblock_is_region_memoryasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hsizeh]hsize}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubeh}(h]h ]h"]h$]h&]jjuh1j5hj[hhhjlhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjWhhhjlhMubah}(h]jRah ](jjeh"]h$]h&]jj)jhuh1jyhjlhMhjThhubj)}(hhh]h)}(h'check if a region is a subset of memoryh]h'check if a region is a subset of memory}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jhjThhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1jthhhjDhNhNubj)}(h**Parameters** ``phys_addr_t base`` base of region to check ``phys_addr_t size`` size of region to check **Description** Check if the region [**base**, **base** + **size**) is a subset of a memory block. **Return** 0 if false, non-zero if trueh](h)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjlubj")}(hhh](j')}(h-``phys_addr_t base`` base of region to check h](j-)}(h``phys_addr_t base``h]h)}(hjh]hphys_addr_t base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubjG)}(hhh]h)}(hbase of region to checkh]hbase of region to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM hjubj')}(h-``phys_addr_t size`` size of region to check h](j-)}(h``phys_addr_t size``h]h)}(hjʛh]hphys_addr_t size}(hj̛hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjțubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjěubjG)}(hhh]h)}(hsize of region to checkh]hsize of region to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjߛhM hjubah}(h]h ]h"]h$]h&]uh1jFhjěubeh}(h]h ]h"]h$]h&]uh1j&hjߛhM hjubeh}(h]h ]h"]h$]h&]uh1j!hjlubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjlubh)}(hRCheck if the region [**base**, **base** + **size**) is a subset of a memory block.h](hCheck if the region [}(hjhhhNhNubj)}(h**base**h]hbase}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**base**h]hbase}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh + }(hjhhhNhNubj)}(h**size**h]hsize}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh ) is a subset of a memory block.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjlubh)}(h **Return**h]j)}(hjbh]hReturn}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjlubh)}(h0 if false, non-zero if trueh]h0 if false, non-zero if true}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp(memblock_is_region_reserved (C function)c.memblock_is_region_reservedhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hUbool __init_memblock memblock_is_region_reserved (phys_addr_t base, phys_addr_t size)h]j)}(hTbool __init_memblock memblock_is_region_reserved(phys_addr_t base, phys_addr_t size)h](j)}(hjMh]hbool}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubh__init_memblock}(hjhhhNhNubj)}(h h]h }(hjǜhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(hmemblock_is_region_reservedh]j)}(hmemblock_is_region_reservedh]hmemblock_is_region_reserved}(hjٜhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj՜ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj6)}(h$(phys_addr_t base, phys_addr_t size)h](j<)}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jg)}jZjۜsbc.memblock_is_region_reservedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hbaseh]hbase}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubj<)}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjDmodnameN classnameNj^ja)}jd]jc.memblock_is_region_reservedasbuh1hhj;ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(hsizeh]hsize}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hjubeh}(h]h ]h"]h$]h&]jjuh1j5hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhMhjhhubj)}(hhh]h)}(h,check if a region intersects reserved memoryh]h,check if a region intersects reserved memory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubj)}(hX **Parameters** ``phys_addr_t base`` base of region to check ``phys_addr_t size`` size of region to check **Description** Check if the region [**base**, **base** + **size**) intersects a reserved memory block. **Return** True if they intersect, false if not.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM!hjubj")}(hhh](j')}(h-``phys_addr_t base`` base of region to check h](j-)}(h``phys_addr_t base``h]h)}(hjٝh]hphys_addr_t base}(hj۝hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjםubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjӝubjG)}(hhh]h)}(hbase of region to checkh]hbase of region to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jFhjӝubeh}(h]h ]h"]h$]h&]uh1j&hjhMhjНubj')}(h-``phys_addr_t size`` size of region to check h](j-)}(h``phys_addr_t size``h]h)}(hjh]hphys_addr_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj ubjG)}(hhh]h)}(hsize of region to checkh]hsize of region to check}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1j&hj'hMhjНubeh}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM!hjubh)}(hWCheck if the region [**base**, **base** + **size**) intersects a reserved memory block.h](hCheck if the region [}(hjchhhNhNubj)}(h**base**h]hbase}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh, }(hjchhhNhNubj)}(h**base**h]hbase}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh + }(hjchhhNhNubj)}(h**size**h]hsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh%) intersects a reserved memory block.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM#hjubh)}(h%True if they intersect, false if not.h]h%True if they intersect, false if not.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM$hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jpmemblock_free_all (C function)c.memblock_free_allhNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hvoid memblock_free_all (void)h]j)}(hvoid memblock_free_all(void)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM} ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM} ubj)}(hmemblock_free_allh]j)}(hmemblock_free_allh]hmemblock_free_all}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM} ubj6)}(h(void)h]j<)}(hvoidh]j)}(hvoidh]hvoid}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]noemphjjuh1j;hj$ubah}(h]h ]h"]h$]h&]jjuh1j5hjhhhjhM} ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM} ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhM} hjhhubj)}(hhh]h)}(h)release free pages to the buddy allocatorh]h)release free pages to the buddy allocator}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM} hjShhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM} ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1jthhhjDhNhNubj)}(h'**Parameters** ``void`` no argumentsh](h)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjrubj")}(hhh]j')}(h``void`` no argumentsh](j-)}(h``void``h]h)}(hjh]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubjG)}(hhh]h)}(h no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM hjubah}(h]h ]h"]h$]h&]uh1j!hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp%reserve_mem_find_by_name (C function)c.reserve_mem_find_by_namehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(hVint reserve_mem_find_by_name (const char *name, phys_addr_t *start, phys_addr_t *size)h]j)}(hUint reserve_mem_find_by_name(const char *name, phys_addr_t *start, phys_addr_t *size)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubj)}(hreserve_mem_find_by_nameh]j)}(hreserve_mem_find_by_nameh]hreserve_mem_find_by_name}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM ubj6)}(h9(const char *name, phys_addr_t *start, phys_addr_t *size)h](j<)}(hconst char *nameh](j)}(hjh]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(hcharh]hchar}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj*ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj )}(hj8h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj)}(hnameh]hname}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj&ubj<)}(hphys_addr_t *starth](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jg)}jZjsbc.reserve_mem_find_by_nameasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hj8h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hstarth]hstart}(hjɠhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj&ubj<)}(hphys_addr_t *sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypejZ reftargetjmodnameN classnameNj^ja)}jd]jc.reserve_mem_find_by_nameasbuh1hhjޠubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjޠubj )}(hj8h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjޠubj)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjޠubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj&ubeh}(h]h ]h"]h$]h&]jjuh1j5hjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jyhjhM hjhhubj)}(hhh]h)}(h-Find reserved memory region with a given nameh]h-Find reserved memory region with a given name}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjEhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1jthhhjDhNhNubj)}(hXU**Parameters** ``const char *name`` The name that is attached to a reserved memory region ``phys_addr_t *start`` If found, holds the start address ``phys_addr_t *size`` If found, holds the size of the address. **Description** **start** and **size** are only updated if **name** is found. **Return** 1 if found or 0 if not found.h](h)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjdubj")}(hhh](j')}(hK``const char *name`` The name that is attached to a reserved memory region h](j-)}(h``const char *name``h]h)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubjG)}(hhh]h)}(h5The name that is attached to a reserved memory regionh]h5The name that is attached to a reserved memory region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM hjubj')}(h9``phys_addr_t *start`` If found, holds the start address h](j-)}(h``phys_addr_t *start``h]h)}(hj¡h]hphys_addr_t *start}(hjġhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubjG)}(hhh]h)}(h!If found, holds the start addressh]h!If found, holds the start address}(hjۡhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjסhM hjءubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjסhM hjubj')}(h?``phys_addr_t *size`` If found, holds the size of the address. h](j-)}(h``phys_addr_t *size``h]h)}(hjh]hphys_addr_t *size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubjG)}(hhh]h)}(h(If found, holds the size of the address.h]h(If found, holds the size of the address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjhM hjubeh}(h]h ]h"]h$]h&]uh1j!hjdubh)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjdubh)}(h=**start** and **size** are only updated if **name** is found.h](j)}(h **start**h]hstart}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh and }(hjLhhhNhNubj)}(h**size**h]hsize}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh are only updated if }(hjLhhhNhNubj)}(h**name**h]hname}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh is found.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjdubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjdubh)}(h1 if found or 0 if not found.h]h1 if found or 0 if not found.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubjd)}(hhh]h}(h]h ]h"]h$]h&]entries](jp(reserve_mem_release_by_name (C function)c.reserve_mem_release_by_namehNtauh1jchjDhhhNhNubju)}(hhh](jz)}(h2int reserve_mem_release_by_name (const char *name)h]j)}(h1int reserve_mem_release_by_name(const char *name)h](j)}(hinth]hint}(hjԢhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjТhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjТhhhjhM ubj)}(hreserve_mem_release_by_nameh]j)}(hreserve_mem_release_by_nameh]hreserve_mem_release_by_name}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjТhhhjhM ubj6)}(h(const char *name)h]j<)}(hconst char *nameh](j)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hcharh]hchar}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj )}(hj8h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj)}(hnameh]hname}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1j;hj ubah}(h]h ]h"]h$]h&]jjuh1j5hjТhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj̢hhhjhM ubah}(h]jǢah ](jjeh"]h$]h&]jj)jhuh1jyhjhM hjɢhhubj)}(hhh]h)}(h0Release reserved memory region with a given nameh]h0Release reserved memory region with a given name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hj|hhubah}(h]h ]h"]h$]h&]uh1jhjɢhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jthhhjDhNhNubj)}(hX9**Parameters** ``const char *name`` The name that is attached to a reserved memory region **Description** Forcibly release the pages in the reserved memory region so that those memory can be used as free memory. After released the reserved region size becomes 0. **Return** 1 if released or 0 if not found.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubj")}(hhh]j')}(hK``const char *name`` The name that is attached to a reserved memory region h](j-)}(h``const char *name``h]h)}(hjh]hconst char *name}(hj£hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j,hS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubjG)}(hhh]h)}(h5The name that is attached to a reserved memory regionh]h5The name that is attached to a reserved memory region}(hj٣hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjգhM hj֣ubah}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1j&hjգhM hjubah}(h]h ]h"]h$]h&]uh1j!hjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubh)}(hForcibly release the pages in the reserved memory region so that those memory can be used as free memory. After released the reserved region size becomes 0.h]hForcibly release the pages in the reserved memory region so that those memory can be used as free memory. After released the reserved region size becomes 0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubh)}(h **Return**h]j)}(hj"h]hReturn}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubh)}(h 1 if released or 0 if not found.h]h 1 if released or 0 if not found.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubeh}(h]functions-and-structuresah ]h"]functions and structuresah$]h&]uh1hhhhhhhhKubeh}(h]boot-time-memory-managementah ]h"]boot time memory managementah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehʌ _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j[jXjAj>jSjPu nametypes}(j[jAjSuh}(jXhj>jcjPjDjrj{jjjjj j jk jp j& j+ jjjjjjjhjmjjj*j/jjjjj2j7j j j"j"j^$jc$j&j&j&j&j'j'jC,jH,j0j0j15j65j8j8j9j9j<j<j~?j?jCjCjHjHjjKjoKjMjMj_OjdOj}SjSjcUjhUjOWjTWj[j"[j ]j]j^j^j`j`j?cjDcj+ej0ejgjgj~ijijkjkjkmjpmjsjsjNyjSyj|j|jJjOjjjNjSj~jj"j'jƒj˒jjjojjjRjWjjjjjjjǢj̢u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.