Lines Matching +full:in +full:- +full:memory

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * include/linux/memory.h - generic memory definition
6 * basic "struct memory_block" here, which can be embedded in per-arch
9 * Basic handling of the devices is done in drivers/base/memory.c
10 * and system devices are handled in drivers/base/sys.c.
12 * Memory block are exported via sysfs in the class/memory/devices/
27 * struct memory_group - a logical group of memory blocks
28 * @nid: The node id for all memory blocks inside the memory group.
29 * @blocks: List of all memory blocks belonging to this memory group.
30 * @present_kernel_pages: Present (online) memory outside ZONE_MOVABLE of this
31 * memory group.
32 * @present_movable_pages: Present (online) memory in ZONE_MOVABLE of this
33 * memory group.
34 * @is_dynamic: The memory group type: static vs. dynamic
36 * number of pages we'll have in this static memory group.
37 * @d.unit_pages: Valid with &memory_group.is_dynamic == true. Unit in pages
38 * in which memory is added/removed in this dynamic memory group.
39 * This granularity defines the alignment of a unit in physical
41 * memory block.
43 * A memory group logically groups memory blocks; each memory block
44 * belongs to at most one memory group. A memory group corresponds to
45 * a memory device, such as a DIMM or a NUMA node, which spans multiple
46 * memory blocks and might even span multiple non-contiguous physical memory
49 * Modification of members after registration is serialized by memory
70 unsigned long state; /* serialized by the dev->lock */
72 int nid; /* NID for this memory block */
74 * The single zone of this memory block if all PFNs of this memory block
75 * that are System RAM (not a memory hole, not ZONE_DEVICE ranges) are
83 * lay at the beginning of the memory block.
87 struct list_head group_next; /* next block inside memory group */
94 /* These states are exposed to userspace as text strings in sysfs */
113 * Priorities for the hotplug memory callback routines (stored in decreasing
114 * order in the callback chain)