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]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 refdomainhreftypefunc refexplicitrefwarn reftarget setup_archuh1hhhhK hhubh and tear it down in }(hhhhhNhNubh)}(h:c:func:`mem_init`h]h)}(hj h]h mem_init()}(hjhhhNhNubah}(h]h ](hhc-funceh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdoch refdomainhreftypefunc 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.}(hj3hhhNhNubah}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(hMemblock Overviewh]hMemblock Overview}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhhhhhKubh)}(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.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK+hjOhhubh)}(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:}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK/hjOhhubh 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.chK2hjubah}(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.chK6hjubah}(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.chK7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]bullet*uh1j~hjhK2hjOhhubh)}(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 }(hj%hhhNhNubh)}(h ``INIT_MEMBLOCK_MEMORY_REGIONS``h]hINIT_MEMBLOCK_MEMORY_REGIONS}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%ubh for “memory” and }(hj%hhhNhNubh)}(h"``INIT_MEMBLOCK_RESERVED_REGIONS``h]hINIT_MEMBLOCK_RESERVED_REGIONS}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%ubhN for “reserved”. The region array for “physmem” is initially sized to }(hj%hhhNhNubh)}(h``INIT_PHYSMEM_REGIONS``h]hINIT_PHYSMEM_REGIONS}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%ubhX . 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.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK;hjOhhubh)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chKJhjOhhubh)}(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:}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chKRhjOhhubj)}(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.chKUhjubah}(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.chKWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]j#j$uh1j~hjhKUhjOhhubh)}(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.chKZhjOhhubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:26: ./mm/memblock.chK_hjOhhubh)}(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}(hjhhhNhNubah}(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.chKbhjOhhubeh}(h]memblock-overviewah ]h"]memblock overviewah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hFunctions and structuresh]hFunctions and structures}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hhhhhKubh)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hj0hhubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singlememblock_flags (C enum)c.memblock_flagshNtauh1jOhj0hhhNhNubhdesc)}(hhh](hdesc_signature)}(hmemblock_flagsh]hdesc_signature_line)}(henum memblock_flagsh](hdesc_sig_keyword)}(henumh]henum}(hjshhhNhNubah}(h]h ]kah"]h$]h&]uh1jqhjmhhh^/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&]uh1jhjmhhhjhKubh desc_name)}(hmemblock_flagsh]h desc_sig_name)}(hjih]hmemblock_flags}(hjhhhNhNubah}(h]h ]nah"]h$]h&]uh1jhjubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1jhjmhhhjhKubeh}(h]h ]h"]h$]h&]jj add_permalinkuh1jksphinx_line_type declaratorhjghhhjhKubah}(h]j^ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1jehjhKhjbhhubh 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&]uh1jhjbhhhjhKubeh}(h]h ](henumeh"]h$]h&]domainhobjtypejdesctypejnoindex noindexentrynocontentsentryuh1j`hhhj0hNhNubh 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)}(hjh]h Constants}(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.hhK hjubhdefinition_list)}(hhh](hdefinition_list_item)}(h%``MEMBLOCK_NONE`` no special request h](hterm)}(h``MEMBLOCK_NONE``h]h)}(hjh]h MEMBLOCK_NONE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK#hjubh definition)}(hhh]h)}(hno special requesth]hno special request}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hK#hj4ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj1hK#hjubj)}(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)}(hjWh]hMEMBLOCK_HOTPLUG}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK*hjQubj3)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK&hjmubah}(h]h ]h"]h$]h&]uh1j2hjQubeh}(h]h ]h"]h$]h&]uh1jhjlhK*hjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK-hjubj3)}(hhh]h)}(hmirrored regionh]hmirrored region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK-hjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhK-hjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK2hjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhK2hjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK8hjubj3)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK5hjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhK8hjubj)}(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)}(hj>h]hMEMBLOCK_RSRV_NOINIT}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK=hj8ubj3)}(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}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhK;hjTubah}(h]h ]h"]h$]h&]uh1j2hj8ubeh}(h]h ]h"]h$]h&]uh1jhjShK=hjubj)}(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)}(hjxh]hMEMBLOCK_RSRV_KERN}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKBhjrubj3)}(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&]uh1j2hjrubeh}(h]h ]h"]h$]h&]uh1jhjhKBhjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKHhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKHhjubeh}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_region (C struct)c.memblock_regionhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hmemblock_regionh]jl)}(hstruct memblock_regionh](jr)}(hstructh]hstruct}(hj hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjhhh^/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)}(hmemblock_regionh]j)}(hjh]hmemblock_region}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKNubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjhhhjhKNubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjhKNhjhhubj)}(hhh]h)}(hrepresents a memory regionh]hrepresents a memory region}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKChjLhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKNubeh}(h]h ](hstructeh"]h$]h&]jhjjgjjgjjjuh1j`hhhj0hNhNubj)}(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}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh:}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKGhjkubh 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.hhKIhjkubh)}(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.hhKRhjkubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKEhjubj3)}(hhh]h)}(hbase address of the regionh]hbase address of the region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKEhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKEhjubj)}(h``size`` size of the region h](j)}(h``size``h]h)}(hjh]hsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKFhjubj3)}(hhh]h)}(hsize of the regionh]hsize of the region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKFhj ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj hKFhjubj)}(h#``flags`` memory region attributes h](j)}(h ``flags``h]h)}(hj0h]hflags}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKGhj*ubj3)}(hhh]h)}(hmemory region attributesh]hmemory region attributes}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhKGhjFubah}(h]h ]h"]h$]h&]uh1j2hj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhKGhjubj)}(h``nid`` NUMA node idh](j)}(h``nid``h]h)}(hjih]hnid}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKGhjcubj3)}(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&]uh1j2hjcubeh}(h]h ]h"]h$]h&]uh1jhj~hKGhjubeh}(h]h ]h"]h$]h&]uh1j hjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_type (C struct)c.memblock_typehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(h memblock_typeh]jl)}(hstruct memblock_typeh](jr)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjhhh^/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&]jjjuh1jkjjhjhhhjhKNubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjhKNhjhhubj)}(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 ](hstructeh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubj)}(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&]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.hhKWhj!ubj)}(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; };}hjBsbah}(h]h ]h"]h$]h&]jjuh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKYhj!ubh)}(h **Members**h]j)}(hjSh]hMembers}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKahj!ubj)}(hhh](j)}(h``cnt`` number of regions h](j)}(h``cnt``h]h)}(hjrh]hcnt}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjpubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKUhjlubj3)}(hhh]h)}(hnumber of regionsh]hnumber of regions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKUhjubah}(h]h ]h"]h$]h&]uh1j2hjlubeh}(h]h ]h"]h$]h&]uh1jhjhKUhjiubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKVhjubj3)}(hhh]h)}(hsize of the allocated arrayh]hsize of the allocated array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKVhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKVhjiubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKWhjubj3)}(hhh]h)}(hsize of all regionsh]hsize of all regions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKWhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKWhjiubj)}(h``regions`` array of regions h](j)}(h ``regions``h]h)}(hj h]hregions}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKXhj ubj3)}(hhh]h)}(harray of regionsh]harray of regions}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2 hKXhj3 ubah}(h]h ]h"]h$]h&]uh1j2hj ubeh}(h]h ]h"]h$]h&]uh1jhj2 hKXhjiubj)}(h&``name`` the memory type symbolic nameh](j)}(h``name``h]h)}(hjV h]hname}(hjX hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKXhjP ubj3)}(hhh]h)}(hthe memory type symbolic nameh]hthe memory type symbolic name}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKYhjl ubah}(h]h ]h"]h$]h&]uh1j2hjP ubeh}(h]h ]h"]h$]h&]uh1jhjk hKXhjiubeh}(h]h ]h"]h$]h&]uh1j hj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock (C struct) c.memblockhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hmemblockh]jl)}(hstruct memblockh](jr)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj 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&]jjjuh1jkjjhj hhhj hK_ubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jehj 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 ](hstructeh"]h$]h&]jhjj jj jjjuh1j`hhhj0hNhNubj)}(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; };}hj/ 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)}(hj@ h]hMembers}(hjB 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.hhKphj ubj)}(hhh](j)}(h&``bottom_up`` is bottom up direction? h](j)}(h ``bottom_up``h]h)}(hj_ h]h bottom_up}(hja hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj] ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKehjY ubj3)}(hhh]h)}(his bottom up direction?h]his bottom up direction?}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjt hKehju ubah}(h]h ]h"]h$]h&]uh1j2hjY ubeh}(h]h ]h"]h$]h&]uh1jhjt hKehjV 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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKfhj ubj3)}(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&]uh1j2hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKfhjV 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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKghj ubj3)}(hhh]h)}(husable memory regionsh]husable memory regions}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKghj ubah}(h]h ]h"]h$]h&]uh1j2hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKghjV 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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKghj ubj3)}(hhh]h)}(hreserved memory regionsh]hreserved memory regions}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhhj ubah}(h]h ]h"]h$]h&]uh1j2hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKghjV ubeh}(h]h ]h"]h$]h&]uh1j hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\ for_each_physmem_range (C macro)c.for_each_physmem_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hfor_each_physmem_rangeh]jl)}(hfor_each_physmem_rangeh]j)}(hfor_each_physmem_rangeh]j)}(hj^ h]hfor_each_physmem_range}(hjh hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd 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&]jjjuh1jkjjhj\ hhhj{ hKubah}(h]jW ah ](jjeh"]h$]h&]jj)jhuh1jehj{ hKhjY hhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjY hhhj{ hKubeh}(h]h ](hmacroeh"]h$]h&]jhjj jj jjjuh1j`hhhj0hNhNubh)}(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.hhKhj0hhubh 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 hKhj0hhubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubj3)}(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&]uh1j2hj ubeh}(h]h ]h"]h$]h&]uh1jhj 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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj# ubj3)}(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 }(hjB hhhNhNubh)}(h``NULL``h]hNULL}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjB ubeh}(h]h ]h"]h$]h&]uh1hhj> hKhj? ubah}(h]h ]h"]h$]h&]uh1j2hj# ubeh}(h]h ]h"]h$]h&]uh1jhj> 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)}(hjp h]hp_start}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjj ubj3)}(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&]uh1j2hjj ubeh}(h]h ]h"]h$]h&]uh1jhj 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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubj3)}(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&]uh1j2hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubeh}(h]h ]h"]h$]h&]uh1j hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\__for_each_mem_range (C macro)c.__for_each_mem_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(h__for_each_mem_rangeh]jl)}(h__for_each_mem_rangeh]j)}(h__for_each_mem_rangeh]j)}(hj h]h__for_each_mem_range}(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.hhKubah}(h]h ]h"]h$]h&]jjjuh1jkjjhj hhhj6 hKubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jehj6 hKhj hhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhj hhhj6 hKubeh}(h]h ](hmacroeh"]h$]h&]jhjjO jjO jjjuh1j`hhhj0hNhNubh)}(hO``__for_each_mem_range (i, type_a, type_b, nid, flags, p_start, p_end, p_nid)``h]h)}(hjU h]hK__for_each_mem_range (i, type_a, type_b, nid, flags, p_start, p_end, p_nid)}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjS ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj0hhubj )}(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.}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjk ubah}(h]h ]h"]h$]h&]uh1j hj} hKhj0hhubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubj3)}(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&]uh1j2hj ubeh}(h]h ]h"]h$]h&]uh1jhj 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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj ubj3)}(hhh]h)}(hptr to memblock_type to iterateh]hptr to memblock_type to iterate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1j2hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(hhh]h)}(h6ptr to memblock_type which excludes from the iterationh]h6ptr to memblock_type which excludes from the iteration}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hKhj1ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj0hKhj ubj)}(h6``nid`` node selector, ``NUMA_NO_NODE`` for all nodes h](j)}(h``nid``h]h)}(hjTh]hnid}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjNubj3)}(hhh]h)}(h-node selector, ``NUMA_NO_NODE`` for all nodesh](hnode selector, }(hjmhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmubh for all nodes}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjihKhjjubah}(h]h ]h"]h$]h&]uh1j2hjNubeh}(h]h ]h"]h$]h&]uh1jhjihKhj 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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj 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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj 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)}(hjh]hp_end}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(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 }(hj8hhhNhNubh)}(h``NULL``h]hNULL}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8ubeh}(h]h ]h"]h$]h&]uh1hhj4hKhj5ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj4hKhj ubj)}(h:``p_nid`` ptr to int for nid of the range, can be ``NULL``h](j)}(h ``p_nid``h]h)}(hjfh]hp_nid}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj`ubj3)}(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.hhKhj|ubah}(h]h ]h"]h$]h&]uh1j2hj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhj ubeh}(h]h ]h"]h$]h&]uh1j hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\"__for_each_mem_range_rev (C macro)c.__for_each_mem_range_revhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(h__for_each_mem_range_revh]jl)}(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&]jjjuh1jkjjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](hmacroeh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubh)}(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.hhKhj0hhubj )}(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.}(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 hj,hKhj0hhubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj3ubj)}(hhh](j)}(h ``i`` u64 used as loop variable h](j)}(h``i``h]h)}(hjXh]hi}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjRubj3)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhKhjnubah}(h]h ]h"]h$]h&]uh1j2hjRubeh}(h]h ]h"]h$]h&]uh1jhjmhKhjOubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjOubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjOubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(hhh]h)}(h-node selector, ``NUMA_NO_NODE`` for all nodesh](hnode selector, }(hjhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh for all nodes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjOubj)}(h6``flags`` pick from blocks based on memory attributes h](j)}(h ``flags``h]h)}(hjNh]hflags}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjHubj3)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchKhjdubah}(h]h ]h"]h$]h&]uh1j2hjHubeh}(h]h ]h"]h$]h&]uh1jhjchKhjOubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjOubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjOubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(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}(hj6hhhNhNubah}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj*hKhjOubeh}(h]h ]h"]h$]h&]uh1j hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\for_each_mem_range (C macro)c.for_each_mem_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hfor_each_mem_rangeh]jl)}(hfor_each_mem_rangeh]j)}(hfor_each_mem_rangeh]j)}(hjwh]hfor_each_mem_range}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjyhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKubah}(h]h ]h"]h$]h&]jjjuh1jkjjhjuhhhjhKubah}(h]jpah ](jjeh"]h$]h&]jj)jhuh1jehjhKhjrhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjrhhhjhKubeh}(h]h ](hmacroeh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubh)}(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.hhKhj0hhubj )}(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 hjhKhj0hhubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhj:ubj3)}(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 }(hjYhhhNhNubh)}(h``NULL``h]hNULL}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYubeh}(h]h ]h"]h$]h&]uh1hhjUhKhjVubah}(h]h ]h"]h$]h&]uh1j2hj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhKhjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhKhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\ for_each_mem_range_rev (C macro)c.for_each_mem_range_revhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hfor_each_mem_range_revh]jl)}(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&]jjjuh1jkjjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](hmacroeh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubh)}(h.``for_each_mem_range_rev (i, p_start, p_end)``h]h)}(hj%h]h*for_each_mem_range_rev (i, 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.hhMhj0hhubj )}(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.}(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 hjMhKhj0hhubj)}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjTubj)}(hhh](j)}(h ``i`` u64 used as loop variable h](j)}(h``i``h]h)}(hjyh]hi}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjsubj3)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j2hjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjubj3)}(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.hhMhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubeh}(h]h ]h"]h$]h&]uh1j hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\%for_each_reserved_mem_range (C macro)c.for_each_reserved_mem_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hfor_each_reserved_mem_rangeh]jl)}(hfor_each_reserved_mem_rangeh]j)}(hfor_each_reserved_mem_rangeh]j)}(hj[h]hfor_each_reserved_mem_range}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubah}(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&]jjjuh1jkjjhjYhhhjxhM ubah}(h]jTah ](jjeh"]h$]h&]jj)jhuh1jehjxhM hjVhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjVhhhjxhM ubeh}(h]h ](hmacroeh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubh)}(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 hj0hhubj )}(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 hj0hhubj)}(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.hhMhjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(hj$h]hp_start}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjubj3)}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=ubeh}(h]h ]h"]h$]h&]uh1hhj9hM hj:ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj9hM 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)}(hjkh]hp_end}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjiubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hjeubj3)}(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&]uh1j2hjeubeh}(h]h ]h"]h$]h&]uh1jhjhM 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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\ for_each_mem_pfn_range (C macro)c.for_each_mem_pfn_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hfor_each_mem_pfn_rangeh]jl)}(hfor_each_mem_pfn_rangeh]j)}(hfor_each_mem_pfn_rangeh]j)}(hjh]hfor_each_mem_pfn_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.hhM:ubah}(h]h ]h"]h$]h&]jjjuh1jkjjhjhhhjhM:ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjhM:hjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhjhM:ubeh}(h]h ](hmacroeh"]h$]h&]jhjj)jj)jjjuh1j`hhhj0hNhNubh)}(h:``for_each_mem_pfn_range (i, nid, p_start, p_end, p_nid)``h]h)}(hj/h]h6for_each_mem_pfn_range (i, nid, p_start, p_end, p_nid)}(hj1hhhNhNubah}(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<hj0hhubj )}(h early memory pfn range iterator h]h)}(hearly memory pfn range iteratorh]hearly memory pfn range iterator}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM:hjEubah}(h]h ]h"]h$]h&]uh1j hjWhM:hj0hhubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(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'``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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM;hj}ubj3)}(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&]uh1j2hj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjzubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM<hjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjzubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM=hjubj3)}(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 }(hj hhhNhNubh)}(h``NULL``h]hNULL}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhjhM=hjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjzubj)}(hA``p_end`` ptr to ulong for end pfn of the range, can be ``NULL`` h](j)}(h ``p_end``h]h)}(hjNh]hp_end}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM>hjHubj3)}(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 }(hjghhhNhNubh)}(h``NULL``h]hNULL}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgubeh}(h]h ]h"]h$]h&]uh1hhjchM>hjdubah}(h]h ]h"]h$]h&]uh1j2hjHubeh}(h]h ]h"]h$]h&]uh1jhjchM>hjzubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM?hjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjzubeh}(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&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMAhj^ubh)}(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@hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\!for_each_free_mem_range (C macro)c.for_each_free_mem_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hfor_each_free_mem_rangeh]jl)}(hfor_each_free_mem_rangeh]j)}(hfor_each_free_mem_rangeh]j)}(hjh]hfor_each_free_mem_range}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMIubah}(h]h ]h"]h$]h&]jjjuh1jkjjhjhhhj:hMIubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehj:hMIhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhj:hMIubeh}(h]h ](hmacroeh"]h$]h&]jhjjSjjSjjjuh1j`hhhj0hNhNubh)}(hB``for_each_free_mem_range (i, nid, flags, p_start, p_end, p_nid)``h]h)}(hjYh]h>for_each_free_mem_range (i, nid, flags, p_start, p_end, p_nid)}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMKhj0hhubj )}(h$iterate through free memblock areas h]h)}(h#iterate through free memblock areash]h#iterate through free memblock areas}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMIhjoubah}(h]h ]h"]h$]h&]uh1j hjhMIhj0hhubj)}(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.hhMMhjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMJhjubj3)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMKhjubj3)}(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&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(h6``flags`` pick from blocks based on memory attributes h](j)}(h ``flags``h]h)}(hj1h]hflags}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMLhj+ubj3)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMLhjGubah}(h]h ]h"]h$]h&]uh1j2hj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMLhjubj)}(hO``p_start`` ptr to phys_addr_t for start address of the range, can be ``NULL`` h](j)}(h ``p_start``h]h)}(hjjh]hp_start}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMMhjdubj3)}(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&]uh1hhjhMMhjubah}(h]h ]h"]h$]h&]uh1j2hjdubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMNhjubj3)}(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&]uh1hhjhMNhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMOhjubj3)}(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&]uh1hhj hMOhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj hMOhjubeh}(h]h ]h"]h$]h&]uh1j hjubh)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(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.hhMQhjubh)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\)for_each_free_mem_range_reverse (C macro)!c.for_each_free_mem_range_reversehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hfor_each_free_mem_range_reverseh]jl)}(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.hhMYubah}(h]h ]h"]h$]h&]jjjuh1jkjjhj~hhhjhMYubah}(h]jyah ](jjeh"]h$]h&]jj)jhuh1jehjhMYhj{hhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhj{hhhjhMYubeh}(h]h ](hmacroeh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubh)}(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.hhM[hj0hhubj )}(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.hhMYhjubah}(h]h ]h"]h$]h&]uh1j hjhMYhj0hhubj)}(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)}(hjh]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMZhj ubj3)}(hhh]h)}(hu64 used as loop variableh]hu64 used as loop variable}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMZhj&ubah}(h]h ]h"]h$]h&]uh1j2hj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMZhjubj)}(h6``nid`` node selector, ``NUMA_NO_NODE`` for all nodes h](j)}(h``nid``h]h)}(hjIh]hnid}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM[hjCubj3)}(hhh]h)}(h-node selector, ``NUMA_NO_NODE`` for all nodesh](hnode selector, }(hjbhhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbubh for all nodes}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj^hM[hj_ubah}(h]h ]h"]h$]h&]uh1j2hjCubeh}(h]h ]h"]h$]h&]uh1jhj^hM[hjubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM\hjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhM\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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM]hjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhM]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&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM^hjubj3)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-ubeh}(h]h ]h"]h$]h&]uh1hhj)hM^hj*ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj)hM^hjubj)}(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&]uh1hhjYubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM_hjUubj3)}(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 }(hjthhhNhNubh)}(h``NULL``h]hNULL}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjtubeh}(h]h ]h"]h$]h&]uh1hhjphM_hjqubah}(h]h ]h"]h$]h&]uh1j2hjUubeh}(h]h ]h"]h$]h&]uh1jhjphM_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.hhMahjubh)}(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&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\'memblock_set_current_limit (C function)c.memblock_set_current_limithNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(h3void memblock_set_current_limit (phys_addr_t limit)h]jl)}(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&]uh1jhj ubah}(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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&] refdomainhreftype identifier reftargetj2modnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]jK ASTIdentifier)}jFjsbc.memblock_set_current_limitasbuh1hhj)ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(hlimith]hlimit}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj#ubah}(h]h ]h"]h$]h&]jjuh1j!hjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjhMhjhhubj)}(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 ](hfunctioneh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubj)}(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&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\,memblock_region_memory_base_pfn (C function)!c.memblock_region_memory_base_pfnhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hQunsigned long memblock_region_memory_base_pfn (const struct memblock_region *reg)h]jl)}(hPunsigned long memblock_region_memory_base_pfn(const struct memblock_region *reg)h](j)}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhj9hM ubj)}(hlongh]hlong}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhj9hM ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhj9hM ubj)}(hmemblock_region_memory_base_pfnh]j)}(hmemblock_region_memory_base_pfnh]hmemblock_region_memory_base_pfn}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubah}(h]h ](jjeh"]h$]h&]jjuh1jhj'hhhj9hM ubj")}(h#(const struct memblock_region *reg)h]j()}(h!const struct memblock_region *regh](jr)}(hconsth]hconst}(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjr)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubj)}(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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]jS)}jFjjsb!c.memblock_region_memory_base_pfnasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubhdesc_sig_punctuation)}(hj$h]h*}(hjhhhNhNubah}(h]h ]pah"]h$]h&]uh1jhjubj)}(hregh]hreg}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj|ubah}(h]h ]h"]h$]h&]jjuh1j!hj'hhhj9hM ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj#hhhj9hM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehj9hM hj hhubj)}(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 hj# hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj9hM ubeh}(h]h ](hfunctioneh"]h$]h&]jhjj> jj> jjjuh1j`hhhj0hNhNubj)}(h**Parameters** ``const struct memblock_region *reg`` memblock_region structure **Return** the lowest pfn intersecting with the memory regionh](h)}(h**Parameters**h]j)}(hjH h]h Parameters}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhMhjB ubj)}(hhh]j)}(h@``const struct memblock_region *reg`` memblock_region structure h](j)}(h%``const struct memblock_region *reg``h]h)}(hjg h]h!const struct memblock_region *reg}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1hhje ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:39: ./include/linux/memblock.hhM hja ubj3)}(hhh]h)}(hmemblock_region structureh]hmemblock_region structure}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj| hM hj} ubah}(h]h ]h"]h$]h&]uh1j2hja ubeh}(h]h ]h"]h$]h&]uh1jhj| hM hj^ ubah}(h]h ]h"]h$]h&]uh1j hjB 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 hjB 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 hjB ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\+memblock_region_memory_end_pfn (C function) c.memblock_region_memory_end_pfnhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hPunsigned long memblock_region_memory_end_pfn (const struct memblock_region *reg)h]jl)}(hOunsigned long memblock_region_memory_end_pfn(const struct memblock_region *reg)h](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]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 ]jah"]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}(hj$!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj !ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhhj hMubj")}(h#(const struct memblock_region *reg)h]j()}(h!const struct memblock_region *regh](jr)}(hjh]hconst}(hj@!hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;(ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj@(modnameN classnameNjJjM)}jP]j'!c.__memblock_find_range_bottom_upasbuh1hhj7(ubj)}(h h]h }(hj\(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7(ubj)}(hstarth]hstart}(hjj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7(ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj3(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&] refdomainhreftypejF reftargetj(modnameN classnameNjJjM)}jP]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'hj3(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&] refdomainhreftypejF reftargetj(modnameN classnameNjJjM)}jP]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'hj3(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&] refdomainhreftypejF reftargetj)modnameN classnameNjJjM)}jP]j'!c.__memblock_find_range_bottom_upasbuh1hhj)ubj)}(h h]h }(hj4)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(halignh]halign}(hjB)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj3(ubj()}(hint nidh](j)}(hinth]hint}(hj[)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW)ubj)}(h h]h }(hji)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW)ubj)}(hnidh]hnid}(hjw)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW)ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj3(ubj()}(henum memblock_flags flagsh](jr)}(hjuh]henum}(hj)hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj)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&] refdomainhreftypejF reftargetj)modnameN classnameNjJjM)}jP]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'hj3(ubeh}(h]h ]h"]h$]h&]jjuh1j!hj'hhhj'hKubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj'hhhj'hKubah}(h]j'ah ](jjeh"]h$]h&]jj)jhuh1jehj'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 ](hfunctioneh"]h$]h&]jhjj*jj*jjjuh1j`hhhj0hNhNubj)}(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&]uh1jhj$*ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj *ubj)}(hhh](j)}(h/``phys_addr_t start`` start of candidate range h](j)}(h``phys_addr_t start``h]h)}(hjE*h]hphys_addr_t start}(hjG*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC*ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj?*ubj3)}(hhh]h)}(hstart of candidate rangeh]hstart of candidate range}(hj^*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ*hKhj[*ubah}(h]h ]h"]h$]h&]uh1j2hj?*ubeh}(h]h ]h"]h$]h&]uh1jhjZ*hKhj<*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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhjx*ubj3)}(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&]uh1j2hjx*ubeh}(h]h ]h"]h$]h&]uh1jhj*hKhj<*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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj*ubj3)}(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&]uh1j2hj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hKhj<*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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj +ubj3)}(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&]uh1j2hj +ubeh}(h]h ]h"]h$]h&]uh1jhj&+hKhj<*ubj)}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j)}(h ``int nid``h]h)}(hjJ+h]hint nid}(hjL+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjH+ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhjD+ubj3)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hjc+hhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hjk+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjc+ubh for any node}(hjc+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj_+hKhj`+ubah}(h]h ]h"]h$]h&]uh1j2hjD+ubeh}(h]h ]h"]h$]h&]uh1jhj_+hKhj<*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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj+ubj3)}(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&]uh1j2hj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hKhj<*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.chKhj *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.chKhj *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.chKhj *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.chKhj *ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\+__memblock_find_range_top_down (C function) c.__memblock_find_range_top_downhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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}(hj?,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<,ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjA,modnameN classnameNjJjM)}jP]jS)}jF__memblock_find_range_top_downsb c.__memblock_find_range_top_downasbuh1hhj8,hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKubj)}(h h]h }(hja,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8,hhhj`,hKubh__init_memblock}(hj8,hhhNhNubj)}(h h]h }(hjs,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8,hhhj`,hKubj)}(h__memblock_find_range_top_downh]j)}(hj],h]h__memblock_find_range_top_down}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj8,hhhj`,hKubj")}(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&] refdomainhreftypejF reftargetj,modnameN classnameNjJjM)}jP]j[, 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&] refdomainhreftypejF reftargetj,modnameN classnameNjJjM)}jP]j[, 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}(hj3-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0-ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj5-modnameN classnameNjJjM)}jP]j[, c.__memblock_find_range_top_downasbuh1hhj,-ubj)}(h h]h }(hjQ-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()}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj{-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx-ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj}-modnameN classnameNjJjM)}jP]j[, c.__memblock_find_range_top_downasbuh1hhjt-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt-ubj)}(halignh]halign}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt-ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj,ubj()}(hint nidh](j)}(hinth]hint}(hj-hhhNhNubah}(h]h ]jah"]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](jr)}(hjuh]henum}(hj-hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj-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&] refdomainhreftypejF reftargetj.modnameN classnameNjJjM)}jP]j[, c.__memblock_find_range_top_downasbuh1hhj-ubj)}(h h]h }(hj1.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'hj,ubeh}(h]h ]h"]h$]h&]jjuh1j!hj8,hhhj`,hKubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj4,hhhj`,hKubah}(h]j/,ah ](jjeh"]h$]h&]jj)jhuh1jehj`,hKhj1,hhubj)}(hhh]h)}(h#find free area utility, in top-downh]h#find free area utility, in top-down}(hji.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhjf.hhubah}(h]h ]h"]h$]h&]uh1jhj1,hhhj`,hKubeh}(h]h ](hfunctioneh"]h$]h&]jhjj.jj.jjjuh1j`hhhj0hNhNubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhj.ubj3)}(hhh]h)}(hstart of candidate rangeh]hstart of candidate range}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hKhj.ubah}(h]h ]h"]h$]h&]uh1j2hj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hKhj.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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj.ubj3)}(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&]uh1j2hj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMhj.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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj7/ubj3)}(hhh]h)}(hsize of free area to findh]hsize of free area to find}(hjV/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjR/hMhjS/ubah}(h]h ]h"]h$]h&]uh1j2hj7/ubeh}(h]h ]h"]h$]h&]uh1jhjR/hMhj.ubj)}(h5``phys_addr_t align`` alignment of free area to find h](j)}(h``phys_addr_t align``h]h)}(hjv/h]hphys_addr_t align}(hjx/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjt/ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjp/ubj3)}(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&]uh1j2hjp/ubeh}(h]h ]h"]h$]h&]uh1jhj/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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj/ubj3)}(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&]uh1j2hj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj.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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj/ubj3)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1j2hj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj.ubeh}(h]h ]h"]h$]h&]uh1j hj.ubh)}(h**Description**h]j)}(hj50h]h Description}(hj70hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj30ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj.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.}(hjK0hhhNhNubah}(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)}(hj\0h]hReturn}(hj^0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ0ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj.ubh)}(h'Found address on success, 0 on failure.h]h'Found address on success, 0 on failure.}(hjr0hhhNhNubah}(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&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\(memblock_find_in_range_node (C function)c.memblock_find_in_range_nodehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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&] refdomainhreftypejF reftargetj0modnameN classnameNjJjM)}jP]jS)}jFmemblock_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%ubj")}(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&] refdomainhreftypejF reftargetj 1modnameN classnameNjJjM)}jP]j0c.memblock_find_in_range_nodeasbuh1hhj1ubj)}(h h]h }(hj&1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(hsizeh]hsize}(hj41hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj0ubj()}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjP1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM1ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjR1modnameN classnameNjJjM)}jP]j0c.memblock_find_in_range_nodeasbuh1hhjI1ubj)}(h h]h }(hjn1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjI1ubj)}(halignh]halign}(hj|1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjI1ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj0ubj()}(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&] refdomainhreftypejF reftargetj1modnameN classnameNjJjM)}jP]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'hj0ubj()}(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&] refdomainhreftypejF reftargetj1modnameN classnameNjJjM)}jP]j0c.memblock_find_in_range_nodeasbuh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(hendh]hend}(hj 2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj0ubj()}(hint nidh](j)}(hinth]hint}(hj%2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!2ubj)}(h h]h }(hj32hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!2ubj)}(hnidh]hnid}(hjA2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!2ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj0ubj()}(henum memblock_flags flagsh](jr)}(hjuh]henum}(hjZ2hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjV2ubj)}(h h]h }(hjg2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV2ubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hjx2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju2ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjz2modnameN classnameNjJjM)}jP]j0c.memblock_find_in_range_nodeasbuh1hhjV2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV2ubj)}(hflagsh]hflags}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV2ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj0ubeh}(h]h ]h"]h$]h&]jjuh1j!hj0hhhj0hM%ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj0hhhj0hM%ubah}(h]j0ah ](jjeh"]h$]h&]jj)jhuh1jehj0hM%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 ](hfunctioneh"]h$]h&]jhjj2jj2jjjuh1j`hhhj0hNhNubj)}(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)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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)}(hj3h]hphys_addr_t size}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 3ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM&hj 3ubj3)}(hhh]h)}(hsize of free area to findh]hsize of free area to find}(hj(3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$3hM&hj%3ubah}(h]h ]h"]h$]h&]uh1j2hj 3ubeh}(h]h ]h"]h$]h&]uh1jhj$3hM&hj3ubj)}(h5``phys_addr_t align`` alignment of free area to find h](j)}(h``phys_addr_t align``h]h)}(hjH3h]hphys_addr_t align}(hjJ3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjF3ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM'hjB3ubj3)}(hhh]h)}(halignment of free area to findh]halignment of free area to find}(hja3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]3hM'hj^3ubah}(h]h ]h"]h$]h&]uh1j2hjB3ubeh}(h]h ]h"]h$]h&]uh1jhj]3hM'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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM(hj{3ubj3)}(hhh]h)}(hstart of candidate rangeh]hstart of candidate range}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM(hj3ubah}(h]h ]h"]h$]h&]uh1j2hj{3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM*hj3ubj3)}(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}(hj3hhhNhNubah}(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&]uh1j2hj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM*hj3ubj)}(hH``int nid`` nid of the free area to find, ``NUMA_NO_NODE`` for any node h](j)}(h ``int nid``h]h)}(hj4h]hint nid}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM+hj4ubj3)}(hhh]h)}(h;nid of the free area to find, ``NUMA_NO_NODE`` for any nodeh](hnid of the free area to find, }(hj-4hhhNhNubh)}(h``NUMA_NO_NODE``h]h NUMA_NO_NODE}(hj54hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-4ubh for any node}(hj-4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj)4hM+hj*4ubah}(h]h ]h"]h$]h&]uh1j2hj4ubeh}(h]h ]h"]h$]h&]uh1jhj)4hM+hj3ubj)}(hJ``enum memblock_flags flags`` pick from blocks based on memory attributes h](j)}(h``enum memblock_flags flags``h]h)}(hj_4h]henum memblock_flags flags}(hja4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]4ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM,hjY4ubj3)}(hhh]h)}(h+pick from blocks based on memory attributesh]h+pick from blocks based on memory attributes}(hjx4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjt4hM,hju4ubah}(h]h ]h"]h$]h&]uh1j2hjY4ubeh}(h]h ]h"]h$]h&]uh1jhjt4hM,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.chM.hj2ubh)}(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.chM/hj2ubh)}(h'Found address on success, 0 on failure.h]h'Found address on success, 0 on failure.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM0hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\#memblock_find_in_range (C function)c.memblock_find_in_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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}(hj-5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*5ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj/5modnameN classnameNjJjM)}jP]jS)}jFmemblock_find_in_rangesbc.memblock_find_in_rangeasbuh1hhj&5hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMJubj)}(h h]h }(hjO5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&5hhhjN5hMJubh__init_memblock}(hj&5hhhNhNubj)}(h h]h }(hja5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&5hhhjN5hMJubj)}(hmemblock_find_in_rangeh]j)}(hjK5h]hmemblock_find_in_range}(hjs5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo5ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj&5hhhjN5hMJubj")}(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&] refdomainhreftypejF reftargetj5modnameN classnameNjJjM)}jP]jI5c.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&] refdomainhreftypejF reftargetj5modnameN classnameNjJjM)}jP]jI5c.memblock_find_in_rangeasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(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}(hj!6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj#6modnameN classnameNjJjM)}jP]jI5c.memblock_find_in_rangeasbuh1hhj6ubj)}(h h]h }(hj?6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(hsizeh]hsize}(hjM6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj5ubj()}(hphys_addr_t alignh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hji6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf6ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjk6modnameN classnameNjJjM)}jP]jI5c.memblock_find_in_rangeasbuh1hhjb6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb6ubj)}(halignh]halign}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb6ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj5ubeh}(h]h ]h"]h$]h&]jjuh1j!hj&5hhhjN5hMJubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj"5hhhjN5hMJubah}(h]j5ah ](jjeh"]h$]h&]jj)jhuh1jehjN5hMJhj5hhubj)}(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.chMJhj6hhubah}(h]h ]h"]h$]h&]uh1jhj5hhhjN5hMJubeh}(h]h ](hfunctioneh"]h$]h&]jhjj6jj6jjjuh1j`hhhj0hNhNubj)}(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.chMNhj6ubj)}(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&]uh1hhj6ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMKhj6ubj3)}(hhh]h)}(hstart of candidate rangeh]hstart of candidate range}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMKhj7ubah}(h]h ]h"]h$]h&]uh1j2hj6ubeh}(h]h ]h"]h$]h&]uh1jhj7hMKhj6ubj)}(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)}(hj97h]hphys_addr_t end}(hj;7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj77ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMMhj37ubj3)}(hhh]h)}(h[end of candidate range, can be ``MEMBLOCK_ALLOC_ANYWHERE`` or ``MEMBLOCK_ALLOC_ACCESSIBLE``h](hend of candidate range, can be }(hjR7hhhNhNubh)}(h``MEMBLOCK_ALLOC_ANYWHERE``h]hMEMBLOCK_ALLOC_ANYWHERE}(hjZ7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjR7ubh or }(hjR7hhhNhNubh)}(h``MEMBLOCK_ALLOC_ACCESSIBLE``h]hMEMBLOCK_ALLOC_ACCESSIBLE}(hjl7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjR7ubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMLhjO7ubah}(h]h ]h"]h$]h&]uh1j2hj37ubeh}(h]h ]h"]h$]h&]uh1jhjN7hMMhj6ubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMNhj7ubj3)}(hhh]h)}(hsize of free area to findh]hsize of free area to find}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMNhj7ubah}(h]h ]h"]h$]h&]uh1j2hj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMNhj6ubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMOhj7ubj3)}(hhh]h)}(halignment of free area to findh]halignment of free area to find}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMOhj7ubah}(h]h ]h"]h$]h&]uh1j2hj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMOhj6ubeh}(h]h ]h"]h$]h&]uh1j hj6ubh)}(h**Description**h]j)}(hj8h]h Description}(hj 8hhhNhNubah}(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.chMQhj6ubh)}(hDFind **size** free area aligned to **align** in the specified range.h](hFind }(hj8hhhNhNubj)}(h**size**h]hsize}(hj%8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh free area aligned to }(hj8hhhNhNubj)}(h **align**h]halign}(hj78hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh in the specified range.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMPhj6ubh)}(h **Return**h]j)}(hjR8h]hReturn}(hjT8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP8ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMRhj6ubh)}(h'Found address on success, 0 on failure.h]h'Found address on success, 0 on failure.}(hjh8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMShj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_discard (C function)c.memblock_discardhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hvoid memblock_discard (void)h]jl)}(hvoid memblock_discard(void)h](j)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM~ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhj8hM~ubj)}(hmemblock_discardh]j)}(hmemblock_discardh]hmemblock_discard}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj8hhhj8hM~ubj")}(h(void)h]j()}(hvoidh]j)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]noemphjjuh1j'hj8ubah}(h]h ]h"]h$]h&]jjuh1j!hj8hhhj8hM~ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj8hhhj8hM~ubah}(h]j8ah ](jjeh"]h$]h&]jj)jhuh1jehj8hM~hj8hhubj)}(hhh]h)}(h9discard memory and reserved arrays if they were allocatedh]h9discard memory and reserved arrays if they were allocated}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM~hj8hhubah}(h]h ]h"]h$]h&]uh1jhj8hhhj8hM~ubeh}(h]h ](hfunctioneh"]h$]h&]jhjj9jj9jjjuh1j`hhhj0hNhNubj)}(h'**Parameters** ``void`` no argumentsh](h)}(h**Parameters**h]j)}(hj 9h]h Parameters}(hj"9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj9ubj)}(hhh]j)}(h``void`` no argumentsh](j)}(h``void``h]h)}(hj?9h]hvoid}(hjA9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=9ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj99ubj3)}(hhh]h)}(h no argumentsh]h no arguments}(hjX9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chKhjU9ubah}(h]h ]h"]h$]h&]uh1j2hj99ubeh}(h]h ]h"]h$]h&]uh1jhjT9hMhj69ubah}(h]h ]h"]h$]h&]uh1j hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\"memblock_double_array (C function)c.memblock_double_arrayhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(h}int __init_memblock memblock_double_array (struct memblock_type *type, phys_addr_t new_area_start, phys_addr_t new_area_size)h]jl)}(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 ]jah"]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&]jjuh1jhj9hhhj9hMubj")}(hS(struct memblock_type *type, phys_addr_t new_area_start, phys_addr_t new_area_size)h](j()}(hstruct memblock_type *typeh](jr)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj9ubj)}(h h]h }(hj9hhhNhNubah}(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&] refdomainhreftypejF reftargetj:modnameN classnameNjJjM)}jP]jS)}jFj9sbc.memblock_double_arrayasbuh1hhj9ubj)}(h h]h }(hj&:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(hj$h]h*}(hj4:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(htypeh]htype}(hjA: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}(hj]:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ:ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj_:modnameN classnameNjJjM)}jP]j":c.memblock_double_arrayasbuh1hhjV:ubj)}(h h]h }(hj{:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV:ubj)}(hnew_area_starth]hnew_area_start}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV: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&] refdomainhreftypejF reftargetj:modnameN classnameNjJjM)}jP]j":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&]jjuh1j!hj9hhhj9hMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj9hhhj9hMubah}(h]j9ah ](jjeh"]h$]h&]jj)jhuh1jehj9hMhj9hhubj)}(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 ](hfunctioneh"]h$]h&]jhjj;jj;jjjuh1j`hhhj0hNhNubj)}(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)}(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)}(hP``struct memblock_type *type`` memblock type of the regions array being doubled h](j)}(h``struct memblock_type *type``h]h)}(hj<;h]hstruct memblock_type *type}(hj>;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:;ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj6;ubj3)}(hhh]h)}(h0memblock type of the regions array being doubledh]h0memblock type of the regions array being doubled}(hjU;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ;hMhjR;ubah}(h]h ]h"]h$]h&]uh1j2hj6;ubeh}(h]h ]h"]h$]h&]uh1jhjQ;hMhj3;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)}(hju;h]hphys_addr_t new_area_start}(hjw;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjs;ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjo;ubj3)}(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&]uh1j2hjo;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj3;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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj;ubj3)}(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&]uh1j2hj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj3;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}(hj=<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)}(hjX<h]hReturn}(hjZ<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV<ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.cHhMhj;ubh)}(h0 on success, -1 on failure.h]h0 on success, -1 on failure.}(hjn<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&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\#memblock_merge_regions (C function)c.memblock_merge_regionshNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hxvoid __init_memblock memblock_merge_regions (struct memblock_type *type, unsigned long start_rgn, unsigned long end_rgn)h]jl)}(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 ]jah"]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<hMubj")}(hL(struct memblock_type *type, unsigned long start_rgn, unsigned long end_rgn)h](j()}(hstruct memblock_type *typeh](jr)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj<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&] refdomainhreftypejF reftargetj =modnameN classnameNjJjM)}jP]jS)}jFj<sbc.memblock_merge_regionsasbuh1hhj<ubj)}(h h]h }(hj*=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(hj$h]h*}(hj8=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(htypeh]htype}(hjE=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj<ubj()}(hunsigned long start_rgnh](j)}(hunsignedh]hunsigned}(hj^=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ=ubj)}(h h]h }(hjl=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ=ubj)}(hlongh]hlong}(hjz=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ=ubj)}(h start_rgnh]h start_rgn}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ=ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj<ubj()}(hunsigned long end_rgnh](j)}(hunsignedh]hunsigned}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(hlongh]hlong}(hj=hhhNhNubah}(h]h ]jah"]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&]jjuh1j!hj<hhhj<hMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj<hhhj<hMubah}(h]j<ah ](jjeh"]h$]h&]jj)jhuh1jehj<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 ](hfunctioneh"]h$]h&]jhjj)>jj)>jjjuh1j`hhhj0hNhNubj)}(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)}(hj3>h]h Parameters}(hj5>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1>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)}(h5``struct memblock_type *type`` memblock type to scan h](j)}(h``struct memblock_type *type``h]h)}(hjR>h]hstruct memblock_type *type}(hjT>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP>ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjL>ubj3)}(hhh]h)}(hmemblock type to scanh]hmemblock type to scan}(hjk>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjg>hMhjh>ubah}(h]h ]h"]h$]h&]uh1j2hjL>ubeh}(h]h ]h"]h$]h&]uh1jhjg>hMhjI>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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj>ubj3)}(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&]uh1j2hj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjI>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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj>ubj3)}(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}(hj-?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh)}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1j2hj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjI>ubeh}(h]h ]h"]h$]h&]uh1j hj->ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\#memblock_insert_region (C function)c.memblock_insert_regionhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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}(hjw?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs?hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM3ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs?hhhj?hM3ubh__init_memblock}(hjs?hhhNhNubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs?hhhj?hM3ubj)}(hmemblock_insert_regionh]j)}(hmemblock_insert_regionh]hmemblock_insert_region}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjs?hhhj?hM3ubj")}(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](jr)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj?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&] refdomainhreftypejF reftargetj?modnameN classnameNjJjM)}jP]jS)}jFj?sbc.memblock_insert_regionasbuh1hhj?ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(hj$h]h*}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(htypeh]htype}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj?ubj()}(hint idxh](j)}(hinth]hint}(hj8@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4@ubj)}(h h]h }(hjF@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4@ubj)}(hidxh]hidx}(hjT@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4@ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj?ubj()}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjp@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm@ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjr@modnameN classnameNjJjM)}jP]j@c.memblock_insert_regionasbuh1hhji@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji@ubj)}(hbaseh]hbase}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji@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&] refdomainhreftypejF reftargetj@modnameN classnameNjJjM)}jP]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}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj)}(h h]h }(hj AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj)}(hnidh]hnid}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj?ubj()}(henum memblock_flags flagsh](jr)}(hjuh]henum}(hj2AhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj.Aubj)}(h h]h }(hj?AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.Aubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hjPAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMAubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjRAmodnameN classnameNjJjM)}jP]j@c.memblock_insert_regionasbuh1hhj.Aubj)}(h h]h }(hjnAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.Aubj)}(hflagsh]hflags}(hj|AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.Aubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj?ubeh}(h]h ]h"]h$]h&]jjuh1j!hjs?hhhj?hM3ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjo?hhhj?hM3ubah}(h]jj?ah ](jjeh"]h$]h&]jj)jhuh1jehj?hM3hjl?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.chM3hjAhhubah}(h]h ]h"]h$]h&]uh1jhjl?hhhj?hM3ubeh}(h]h ](hfunctioneh"]h$]h&]jhjjAjjAjjjuh1j`hhhj0hNhNubj)}(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.chM7hjAubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM4hjAubj3)}(hhh]h)}(hmemblock type to insert intoh]hmemblock type to insert into}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM4hjAubah}(h]h ]h"]h$]h&]uh1j2hjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM4hjAubj)}(h*``int idx`` index for the insertion point h](j)}(h ``int idx``h]h)}(hj Bh]hint idx}(hj"BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM5hjBubj3)}(hhh]h)}(hindex for the insertion pointh]hindex for the insertion point}(hj9BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5BhM5hj6Bubah}(h]h ]h"]h$]h&]uh1j2hjBubeh}(h]h ]h"]h$]h&]uh1jhj5BhM5hjAubj)}(h4``phys_addr_t base`` base address of the new region h](j)}(h``phys_addr_t base``h]h)}(hjYBh]hphys_addr_t base}(hj[BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWBubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM6hjSBubj3)}(hhh]h)}(hbase address of the new regionh]hbase address of the new region}(hjrBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnBhM6hjoBubah}(h]h ]h"]h$]h&]uh1j2hjSBubeh}(h]h ]h"]h$]h&]uh1jhjnBhM6hjAubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM7hjBubj3)}(hhh]h)}(hsize of the new regionh]hsize of the new region}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM7hjBubah}(h]h ]h"]h$]h&]uh1j2hjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM7hjAubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM8hjBubj3)}(hhh]h)}(hnode id of the new regionh]hnode id of the new region}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM8hjBubah}(h]h ]h"]h$]h&]uh1j2hjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM8hjAubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM9hjBubj3)}(hhh]h)}(hflags of the new regionh]hflags of the new region}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChM9hjCubah}(h]h ]h"]h$]h&]uh1j2hjBubeh}(h]h ]h"]h$]h&]uh1jhjChM9hjAubeh}(h]h ]h"]h$]h&]uh1j hjAubh)}(h**Description**h]j)}(hj?Ch]h Description}(hjAChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Cubah}(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 [}(hjUChhhNhNubj)}(h**base**h]hbase}(hj]ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUCubh, }(hjUChhhNhNubj)}(h**base**h]hbase}(hjoChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUCubh + }(hjUChhhNhNubj)}(h**size**h]hsize}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUCubh) into }(hjUChhhNhNubj)}(h**type**h]htype}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUCubh at }(hjUChhhNhNubj)}(h**idx**h]hidx}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUCubh. }(hjUChhhNhNubj)}(h**type**h]htype}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUCubh< must already have extra room to accommodate the new region.}(hjUChhhNhNubeh}(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&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_add_range (C function)c.memblock_add_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMQubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhjChMQubh__init_memblock}(hjChhhNhNubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhjChMQubj)}(hmemblock_add_rangeh]j)}(hmemblock_add_rangeh]hmemblock_add_range}(hj#DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubah}(h]h ](jjeh"]h$]h&]jjuh1jhjChhhjChMQubj")}(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](jr)}(hjh]hstruct}(hj?DhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj;Dubj)}(h h]h }(hjLDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;Dubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hj]DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZDubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj_DmodnameN classnameNjJjM)}jP]jS)}jFj%Dsbc.memblock_add_rangeasbuh1hhj;Dubj)}(h h]h }(hj}DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;Dubj)}(hj$h]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;Dubj)}(htypeh]htype}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;Dubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj7Dubj()}(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&] refdomainhreftypejF reftargetjDmodnameN classnameNjJjM)}jP]jyDc.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'hj7Dubj()}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjDmodnameN classnameNjJjM)}jP]jyDc.memblock_add_rangeasbuh1hhjDubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(hsizeh]hsize}(hj(EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj7Dubj()}(hint nidh](j)}(hinth]hint}(hjAEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=Eubj)}(h h]h }(hjOEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=Eubj)}(hnidh]hnid}(hj]EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=Eubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj7Dubj()}(henum memblock_flags flagsh](jr)}(hjuh]henum}(hjvEhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjrEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrEubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjEmodnameN classnameNjJjM)}jP]jyDc.memblock_add_rangeasbuh1hhjrEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrEubj)}(hflagsh]hflags}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrEubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj7Dubeh}(h]h ]h"]h$]h&]jjuh1j!hjChhhjChMQubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjChhhjChMQubah}(h]jCah ](jjeh"]h$]h&]jj)jhuh1jehjChMQhjChhubj)}(hhh]h)}(hadd new memblock regionh]hadd new memblock region}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMQhjEhhubah}(h]h ]h"]h$]h&]uh1jhjChhhjChMQubeh}(h]h ](hfunctioneh"]h$]h&]jhjjFjjFjjjuh1j`hhhj0hNhNubj)}(hXv**Parameters** ``struct memblock_type *type`` memblock type to add new region into ``phys_addr_t base`` base address of the new region ``phys_addr_t size`` size of the new region ``int nid`` nid of the new region ``enum memblock_flags flags`` flags of the new region **Description** Add new memblock region [**base**, **base** + **size**) into **type**. The new region is allowed to overlap with existing ones - overlaps don't affect already existing regions. **type** is guaranteed to be minimal (all neighbouring compatible regions are merged) after the addition. **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hj Fh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Fubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMUhjFubj)}(hhh](j)}(hD``struct memblock_type *type`` memblock type to add new region into h](j)}(h``struct memblock_type *type``h]h)}(hj+Fh]hstruct memblock_type *type}(hj-FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)Fubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMRhj%Fubj3)}(hhh]h)}(h$memblock type to add new region intoh]h$memblock type to add new region into}(hjDFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@FhMRhjAFubah}(h]h ]h"]h$]h&]uh1j2hj%Fubeh}(h]h ]h"]h$]h&]uh1jhj@FhMRhj"Fubj)}(h4``phys_addr_t base`` base address of the new region h](j)}(h``phys_addr_t base``h]h)}(hjdFh]hphys_addr_t base}(hjfFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbFubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMShj^Fubj3)}(hhh]h)}(hbase address of the new regionh]hbase address of the new region}(hj}FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyFhMShjzFubah}(h]h ]h"]h$]h&]uh1j2hj^Fubeh}(h]h ]h"]h$]h&]uh1jhjyFhMShj"Fubj)}(h,``phys_addr_t size`` size of the new region h](j)}(h``phys_addr_t size``h]h)}(hjFh]hphys_addr_t size}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMThjFubj3)}(hhh]h)}(hsize of the new regionh]hsize of the new region}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMThjFubah}(h]h ]h"]h$]h&]uh1j2hjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMThj"Fubj)}(h"``int nid`` nid of the new region h](j)}(h ``int nid``h]h)}(hjFh]hint nid}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMUhjFubj3)}(hhh]h)}(hnid of the new regionh]hnid of the new region}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMUhjFubah}(h]h ]h"]h$]h&]uh1j2hjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMUhj"Fubj)}(h6``enum memblock_flags flags`` flags of the new region h](j)}(h``enum memblock_flags flags``h]h)}(hjGh]henum memblock_flags flags}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj Gubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMVhj Gubj3)}(hhh]h)}(hflags of the new regionh]hflags of the new region}(hj(GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$GhMVhj%Gubah}(h]h ]h"]h$]h&]uh1j2hj Gubeh}(h]h ]h"]h$]h&]uh1jhj$GhMVhj"Fubeh}(h]h ]h"]h$]h&]uh1j hjFubh)}(h**Description**h]j)}(hjJGh]h Description}(hjLGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHGubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMXhjFubh)}(hXAdd new memblock region [**base**, **base** + **size**) into **type**. The new region is allowed to overlap with existing ones - overlaps don't affect already existing regions. **type** is guaranteed to be minimal (all neighbouring compatible regions are merged) after the addition.h](hAdd new memblock region [}(hj`GhhhNhNubj)}(h**base**h]hbase}(hjhGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubh, }(hj`GhhhNhNubj)}(h**base**h]hbase}(hjzGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubh + }(hj`GhhhNhNubj)}(h**size**h]hsize}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubh) into }(hj`GhhhNhNubj)}(h**type**h]htype}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubhp. The new region is allowed to overlap with existing ones - overlaps don’t affect already existing regions. }(hj`GhhhNhNubj)}(h**type**h]htype}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubha is guaranteed to be minimal (all neighbouring compatible regions are merged) after the addition.}(hj`GhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMWhjFubh)}(h **Return**h]j)}(hjGh]hReturn}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM\hjFubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM]hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_add_node (C function)c.memblock_add_nodehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hnint __init_memblock memblock_add_node (phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags)h]jl)}(hmint __init_memblock memblock_add_node(phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags)h](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj HhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj HhhhjHhMubh__init_memblock}(hj HhhhNhNubj)}(h h]h }(hj1HhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj HhhhjHhMubj)}(hmemblock_add_nodeh]j)}(hmemblock_add_nodeh]hmemblock_add_node}(hjCHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?Hubah}(h]h ](jjeh"]h$]h&]jjuh1jhj HhhhjHhMubj")}(hH(phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags)h](j()}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjbHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_Hubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjdHmodnameN classnameNjJjM)}jP]jS)}jFjEHsbc.memblock_add_nodeasbuh1hhj[Hubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[Hubj)}(hbaseh]hbase}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[Hubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjWHubj()}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjHmodnameN classnameNjJjM)}jP]j~Hc.memblock_add_nodeasbuh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(hsizeh]hsize}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjWHubj()}(hint nidh](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(hnidh]hnid}(hj IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjWHubj()}(henum memblock_flags flagsh](jr)}(hjuh]henum}(hj&IhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj"Iubj)}(h h]h }(hj3IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"Iubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hjDIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAIubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjFImodnameN classnameNjJjM)}jP]j~Hc.memblock_add_nodeasbuh1hhj"Iubj)}(h h]h }(hjbIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"Iubj)}(hflagsh]hflags}(hjpIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"Iubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjWHubeh}(h]h ]h"]h$]h&]jjuh1j!hj HhhhjHhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjHhhhjHhMubah}(h]jHah ](jjeh"]h$]h&]jj)jhuh1jehjHhMhjHhhubj)}(hhh]h)}(h*add new memblock region within a NUMA nodeh]h*add new memblock region within a NUMA node}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jhjHhhhjHhMubeh}(h]h ](hfunctioneh"]h$]h&]jhjjIjjIjjjuh1j`hhhj0hNhNubj)}(hX**Parameters** ``phys_addr_t base`` base address of the new region ``phys_addr_t size`` size of the new region ``int nid`` nid of the new region ``enum memblock_flags flags`` flags 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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjIubj)}(hhh](j)}(h4``phys_addr_t base`` base address of the new region h](j)}(h``phys_addr_t base``h]h)}(hjIh]hphys_addr_t base}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjIubj3)}(hhh]h)}(hbase address of the new regionh]hbase address of the new region}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjIubah}(h]h ]h"]h$]h&]uh1j2hjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjIubj)}(h,``phys_addr_t size`` size of the new region h](j)}(h``phys_addr_t size``h]h)}(hjJh]hphys_addr_t size}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjJubj3)}(hhh]h)}(hsize of the new regionh]hsize of the new region}(hj-JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)JhMhj*Jubah}(h]h ]h"]h$]h&]uh1j2hjJubeh}(h]h ]h"]h$]h&]uh1jhj)JhMhjIubj)}(h"``int nid`` nid of the new region h](j)}(h ``int nid``h]h)}(hjMJh]hint nid}(hjOJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKJubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjGJubj3)}(hhh]h)}(hnid of the new regionh]hnid of the new region}(hjfJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbJhMhjcJubah}(h]h ]h"]h$]h&]uh1j2hjGJubeh}(h]h ]h"]h$]h&]uh1jhjbJhMhjIubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjJubj3)}(hhh]h)}(hflags of the new regionh]hflags of the new region}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1j2hjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjIubeh}(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}(hjJhhhNhNubah}(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)}(hjKh]hReturn}(hj KhhhNhNubah}(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.chMhjIubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj4KhhhNhNubah}(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&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_add (C function)c.memblock_addhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hEint __init_memblock memblock_add (phys_addr_t base, phys_addr_t size)h]jl)}(hDint __init_memblock memblock_add(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hjcKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_KhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjrKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_KhhhjqKhMubh__init_memblock}(hj_KhhhNhNubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_KhhhjqKhMubj)}(h memblock_addh]j)}(h memblock_addh]h memblock_add}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubah}(h]h ](jjeh"]h$]h&]jjuh1jhj_KhhhjqKhMubj")}(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&] refdomainhreftypejF reftargetjKmodnameN classnameNjJjM)}jP]jS)}jFjKsbc.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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjLmodnameN classnameNjJjM)}jP]jKc.memblock_addasbuh1hhjKubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj)}(hsizeh]hsize}(hj+LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjKubeh}(h]h ]h"]h$]h&]jjuh1j!hj_KhhhjqKhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj[KhhhjqKhMubah}(h]jVKah ](jjeh"]h$]h&]jj)jhuh1jehjqKhMhjXKhhubj)}(hhh]h)}(hadd new memblock regionh]hadd new memblock region}(hjULhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjRLhhubah}(h]h ]h"]h$]h&]uh1jhjXKhhhjqKhMubeh}(h]h ](hfunctioneh"]h$]h&]jhjjmLjjmLjjjuh1j`hhhj0hNhNubj)}(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)}(hjwLh]h Parameters}(hjyLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuLubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjqLubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjLubj3)}(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&]uh1j2hjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjLubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjLubj3)}(hhh]h)}(hsize of the new regionh]hsize of the new region}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjLubah}(h]h ]h"]h$]h&]uh1j2hjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjLubeh}(h]h ]h"]h$]h&]uh1j hjqLubh)}(h**Description**h]j)}(hj Mh]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.chMhjqLubh)}(hAdd new memblock region [**base**, **base** + **size**) to the "memory" type. See memblock_add_range() description for mode detailsh](hAdd new memblock region [}(hj MhhhNhNubj)}(h**base**h]hbase}(hj(MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Mubh, }(hj MhhhNhNubj)}(h**base**h]hbase}(hj:MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Mubh + }(hj MhhhNhNubj)}(h**size**h]hsize}(hjLMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj MubhQ) to the “memory” type. See memblock_add_range() description for mode details}(hj MhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjqLubh)}(h **Return**h]j)}(hjgMh]hReturn}(hjiMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeMubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjqLubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj}MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjqLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\,memblock_validate_numa_coverage (C function)!c.memblock_validate_numa_coveragehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hTbool __init_memblock memblock_validate_numa_coverage (unsigned long threshold_bytes)h]jl)}(hSbool __init_memblock memblock_validate_numa_coverage(unsigned long threshold_bytes)h](j)}(hboolh]hbool}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhjMhMubh__init_memblock}(hjMhhhNhNubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhjMhMubj)}(hmemblock_validate_numa_coverageh]j)}(hmemblock_validate_numa_coverageh]hmemblock_validate_numa_coverage}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubah}(h]h ](jjeh"]h$]h&]jjuh1jhjMhhhjMhMubj")}(h(unsigned long threshold_bytes)h]j()}(hunsigned long threshold_bytesh](j)}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hj NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(hlongh]hlong}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hj%NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(hthreshold_bytesh]hthreshold_bytes}(hj3NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjMubah}(h]h ]h"]h$]h&]jjuh1j!hjMhhhjMhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjMhhhjMhMubah}(h]jMah ](jjeh"]h$]h&]jj)jhuh1jehjMhMhjMhhubj)}(hhh]h)}(hKcheck if amount of memory with no node ID assigned is less than a thresholdh]hKcheck if amount of memory with no node ID assigned is less than a threshold}(hj]NhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjZNhhubah}(h]h ]h"]h$]h&]uh1jhjMhhhjMhMubeh}(h]h ](hfunctioneh"]h$]h&]jhjjuNjjuNjjjuh1j`hhhj0hNhNubj)}(hX:**Parameters** ``unsigned long threshold_bytes`` maximal memory size that can have unassigned node ID (in bytes). **Description** A buggy firmware may report memory that does not belong to any node. Check if amount of such memory is below **threshold_bytes**. **Return** true on success, false on failure.h](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Nubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjyNubj)}(hhh]j)}(hc``unsigned long threshold_bytes`` maximal memory size that can have unassigned node ID (in bytes). h](j)}(h!``unsigned long threshold_bytes``h]h)}(hjNh]hunsigned long threshold_bytes}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjNubj3)}(hhh]h)}(h@maximal memory size that can have unassigned node ID (in bytes).h]h@maximal memory size that can have unassigned node ID (in bytes).}(hjNhhhNhNubah}(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&]uh1j2hjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubah}(h]h ]h"]h$]h&]uh1j hjyNubh)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjyNubh)}(hA buggy firmware may report memory that does not belong to any node. Check if amount of such memory is below **threshold_bytes**.h](hmA buggy firmware may report memory that does not belong to any node. Check if amount of such memory is below }(hjNhhhNhNubj)}(h**threshold_bytes**h]hthreshold_bytes}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjyNubh)}(h **Return**h]j)}(hjOh]hReturn}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjyNubh)}(h"true on success, false on failure.h]h"true on success, false on failure.}(hj)OhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjyNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\#memblock_isolate_range (C function)c.memblock_isolate_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hint __init_memblock memblock_isolate_range (struct memblock_type *type, phys_addr_t base, phys_addr_t size, int *start_rgn, int *end_rgn)h]jl)}(hint __init_memblock memblock_isolate_range(struct memblock_type *type, phys_addr_t base, phys_addr_t size, int *start_rgn, int *end_rgn)h](j)}(hinth]hint}(hjXOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTOhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjgOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTOhhhjfOhMubh__init_memblock}(hjTOhhhNhNubj)}(h h]h }(hjyOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTOhhhjfOhMubj)}(hmemblock_isolate_rangeh]j)}(hmemblock_isolate_rangeh]hmemblock_isolate_range}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubah}(h]h ](jjeh"]h$]h&]jjuh1jhjTOhhhjfOhMubj")}(h^(struct memblock_type *type, phys_addr_t base, phys_addr_t size, int *start_rgn, int *end_rgn)h](j()}(hstruct memblock_type *typeh](jr)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjOmodnameN classnameNjJjM)}jP]jS)}jFjOsbc.memblock_isolate_rangeasbuh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(hj$h]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(htypeh]htype}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjOubj()}(hphys_addr_t baseh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjPmodnameN classnameNjJjM)}jP]jOc.memblock_isolate_rangeasbuh1hhjPubj)}(h h]h }(hj:PhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(hbaseh]hbase}(hjHPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjOubj()}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjdPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaPubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjfPmodnameN classnameNjJjM)}jP]jOc.memblock_isolate_rangeasbuh1hhj]Pubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]Pubj)}(hsizeh]hsize}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]Pubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjOubj()}(hint *start_rgnh](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(hj$h]h*}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(h start_rgnh]h start_rgn}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjOubj()}(h int *end_rgnh](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(hj$h]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(hend_rgnh]hend_rgn}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjOubeh}(h]h ]h"]h$]h&]jjuh1j!hjTOhhhjfOhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjPOhhhjfOhMubah}(h]jKOah ](jjeh"]h$]h&]jj)jhuh1jehjfOhMhjMOhhubj)}(hhh]h)}(h+isolate given range into disjoint memblocksh]h+isolate given range into disjoint memblocks}(hj>QhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj;Qhhubah}(h]h ]h"]h$]h&]uh1jhjMOhhhjfOhMubeh}(h]h ](hfunctioneh"]h$]h&]jhjjVQjjVQjjjuh1j`hhhj0hNhNubj)}(hX**Parameters** ``struct memblock_type *type`` memblock type to isolate range for ``phys_addr_t base`` base of range to isolate ``phys_addr_t size`` size of range to isolate ``int *start_rgn`` out parameter for the start of isolated region ``int *end_rgn`` out parameter for the end of isolated region **Description** Walk **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**. **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hj`Qh]h Parameters}(hjbQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Qubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjZQubj)}(hhh](j)}(hB``struct memblock_type *type`` memblock type to isolate range for h](j)}(h``struct memblock_type *type``h]h)}(hjQh]hstruct memblock_type *type}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}Qubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjyQubj3)}(hhh]h)}(h"memblock type to isolate range forh]h"memblock type to isolate range for}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1j2hjyQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjvQubj)}(h.``phys_addr_t base`` base of range to isolate h](j)}(h``phys_addr_t base``h]h)}(hjQh]hphys_addr_t base}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjQubj3)}(hhh]h)}(hbase of range to isolateh]hbase of range to isolate}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1j2hjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjvQubj)}(h.``phys_addr_t size`` size of range to isolate h](j)}(h``phys_addr_t size``h]h)}(hjQh]hphys_addr_t size}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjQubj3)}(hhh]h)}(hsize of range to isolateh]hsize of range to isolate}(hj RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjRubah}(h]h ]h"]h$]h&]uh1j2hjQubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjvQubj)}(hB``int *start_rgn`` out parameter for the start of isolated region h](j)}(h``int *start_rgn``h]h)}(hj*Rh]hint *start_rgn}(hj,RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(Rubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj$Rubj3)}(hhh]h)}(h.out parameter for the start of isolated regionh]h.out parameter for the start of isolated region}(hjCRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?RhMhj@Rubah}(h]h ]h"]h$]h&]uh1j2hj$Rubeh}(h]h ]h"]h$]h&]uh1jhj?RhMhjvQubj)}(h>``int *end_rgn`` out parameter for the end of isolated region h](j)}(h``int *end_rgn``h]h)}(hjcRh]h int *end_rgn}(hjeRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjaRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj]Rubj3)}(hhh]h)}(h,out parameter for the end of isolated regionh]h,out parameter for the end of isolated region}(hj|RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxRhMhjyRubah}(h]h ]h"]h$]h&]uh1j2hj]Rubeh}(h]h ]h"]h$]h&]uh1jhjxRhMhjvQubeh}(h]h ]h"]h$]h&]uh1j hjZQubh)}(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!hjZQubh)}(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}(hjRhhhNhNubah}(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}(hjShhhNhNubah}(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 hjZQubh)}(h **Return**h]j)}(hj1Sh]hReturn}(hj3ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Subah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.c+hM&hjZQubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjGShhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM'hjZQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_free (C function)c.memblock_freehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(h;void __init_memblock memblock_free (void *ptr, size_t size)h]jl)}(h:void __init_memblock memblock_free(void *ptr, size_t size)h](j)}(hvoidh]hvoid}(hjvShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrShhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrShhhjShMubh__init_memblock}(hjrShhhNhNubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrShhhjShMubj)}(h memblock_freeh]j)}(h memblock_freeh]h memblock_free}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubah}(h]h ](jjeh"]h$]h&]jjuh1jhjrShhhjShMubj")}(h(void *ptr, size_t size)h](j()}(h void *ptrh](j)}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(hj$h]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(hptrh]hptr}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjSubj()}(h size_t sizeh](h)}(hhh]j)}(hsize_th]hsize_t}(hj ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj TmodnameN classnameNjJjM)}jP]jS)}jFjSsbc.memblock_freeasbuh1hhjTubj)}(h h]h }(hj*ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(hsizeh]hsize}(hj8ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjSubeh}(h]h ]h"]h$]h&]jjuh1j!hjrShhhjShMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjnShhhjShMubah}(h]jiSah ](jjeh"]h$]h&]jj)jhuh1jehjShMhjkShhubj)}(hhh]h)}(hfree boot memory allocationh]hfree boot memory allocation}(hjbThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj_Thhubah}(h]h ]h"]h$]h&]uh1jhjkShhhjShMubeh}(h]h ](hfunctioneh"]h$]h&]jhjjzTjjzTjjjuh1j`hhhj0hNhNubj)}(hX#**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. The freeing memory will not be 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.chMhj~Tubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjTubj3)}(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&]uh1j2hjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjTubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjTubj3)}(hhh]h)}(h&size of the boot memory block in bytesh]h&size of the boot memory block in bytes}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1j2hjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjTubeh}(h]h ]h"]h$]h&]uh1j hj~Tubh)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj~Tubh)}(hFree boot memory block previously allocated by memblock_alloc_xx() API. The freeing memory will not be released to the buddy allocator.h]hFree boot memory block previously allocated by memblock_alloc_xx() API. The freeing memory will not be released to the buddy allocator.}(hj-UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj~Tubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_phys_free (C function)c.memblock_phys_freehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hKint __init_memblock memblock_phys_free (phys_addr_t base, phys_addr_t size)h]jl)}(hJint __init_memblock memblock_phys_free(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj\UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXUhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjkUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXUhhhjjUhMubh__init_memblock}(hjXUhhhNhNubj)}(h h]h }(hj}UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXUhhhjjUhMubj)}(hmemblock_phys_freeh]j)}(hmemblock_phys_freeh]hmemblock_phys_free}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubah}(h]h ](jjeh"]h$]h&]jjuh1jhjXUhhhjjUhMubj")}(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&] refdomainhreftypejF reftargetjUmodnameN classnameNjJjM)}jP]jS)}jFjUsbc.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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjUmodnameN classnameNjJjM)}jP]jUc.memblock_phys_freeasbuh1hhjUubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(hsizeh]hsize}(hj$VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjUubeh}(h]h ]h"]h$]h&]jjuh1j!hjXUhhhjjUhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjTUhhhjjUhMubah}(h]jOUah ](jjeh"]h$]h&]jj)jhuh1jehjjUhMhjQUhhubj)}(hhh]h)}(hfree boot memory blockh]hfree boot memory block}(hjNVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjKVhhubah}(h]h ]h"]h$]h&]uh1jhjQUhhhjjUhMubeh}(h]h ](hfunctioneh"]h$]h&]jhjjfVjjfVjjjuh1j`hhhj0hNhNubj)}(hX4**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. The freeing memory will not be released to the buddy allocator.h](h)}(h**Parameters**h]j)}(hjpVh]h Parameters}(hjrVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnVubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjjVubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjVubj3)}(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&]uh1j2hjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjVubj3)}(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&]uh1j2hjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubeh}(h]h ]h"]h$]h&]uh1j hjjVubh)}(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.chMhjjVubh)}(hFree boot memory block previously allocated by memblock_phys_alloc_xx() API. The freeing memory will not be released to the buddy allocator.h]hFree boot memory block previously allocated by memblock_phys_alloc_xx() API. The freeing memory will not be released to the buddy allocator.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\!memblock_setclr_flag (C function)c.memblock_setclr_flaghNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(h|int __init_memblock memblock_setclr_flag (struct memblock_type *type, phys_addr_t base, phys_addr_t size, int set, int flag)h]jl)}(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}(hjHWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDWhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjWWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDWhhhjVWhMubh__init_memblock}(hjDWhhhNhNubj)}(h h]h }(hjiWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDWhhhjVWhMubj)}(hmemblock_setclr_flagh]j)}(hmemblock_setclr_flagh]hmemblock_setclr_flag}(hj{WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwWubah}(h]h ](jjeh"]h$]h&]jjuh1jhjDWhhhjVWhMubj")}(hS(struct memblock_type *type, phys_addr_t base, phys_addr_t size, int set, int flag)h](j()}(hstruct memblock_type *typeh](jr)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjWubj)}(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&] refdomainhreftypejF reftargetjWmodnameN classnameNjJjM)}jP]jS)}jFj}Wsbc.memblock_setclr_flagasbuh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(hj$h]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(htypeh]htype}(hjWhhhNhNubah}(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&]uh1jhj Xubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjXmodnameN classnameNjJjM)}jP]jWc.memblock_setclr_flagasbuh1hhjXubj)}(h h]h }(hj*XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(hbaseh]hbase}(hj8XhhhNhNubah}(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}(hjTXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQXubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjVXmodnameN classnameNjJjM)}jP]jWc.memblock_setclr_flagasbuh1hhjMXubj)}(h h]h }(hjrXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMXubj)}(hsizeh]hsize}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMXubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjWubj()}(hint seth](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jah"]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 ]jah"]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&]jjuh1j!hjDWhhhjVWhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj@WhhhjVWhMubah}(h]j;Wah ](jjeh"]h$]h&]jj)jhuh1jehjVWhMhj=Whhubj)}(hhh]h)}(h%set or clear flag for a memory regionh]h%set or clear flag for a memory region}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jhj=WhhhjVWhMubeh}(h]h ](hfunctioneh"]h$]h&]jhjj,Yjj,Yjjjuh1j`hhhj0hNhNubj)}(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)}(hj6Yh]h Parameters}(hj8YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Yubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj0Yubj)}(hhh](j)}(hC``struct memblock_type *type`` memblock type to set/clear flag for h](j)}(h``struct memblock_type *type``h]h)}(hjUYh]hstruct memblock_type *type}(hjWYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjSYubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjOYubj3)}(hhh]h)}(h#memblock type to set/clear flag forh]h#memblock type to set/clear flag for}(hjnYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjYhMhjkYubah}(h]h ]h"]h$]h&]uh1j2hjOYubeh}(h]h ]h"]h$]h&]uh1jhjjYhMhjLYubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjYubj3)}(hhh]h)}(hbase address of the regionh]hbase address of the region}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjYubah}(h]h ]h"]h$]h&]uh1j2hjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjLYubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjYubj3)}(hhh]h)}(hsize of the regionh]hsize of the region}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjYubah}(h]h ]h"]h$]h&]uh1j2hjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjLYubj)}(h"``int set`` set or clear the flag h](j)}(h ``int set``h]h)}(hjZh]hint set}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjYubj3)}(hhh]h)}(hset or clear the flagh]hset or clear the flag}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhjZubah}(h]h ]h"]h$]h&]uh1j2hjYubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjLYubj)}(h ``int flag`` the flag to update h](j)}(h ``int flag``h]h)}(hj9Zh]hint flag}(hj;ZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7Zubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj3Zubj3)}(hhh]h)}(hthe flag to updateh]hthe flag to update}(hjRZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNZhMhjOZubah}(h]h ]h"]h$]h&]uh1j2hj3Zubeh}(h]h ]h"]h$]h&]uh1jhjNZhMhjLYubeh}(h]h ]h"]h$]h&]uh1j hj0Yubh)}(h**Description**h]j)}(hjtZh]h Description}(hjvZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrZubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj0Yubh)}(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.chMhj0Yubh)}(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.chMhj0Yubh)}(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.chMhj0Yubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\"memblock_mark_hotplug (C function)c.memblock_mark_hotplughNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hNint __init_memblock memblock_mark_hotplug (phys_addr_t base, phys_addr_t size)h]jl)}(hMint __init_memblock memblock_mark_hotplug(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]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 }(hj7[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhj$[hMubj)}(hmemblock_mark_hotplugh]j)}(hmemblock_mark_hotplugh]hmemblock_mark_hotplug}(hjI[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE[ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj[hhhj$[hMubj")}(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&] refdomainhreftypejF reftargetjj[modnameN classnameNjJjM)}jP]jS)}jFjK[sbc.memblock_mark_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&] refdomainhreftypejF reftargetj[modnameN classnameNjJjM)}jP]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'hj][ubeh}(h]h ]h"]h$]h&]jjuh1j!hj[hhhj$[hMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj[hhhj$[hMubah}(h]j [ah ](jjeh"]h$]h&]jj)jhuh1jehj$[hMhj [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.chMhj\hhubah}(h]h ]h"]h$]h&]uh1jhj [hhhj$[hMubeh}(h]h ](hfunctioneh"]h$]h&]jhjj \jj \jjjuh1j`hhhj0hNhNubj)}(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.chMhj$\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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjC\ubj3)}(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^\hMhj_\ubah}(h]h ]h"]h$]h&]uh1j2hjC\ubeh}(h]h ]h"]h$]h&]uh1jhj^\hMhj@\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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj|\ubj3)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1j2hj|\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj@\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.chMhj$\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.chMhj$\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\#memblock_clear_hotplug (C function)c.memblock_clear_hotplughNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hOint __init_memblock memblock_clear_hotplug (phys_addr_t base, phys_addr_t size)h]jl)}(hNint __init_memblock memblock_clear_hotplug(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]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_clear_hotplugh]j)}(hmemblock_clear_hotplugh]hmemblock_clear_hotplug}(hj5]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1]ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj\hhhj]hMubj")}(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&] refdomainhreftypejF reftargetjV]modnameN classnameNjJjM)}jP]jS)}jFj7]sbc.memblock_clear_hotplugasbuh1hhjM]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&] refdomainhreftypejF reftargetj]modnameN classnameNjJjM)}jP]jp]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'hjI]ubeh}(h]h ]h"]h$]h&]jjuh1j!hj\hhhj]hMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj\hhhj]hMubah}(h]j\ah ](jjeh"]h$]h&]jj)jhuh1jehj]hMhj\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.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jhj\hhhj]hMubeh}(h]h ](hfunctioneh"]h$]h&]jhjj ^jj ^jjjuh1j`hhhj0hNhNubj)}(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.chM hj^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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hj/^ubj3)}(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^hM hjK^ubah}(h]h ]h"]h$]h&]uh1j2hj/^ubeh}(h]h ]h"]h$]h&]uh1jhjJ^hM hj,^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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjh^ubj3)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hM hj^ubah}(h]h ]h"]h$]h&]uh1j2hjh^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM hj,^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.chM hj^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.chM hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\!memblock_mark_mirror (C function)c.memblock_mark_mirrorhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hMint __init_memblock memblock_mark_mirror (phys_addr_t base, phys_addr_t size)h]jl)}(hLint __init_memblock memblock_mark_mirror(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]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_mark_mirrorh]j)}(hmemblock_mark_mirrorh]hmemblock_mark_mirror}(hj!_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj^hhhj^hMubj")}(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&]uh1jhj=_ubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjB_modnameN classnameNjJjM)}jP]jS)}jFj#_sbc.memblock_mark_mirrorasbuh1hhj9_ubj)}(h h]h }(hj`_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9_ubj)}(hbaseh]hbase}(hjn_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9_ubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj5_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&] refdomainhreftypejF reftargetj_modnameN classnameNjJjM)}jP]j\_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'hj5_ubeh}(h]h ]h"]h$]h&]jjuh1j!hj^hhhj^hMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj^hhhj^hMubah}(h]j^ah ](jjeh"]h$]h&]jj)jhuh1jehj^hMhj^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.chMhj_hhubah}(h]h ]h"]h$]h&]uh1jhj^hhhj^hMubeh}(h]h ](hfunctioneh"]h$]h&]jhjj_jj_jjjuh1j`hhhj0hNhNubj)}(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.chMhj_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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj`ubj3)}(hhh]h)}(h the base phys addr of the regionh]h the base phys addr of the region}(hj:`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6`hMhj7`ubah}(h]h ]h"]h$]h&]uh1j2hj`ubeh}(h]h ]h"]h$]h&]uh1jhj6`hMhj`ubj)}(h,``phys_addr_t size`` the size of the region h](j)}(h``phys_addr_t size``h]h)}(hjZ`h]hphys_addr_t size}(hj\`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjX`ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjT`ubj3)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hjs`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjo`hMhjp`ubah}(h]h ]h"]h$]h&]uh1j2hjT`ubeh}(h]h ]h"]h$]h&]uh1jhjo`hMhj`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.chMhj_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.chMhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\ memblock_mark_nomap (C function)c.memblock_mark_nomaphNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hLint __init_memblock memblock_mark_nomap (phys_addr_t base, phys_addr_t size)h]jl)}(hKint __init_memblock memblock_mark_nomap(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM%ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhj`hM%ubh__init_memblock}(hj`hhhNhNubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhj`hM%ubj)}(hmemblock_mark_nomaph]j)}(hmemblock_mark_nomaph]hmemblock_mark_nomap}(hj ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj aubah}(h]h ](jjeh"]h$]h&]jjuh1jhj`hhhj`hM%ubj")}(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&] refdomainhreftypejF reftargetj.amodnameN classnameNjJjM)}jP]jS)}jFjasbc.memblock_mark_nomapasbuh1hhj%aubj)}(h h]h }(hjLahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%aubj)}(hbaseh]hbase}(hjZahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%aubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj!aubj()}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjvahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsaubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjxamodnameN classnameNjJjM)}jP]jHac.memblock_mark_nomapasbuh1hhjoaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoaubj)}(hsizeh]hsize}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoaubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hj!aubeh}(h]h ]h"]h$]h&]jjuh1j!hj`hhhj`hM%ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj`hhhj`hM%ubah}(h]j`ah ](jjeh"]h$]h&]jj)jhuh1jehj`hM%hj`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.chM%hjahhubah}(h]h ]h"]h$]h&]uh1jhj`hhhj`hM%ubeh}(h]h ](hfunctioneh"]h$]h&]jhjjajjajjjuh1j`hhhj0hNhNubj)}(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)}(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)}(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}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj bubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM&hjbubj3)}(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&]uh1hhj"bhM&hj#bubah}(h]h ]h"]h$]h&]uh1j2hjbubeh}(h]h ]h"]h$]h&]uh1jhj"bhM&hjbubj)}(h,``phys_addr_t size`` the size of the region h](j)}(h``phys_addr_t size``h]h)}(hjFbh]hphys_addr_t size}(hjHbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDbubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM'hj@bubj3)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hj_bhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[bhM'hj\bubah}(h]h ]h"]h$]h&]uh1j2hj@bubeh}(h]h ]h"]h$]h&]uh1jhj[bhM'hjbubeh}(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.chM)hjaubh)}(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.chM(hjaubh)}(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)}(hjbh]hReturn}(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.chM1hjaubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj chhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM1hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\!memblock_clear_nomap (C function)c.memblock_clear_nomaphNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hMint __init_memblock memblock_clear_nomap (phys_addr_t base, phys_addr_t size)h]jl)}(hLint __init_memblock memblock_clear_nomap(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj8chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4chhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM9ubj)}(h h]h }(hjGchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4chhhjFchM9ubh__init_memblock}(hj4chhhNhNubj)}(h h]h }(hjYchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4chhhjFchM9ubj)}(hmemblock_clear_nomaph]j)}(hmemblock_clear_nomaph]hmemblock_clear_nomap}(hjkchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgcubah}(h]h ](jjeh"]h$]h&]jjuh1jhj4chhhjFchM9ubj")}(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&] refdomainhreftypejF reftargetjcmodnameN classnameNjJjM)}jP]jS)}jFjmcsbc.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&] refdomainhreftypejF reftargetjcmodnameN classnameNjJjM)}jP]jcc.memblock_clear_nomapasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(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&]jjuh1j!hj4chhhjFchM9ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj0chhhjFchM9ubah}(h]j+cah ](jjeh"]h$]h&]jj)jhuh1jehjFchM9hj-chhubj)}(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.chM9hj'dhhubah}(h]h ]h"]h$]h&]uh1jhj-chhhjFchM9ubeh}(h]h ](hfunctioneh"]h$]h&]jhjjBdjjBdjjjuh1j`hhhj0hNhNubj)}(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)}(hjLdh]h Parameters}(hjNdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM=hjFdubj)}(hhh](j)}(h6``phys_addr_t base`` the base phys addr of the region h](j)}(h``phys_addr_t base``h]h)}(hjkdh]hphys_addr_t base}(hjmdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjidubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM:hjedubj3)}(hhh]h)}(h the base phys addr of the regionh]h the base phys addr of the region}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM:hjdubah}(h]h ]h"]h$]h&]uh1j2hjedubeh}(h]h ]h"]h$]h&]uh1jhjdhM:hjbdubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM;hjdubj3)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM;hjdubah}(h]h ]h"]h$]h&]uh1j2hjdubeh}(h]h ]h"]h$]h&]uh1jhjdhM;hjbdubeh}(h]h ]h"]h$]h&]uh1j hjFdubh)}(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.chM=hjFdubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM=hjFdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\*memblock_reserved_mark_noinit (C function)c.memblock_reserved_mark_noinithNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hVint __init_memblock memblock_reserved_mark_noinit (phys_addr_t base, phys_addr_t size)h]jl)}(hUint __init_memblock memblock_reserved_mark_noinit(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hj$ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ehhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMEubj)}(h h]h }(hj3ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ehhhj2ehMEubh__init_memblock}(hj ehhhNhNubj)}(h h]h }(hjEehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ehhhj2ehMEubj)}(hmemblock_reserved_mark_noinith]j)}(hmemblock_reserved_mark_noinith]hmemblock_reserved_mark_noinit}(hjWehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSeubah}(h]h ](jjeh"]h$]h&]jjuh1jhj ehhhj2ehMEubj")}(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}(hjvehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjseubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjxemodnameN classnameNjJjM)}jP]jS)}jFjYesbc.memblock_reserved_mark_noinitasbuh1hhjoeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoeubj)}(hbaseh]hbase}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoeubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjkeubj()}(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&] refdomainhreftypejF reftargetjemodnameN classnameNjJjM)}jP]jec.memblock_reserved_mark_noinitasbuh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(hsizeh]hsize}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjkeubeh}(h]h ]h"]h$]h&]jjuh1j!hj ehhhj2ehMEubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjehhhj2ehMEubah}(h]jeah ](jjeh"]h$]h&]jj)jhuh1jehj2ehMEhjehhubj)}(hhh]h)}(hihhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6iubhJ will be considered for allocations during early boot with kexec handover.}(hj6ihhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMahjhubh)}(h **Return**h]j)}(hjYih]hReturn}(hj[ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWiubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMdhjhubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjoihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMehjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\'memblock_clear_kho_scratch (C function)c.memblock_clear_kho_scratchhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hCint memblock_clear_kho_scratch (phys_addr_t base, phys_addr_t size)h]jl)}(hBint memblock_clear_kho_scratch(phys_addr_t base, phys_addr_t size)h](j)}(hinth]hint}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMnubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhjihMnubj)}(hmemblock_clear_kho_scratchh]j)}(hmemblock_clear_kho_scratchh]hmemblock_clear_kho_scratch}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubah}(h]h ](jjeh"]h$]h&]jjuh1jhjihhhjihMnubj")}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjimodnameN classnameNjJjM)}jP]jS)}jFjisbc.memblock_clear_kho_scratchasbuh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(hbaseh]hbase}(hj jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjiubj()}(hphys_addr_t sizeh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hj(jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%jubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj*jmodnameN classnameNjJjM)}jP]jic.memblock_clear_kho_scratchasbuh1hhj!jubj)}(h h]h }(hjFjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!jubj)}(hsizeh]hsize}(hjTjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!jubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjiubeh}(h]h ]h"]h$]h&]jjuh1j!hjihhhjihMnubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjihhhjihMnubah}(h]jiah ](jjeh"]h$]h&]jj)jhuh1jehjihMnhjihhubj)}(hhh]h)}(h7Clear MEMBLOCK_KHO_SCRATCH flag for a specified region.h]h7Clear MEMBLOCK_KHO_SCRATCH flag for a specified region.}(hj~jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMnhj{jhhubah}(h]h ]h"]h$]h&]uh1jhjihhhjihMnubeh}(h]h ](hfunctioneh"]h$]h&]jhjjjjjjjjjuh1j`hhhj0hNhNubj)}(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)}(hjjh]h Parameters}(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.chMrhjjubj)}(hhh](j)}(h6``phys_addr_t base`` the base phys addr of the region h](j)}(h``phys_addr_t base``h]h)}(hjjh]hphys_addr_t base}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMphjjubj3)}(hhh]h)}(h the base phys addr of the regionh]h the base phys addr of the region}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMphjjubah}(h]h ]h"]h$]h&]uh1j2hjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMphjjubj)}(h,``phys_addr_t size`` the size of the region h](j)}(h``phys_addr_t size``h]h)}(hjjh]hphys_addr_t size}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMqhjjubj3)}(hhh]h)}(hthe size of the regionh]hthe size of the region}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj khMqhjkubah}(h]h ]h"]h$]h&]uh1j2hjjubeh}(h]h ]h"]h$]h&]uh1jhj khMqhjjubeh}(h]h ]h"]h$]h&]uh1j hjjubh)}(h **Return**h]j)}(hj3kh]hReturn}(hj5khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1kubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMshjjubh)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjIkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMshjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\__next_mem_range (C function)c.__next_mem_rangehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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}(hjxkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtkhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtkhhhjkhMubj)}(h__next_mem_rangeh]j)}(h__next_mem_rangeh]h__next_mem_range}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubah}(h]h ](jjeh"]h$]h&]jjuh1jhjtkhhhjkhMubj")}(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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjkmodnameN classnameNjJjM)}jP]jS)}jFjksbc.__next_mem_rangeasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(hj$h]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(hidxh]hidx}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjkubj()}(hint nidh](j)}(hinth]hint}(hj lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(hnidh]hnid}(hj(lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjkubj()}(henum memblock_flags flagsh](jr)}(hjuh]henum}(hjAlhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj=lubj)}(h h]h }(hjNlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=lubh)}(hhh]j)}(hmemblock_flagsh]hmemblock_flags}(hj_lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\lubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjalmodnameN classnameNjJjM)}jP]jkc.__next_mem_rangeasbuh1hhj=lubj)}(h h]h }(hj}lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=lubj)}(hflagsh]hflags}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=lubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjkubj()}(hstruct memblock_type *type_ah](jr)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjlmodnameN classnameNjJjM)}jP]jkc.__next_mem_rangeasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(hj$h]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(htype_ah]htype_a}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjkubj()}(hstruct memblock_type *type_bh](jr)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjmubj)}(h h]h }(hj!mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubh)}(hhh]j)}(h memblock_typeh]h memblock_type}(hj2mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/mubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj4mmodnameN classnameNjJjM)}jP]jkc.__next_mem_rangeasbuh1hhjmubj)}(h h]h }(hjPmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(hj$h]h*}(hj^mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(htype_bh]htype_b}(hjkmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjkubj()}(hphys_addr_t *out_starth](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjmmodnameN classnameNjJjM)}jP]jkc.__next_mem_rangeasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(hj$h]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(h out_starth]h out_start}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjkubj()}(hphys_addr_t *out_endh](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjmmodnameN classnameNjJjM)}jP]jkc.__next_mem_rangeasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(hj$h]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(hout_endh]hout_end}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjkubj()}(h int *out_nidh](j)}(hinth]hint}(hj.nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*nubj)}(h h]h }(hjmodnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]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&]jjuh1j!hjShhhj{hM ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjOhhhj{hM ubah}(h]jJah ](jjeh"]h$]h&]jj)jhuh1jehj{hM hjLhhubj)}(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.chM hj׀hhubah}(h]h ]h"]h$]h&]uh1jhjLhhhj{hM ubeh}(h]h ](hfunctioneh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubj)}(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.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjubj3)}(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&]uh1hhj0hM hj1ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjNubj3)}(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&]uh1hhjihMhjjubah}(h]h ]h"]h$]h&]uh1j2hjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(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ہhMhj܁ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjہhMhjubeh}(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.chMhjubh)}(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.chMhjubh)}(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.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\(memblock_phys_alloc_try_nid (C function)c.memblock_phys_alloc_try_nidhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hVphys_addr_t memblock_phys_alloc_try_nid (phys_addr_t size, phys_addr_t align, int nid)h]jl)}(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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]jS)}jFmemblock_phys_alloc_try_nidsbc.memblock_phys_alloc_try_nidasbuh1hhjhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM$ubj)}(h h]h }(hjڂhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjقhM$ubj)}(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قhM$ubj")}(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&] refdomainhreftypejF reftargetj modnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetjTmodnameN classnameNjJjM)}jP]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 ]jah"]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&]jjuh1j!hjhhhjقhM$ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjhhhjقhM$ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjقhM$hjhhubj)}(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.chM$hjڃhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjقhM$ubeh}(h]h ](hfunctioneh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubj)}(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.chM(hjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM%hjubj3)}(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&]uh1hhj3hM%hj4ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj3hM%hjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM&hjQubj3)}(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&]uh1hhjlhM&hjmubah}(h]h ]h"]h$]h&]uh1j2hjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM&hjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM'hjubj3)}(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&]uh1hhjhM'hjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubeh}(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)}(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.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)}(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.chM-hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\$memblock_alloc_internal (C function)c.memblock_alloc_internalhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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 ]jah"]h$]h&]uh1jhjWhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM7ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhjihM7ubj)}(hj$h]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhjihM7ubj)}(hmemblock_alloc_internalh]j)}(hmemblock_alloc_internalh]hmemblock_alloc_internal}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjWhhhjihM7ubj")}(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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]jS)}jFjsbc.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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetj<modnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]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}(hjdžhhhNhNubah}(h]h ]jah"]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 ]jah"]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&]jjuh1j!hjWhhhjihM7ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjShhhjihM7ubah}(h]jNah ](jjeh"]h$]h&]jj)jhuh1jehjihM7hjPhhubj)}(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.chM7hj>hhubah}(h]h ]h"]h$]h&]uh1jhjPhhhjihM7ubeh}(h]h ](hfunctioneh"]h$]h&]jhjjYjjYjjjuh1j`hhhj0hNhNubj)}(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.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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM8hj|ubj3)}(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&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1j2hj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjyubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM9hjubj3)}(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ЇhM9hjчubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjЇhM9hjyubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM:hjubj3)}(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 hM:hj ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj hM:hjyubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM;hj'ubj3)}(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&]uh1hhjBhM;hjCubah}(h]h ]h"]h$]h&]uh1j2hj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM;hjyubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM<hj`ubj3)}(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{hM<hj|ubah}(h]h ]h"]h$]h&]uh1j2hj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM<hjyubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM=hjubj3)}(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ƈhM=hjLjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjƈhM=hjyubeh}(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)}(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.chM>hj]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.chMAhj]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.chMFhj]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.chMGhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\)memblock_alloc_exact_nid_raw (C function)c.memblock_alloc_exact_nid_rawhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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 ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMdubj)}(hj$h]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMdubj)}(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&]jjuh1jhjhhhjhMdubj")}(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&] refdomainhreftypejF reftargetjډmodnameN classnameNjJjM)}jP]jS)}jFjsbc.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&] refdomainhreftypejF reftargetj$modnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetjlmodnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]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 ]jah"]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&]jjuh1j!hjhhhjhMdubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjhhhjhMdubah}(h]j~ah ](jjeh"]h$]h&]jj)jhuh1jehjhMdhjhhubj)}(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.chMdhj:hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMdubeh}(h]h ](hfunctioneh"]h$]h&]jhjjUjjUjjjuh1j`hhhj0hNhNubj)}(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.chMhhjYubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMfhjxubj3)}(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&]uh1hhjhMfhjubah}(h]h ]h"]h$]h&]uh1j2hjxubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjuubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMghjubj3)}(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̋hMghj͋ubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj̋hMghjuubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMihjubj3)}(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.chMhhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjuubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMlhj$ubj3)}(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.chMjhj@ubah}(h]h ]h"]h$]h&]uh1j2hj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMlhjuubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMmhjpubj3)}(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&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1j2hjpubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjuubeh}(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.chMohjYubh)}(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.chMnhjYubh)}(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.chMqhjYubh)}(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.chMrhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\'memblock_alloc_try_nid_raw (C function)c.memblock_alloc_try_nid_rawhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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 ]jah"]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)}(hj$h]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+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=hMubj")}(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&] refdomainhreftypejF reftargetj~modnameN classnameNjJjM)}jP]jS)}jFj_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&] refdomainhreftypejF reftargetjȍmodnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetjXmodnameN classnameNjJjM)}jP]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 ]jah"]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&]jjuh1j!hj+hhhj=hMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj'hhhj=hMubah}(h]j"ah ](jjeh"]h$]h&]jj)jhuh1jehj=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 ](hfunctioneh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjUubj3)}(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&]uh1j2hjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjȏubj3)}(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&]uh1j2hjȏubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhj/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&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\#memblock_alloc_try_nid (C function)c.memblock_alloc_try_nidhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(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]jl)}(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 ]jah"]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)}(hj$h]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjϐ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ϐhhhjhMubj")}(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&] refdomainhreftypejF reftargetj"modnameN classnameNjJjM)}jP]jS)}jFjsbc.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&] refdomainhreftypejF reftargetjlmodnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]j<c.memblock_alloc_try_nidasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(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 ]jah"]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&]jjuh1j!hjϐhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjːhhhjhMubah}(h]jƐah ](jjeh"]h$]h&]jj)jhuh1jehjhMhjȐ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 ](hfunctioneh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjے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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj2ubj3)}(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&]uh1j2hj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjlubj3)}(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&]uh1j2hjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjӓ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.chMhjubh)}(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.chMhjubh)}(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.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\&__memblock_alloc_or_panic (C function)c.__memblock_alloc_or_panichNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hXvoid * __memblock_alloc_or_panic (phys_addr_t size, phys_addr_t align, const char *func)h]jl)}(hVvoid *__memblock_alloc_or_panic(phys_addr_t size, phys_addr_t align, const char *func)h](j)}(hvoidh]hvoid}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhjhMubj)}(hj$h]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhjhMubj)}(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&]jjuh1jhjshhhjhMubj")}(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&] refdomainhreftypejF reftargetjƔmodnameN classnameNjJjM)}jP]jS)}jFjsbc.__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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]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](jr)}(hjh]hconst}(hjShhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(hcharh]hchar}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(hj$h]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(hfunch]hfunc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjubeh}(h]h ]h"]h$]h&]jjuh1j!hjshhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjohhhjhMubah}(h]jjah ](jjeh"]h$]h&]jj)jhuh1jehjhMhjlhhubj)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjlhhhjhMubeh}(h]h ](hfunctioneh"]h$]h&]jhjjٕjjٕjjjuh1j`hhhj0hNhNubj)}(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.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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(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&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhj5ubj3)}(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&]uh1j2hj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjnubj3)}(hhh]h)}(hcaller func nameh]hcaller func name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j2hjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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)}(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.chMhjݕubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_free_late (C function)c.memblock_free_latehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hAn estimated number of free pages from memblock point of view.h]h>An estimated number of free pages from memblock point of view.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\&memblock_is_region_memory (C function)c.memblock_is_region_memoryhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hSbool __init_memblock memblock_is_region_memory (phys_addr_t base, phys_addr_t size)h]jl)}(hRbool __init_memblock memblock_is_region_memory(phys_addr_t base, phys_addr_t size)h](j)}(hjMh]hbool}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhjFhMubh__init_memblock}(hj5hhhNhNubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhjFhMubj)}(hmemblock_is_region_memoryh]j)}(hmemblock_is_region_memoryh]hmemblock_is_region_memory}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubah}(h]h ](jjeh"]h$]h&]jjuh1jhj5hhhjFhMubj")}(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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]jS)}jFjmsbc.memblock_is_region_memoryasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hbaseh]hbase}(hjhhhNhNubah}(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}(hjԚhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjњubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetj֚modnameN classnameNjJjM)}jP]jc.memblock_is_region_memoryasbuh1hhj͚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'hjubeh}(h]h ]h"]h$]h&]jjuh1j!hj5hhhjFhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhj1hhhjFhMubah}(h]j,ah ](jjeh"]h$]h&]jj)jhuh1jehjFhMhj.hhubj)}(hhh]h)}(h'check if a region is a subset of memoryh]h'check if a region is a subset of 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&]uh1jhj.hhhjFhMubeh}(h]h ](hfunctioneh"]h$]h&]jhjjBjjBjjjuh1j`hhhj0hNhNubj)}(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)}(hjLh]h Parameters}(hjNhhhNhNubah}(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.chMhjFubj)}(hhh](j)}(h-``phys_addr_t base`` base of region to check h](j)}(h``phys_addr_t base``h]h)}(hjkh]hphys_addr_t base}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjeubj3)}(hhh]h)}(hbase of region to checkh]hbase of region to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j2hjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(hhh]h)}(hsize of region to checkh]hsize of region to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubeh}(h]h ]h"]h$]h&]uh1j hjFubh)}(h**Description**h]j)}(hjߛh]h Description}(hjhhhNhNubah}(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.chMhjFubh)}(hRCheck if the region [**base**, **base** + **size**) is a subset of a memory block.h](hCheck if the region [}(hjhhhNhNubj)}(h**base**h]hbase}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**base**h]hbase}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh + }(hjhhhNhNubj)}(h**size**h]hsize}(hj!hhhNhNubah}(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.chMhjFubh)}(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.chMhjFubh)}(h0 if false, non-zero if trueh]h0 if false, non-zero if true}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\(memblock_is_region_reserved (C function)c.memblock_is_region_reservedhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hUbool __init_memblock memblock_is_region_reserved (phys_addr_t base, phys_addr_t size)h]jl)}(hTbool __init_memblock memblock_is_region_reserved(phys_addr_t base, phys_addr_t size)h](j)}(hjMh]hbool}(hjhhhNhNubah}(h]h ]jah"]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}hhhjhMubh__init_memblock}(hj}hhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhjhMubj)}(hmemblock_is_region_reservedh]j)}(hmemblock_is_region_reservedh]hmemblock_is_region_reserved}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhj}hhhjhMubj")}(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&]uh1jhjϜubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjԜmodnameN classnameNjJjM)}jP]jS)}jFjsbc.memblock_is_region_reservedasbuh1hhj˜ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˜ubj)}(hbaseh]hbase}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]jc.memblock_is_region_reservedasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hsizeh]hsize}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjǜubeh}(h]h ]h"]h$]h&]jjuh1j!hj}hhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjyhhhjhMubah}(h]jtah ](jjeh"]h$]h&]jj)jhuh1jehjhMhjvhhubj)}(hhh]h)}(h,check if a region intersects reserved memoryh]h,check if a region intersects reserved memory}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjohhubah}(h]h ]h"]h$]h&]uh1jhjvhhhjhMubeh}(h]h ](hfunctioneh"]h$]h&]jhjjjjjjjuh1j`hhhj0hNhNubj)}(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.chMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(hhh]h)}(hbase of region to checkh]hbase of region to check}(hj̝hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjȝhMhjɝubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjȝhMhjubj)}(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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMhjubj3)}(hhh]h)}(hsize of region to checkh]hsize of region to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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)}(hWCheck if the region [**base**, **base** + **size**) intersects a reserved memory block.h](hCheck if the region [}(hj=hhhNhNubj)}(h**base**h]hbase}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh, }(hj=hhhNhNubj)}(h**base**h]hbase}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh + }(hj=hhhNhNubj)}(h**size**h]hsize}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh%) intersects a reserved memory block.}(hj=hhhNhNubeh}(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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\memblock_free_all (C function)c.memblock_free_allhNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hvoid memblock_free_all (void)h]jl)}(hvoid memblock_free_all(void)h](j)}(hvoidh]hvoid}(hjɞhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjŞhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM ubj)}(h h]h }(hj؞hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjŞhhhjמhM ubj)}(hmemblock_free_allh]j)}(hmemblock_free_allh]hmemblock_free_all}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjŞhhhjמhM ubj")}(h(void)h]j()}(hvoidh]j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]noemphjjuh1j'hjubah}(h]h ]h"]h$]h&]jjuh1j!hjŞhhhjמhM ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjhhhjמhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjמhM hjhhubj)}(hhh]h)}(h)release free pages to the buddy allocatorh]h)release free pages to the buddy allocator}(hj0hhhNhNubah}(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&]uh1jhjhhhjמhM ubeh}(h]h ](hfunctioneh"]h$]h&]jhjjHjjHjjjuh1j`hhhj0hNhNubj)}(h'**Parameters** ``void`` no argumentsh](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``void`` no argumentsh](j)}(h``void``h]h)}(hjqh]hvoid}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjoubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM& hjkubj3)}(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&]uh1j2hjkubeh}(h]h ]h"]h$]h&]uh1jhjhM& hjhubah}(h]h ]h"]h$]h&]uh1j hjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\%reserve_mem_find_by_name (C function)c.reserve_mem_find_by_namehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(hVint reserve_mem_find_by_name (const char *name, phys_addr_t *start, phys_addr_t *size)h]jl)}(hUint reserve_mem_find_by_name(const char *name, phys_addr_t *start, phys_addr_t *size)h](j)}(hinth]hint}(hj˟hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjǟhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMV ubj)}(h h]h }(hjڟhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjǟhhhjٟhMV 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&]jjuh1jhjǟhhhjٟhMV ubj")}(h9(const char *name, phys_addr_t *start, phys_addr_t *size)h](j()}(hconst char *nameh](jr)}(hjh]hconst}(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj$h]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hnameh]hname}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjubj()}(hphys_addr_t *starth](h)}(hhh]j)}(h phys_addr_th]h phys_addr_t}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&] refdomainhreftypejF reftargetjjmodnameN classnameNjJjM)}jP]jS)}jFjsbc.reserve_mem_find_by_nameasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(hj$h]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubeh}(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&] refdomainhreftypejF reftargetjmodnameN classnameNjJjM)}jP]jc.reserve_mem_find_by_nameasbuh1hhjubj)}(h h]h }(hjݠhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj$h]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjubeh}(h]h ]h"]h$]h&]jjuh1j!hjǟhhhjٟhMV ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjßhhhjٟhMV ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjٟhMV hjhhubj)}(hhh]h)}(h-Find reserved memory region with a given nameh]h-Find reserved memory region with a given name}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMV hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjٟhMV ubeh}(h]h ](hfunctioneh"]h$]h&]jhjj:jj:jjjuh1j`hhhj0hNhNubj)}(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)}(hjDh]h Parameters}(hjFhhhNhNubah}(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.chMZ hj>ubj)}(hhh](j)}(hK``const char *name`` The name that is attached to a reserved memory region h](j)}(h``const char *name``h]h)}(hjch]hconst char *name}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjaubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMW hj]ubj3)}(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&]uh1hhjxhMW hjyubah}(h]h ]h"]h$]h&]uh1j2hj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMW hjZubj)}(h9``phys_addr_t *start`` If found, holds the start 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMX hjubj3)}(hhh]h)}(h!If found, holds the start addressh]h!If found, holds the start address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMX hjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMX hjZubj)}(h?``phys_addr_t *size`` If found, holds the size of the address. 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMY hjϡubj3)}(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&]uh1hhjhMY hjubah}(h]h ]h"]h$]h&]uh1j2hjϡubeh}(h]h ]h"]h$]h&]uh1jhjhMY hjZubeh}(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)}(h=**start** and **size** are only updated if **name** is found.h](j)}(h **start**h]hstart}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh and }(hj&hhhNhNubj)}(h**size**h]hsize}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh are only updated if }(hj&hhhNhNubj)}(h**name**h]hname}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh is found.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMZ hj>ubh)}(h **Return**h]j)}(hjih]hReturn}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chM\ hj>ubh)}(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] hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubjP)}(hhh]h}(h]h ]h"]h$]h&]entries](j\(reserve_mem_release_by_name (C function)c.reserve_mem_release_by_namehNtauh1jOhj0hhhNhNubja)}(hhh](jf)}(h2int reserve_mem_release_by_name (const char *name)h]jl)}(h1int reserve_mem_release_by_name(const char *name)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMo ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMo ubj)}(hreserve_mem_release_by_nameh]j)}(hreserve_mem_release_by_nameh]hreserve_mem_release_by_name}(hjϢhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjˢubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMo ubj")}(h(const char *name)h]j()}(hconst char *nameh](jr)}(hjh]hconst}(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj$h]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hnameh]hname}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1j'hjubah}(h]h ]h"]h$]h&]jjuh1j!hjhhhjhMo ubeh}(h]h ]h"]h$]h&]jjjuh1jkjjhjhhhjhMo ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jehjhMo hjhhubj)}(hhh]h)}(h0Release reserved memory region with a given nameh]h0Release reserved memory region with a given name}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMo hjVhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMo ubeh}(h]h ](hfunctioneh"]h$]h&]jhjjqjjqjjjuh1j`hhhj0hNhNubj)}(hX:**Parameters** ``const char *name`` The name that is attatched 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)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMs hjuubj)}(hhh]j)}(hL``const char *name`` The name that is attatched 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/core-api/boot-time-mm:40: ./mm/memblock.chMp hjubj3)}(hhh]h)}(h6The name that is attatched to a reserved memory regionh]h6The name that is attatched to a reserved memory region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMp hjubah}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]uh1jhjhMp hjubah}(h]h ]h"]h$]h&]uh1j hjuubh)}(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.chMr hjuubh)}(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.chMq hjuubh)}(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.chMt hjuubh)}(h 1 if released or 0 if not found.h]h 1 if released 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.chMu hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj0hhhNhNubeh}(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_handlerj[error_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}(j5j2j-j*j-j*u nametypes}(j5j-j-uh}(j2hj*jOj*j0j^jgjjjjj j jW j\ j j jjjpjujjjTjYjjjjjyj~jjjj#j j j"j"jJ$jO$j&j&j&j&j'j'j/,j4,j0j0j5j"5j8j8j9j9j<j<jj?jo?jCjCjHjHjVKj[KjMjMjKOjPOjiSjnSjOUjTUj;Wj@Wj [j[j\j\j^j^j`j`j+cj0cjejej~gjgjijijkkjpkjqjqjNwjSwjzjzjJjOjjjNjSj~jj"j'jƐjːjjjojjjjƘj,j1jtjyjjjjßjju 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.