Home
last modified time | relevance | path

Searched refs:MEMBLOCK_MIRROR (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/mm/
Dmemblock.c121 return system_has_some_mirror ? MEMBLOCK_MIRROR : MEMBLOCK_NONE; in choose_memblock_flags()
322 if (!ret && (flags & MEMBLOCK_MIRROR)) { in memblock_find_in_range()
325 flags &= ~MEMBLOCK_MIRROR; in memblock_find_in_range()
882 return memblock_setclr_flag(base, size, 1, MEMBLOCK_MIRROR); in memblock_mark_mirror()
997 if ((flags & MEMBLOCK_MIRROR) && !memblock_is_mirror(m)) in __next_mem_range()
1114 if ((flags & MEMBLOCK_MIRROR) && !memblock_is_mirror(m)) in __next_mem_range_rev()
1281 if (!ret && (flags & MEMBLOCK_MIRROR)) { in memblock_alloc_nid()
1282 flags &= ~MEMBLOCK_MIRROR; in memblock_alloc_nid()
1393 if (flags & MEMBLOCK_MIRROR) { in memblock_virt_alloc_internal()
1394 flags &= ~MEMBLOCK_MIRROR; in memblock_virt_alloc_internal()
Dnobootmem.c53 if (!addr && (flags & MEMBLOCK_MIRROR)) { in __alloc_memory_core_early()
54 flags &= ~MEMBLOCK_MIRROR; in __alloc_memory_core_early()
/Linux-v4.19/include/linux/
Dmemblock.h33 MEMBLOCK_MIRROR = 0x2, /* mirrored region */ enumerator
206 return m->flags & MEMBLOCK_MIRROR; in memblock_is_mirror()