Lines Matching refs:memory

6  * Logical memory blocks.
28 * enum memblock_flags - definition of memory region attributes
30 * @MEMBLOCK_HOTPLUG: memory region indicated in the firmware-provided memory
31 * map during early boot as hot(un)pluggable system RAM (e.g., memory range
33 * commandline, try keeping this memory region hotunpluggable. Does not apply
37 * reserved in the memory map; refer to memblock_mark_nomap() description
39 * @MEMBLOCK_DRIVER_MANAGED: memory region that is always detected and added
40 * via a driver, and never indicated in the firmware-provided memory map as
43 * @MEMBLOCK_RSRV_NOINIT: memory region for which struct pages are
56 * struct memblock_region - represents a memory region
59 * @flags: memory region attributes
72 * struct memblock_type - collection of memory regions of certain type
77 * @name: the memory type symbolic name
91 * @memory: usable memory regions
92 * @reserved: reserved memory regions
97 struct memblock_type memory;
184 * @flags: pick from blocks based on memory attributes
204 * @flags: pick from blocks based on memory attributes
219 * for_each_mem_range - iterate through memory areas.
225 __for_each_mem_range(i, &memblock.memory, NULL, NUMA_NO_NODE, \
237 __for_each_mem_range_rev(i, &memblock.memory, NULL, NUMA_NO_NODE, \
285 * for_each_mem_pfn_range - early memory pfn range iterator
292 * Walks over configured memory ranges.
306 * @zone: zone in which all of the memory blocks reside
310 * Walks over free (memory && !reserved) areas of memblock in a specific
326 * @zone: zone in which all of the memory blocks reside
330 * Walks over free (memory && !reserved) areas of memblock in a specific
346 * @flags: pick from blocks based on memory attributes
351 * Walks over free (memory && !reserved) areas of memblock. Available as
355 __for_each_mem_range(i, &memblock.memory, &memblock.reserved, \
362 * @flags: pick from blocks based on memory attributes
367 * Walks over free (memory && !reserved) areas of memblock in reverse
372 __for_each_mem_range_rev(i, &memblock.memory, &memblock.reserved, \
481 * if this is true, that said, memblock will allocate memory
518 * While the memory MEMBLOCKs should always be page aligned, the reserved
524 * memblock_region_memory_base_pfn - get the lowest pfn of the memory region
527 * Return: the lowest pfn intersecting with the memory region
535 * memblock_region_memory_end_pfn - get the end pfn of the memory region
568 * for_each_mem_region - itereate over memory regions
572 for (region = memblock.memory.regions; \
573 region < (memblock.memory.regions + memblock.memory.cnt); \
577 * for_each_reserved_mem_region - itereate over reserved memory regions