Home
last modified time | relevance | path

Searched refs:numaram (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/loongarch/kernel/
H A Dnuma.c236 u64 numaram, biosram; in numa_meminfo_cover_memory() local
238 numaram = 0; in numa_meminfo_cover_memory()
243 numaram += e - s; in numa_meminfo_cover_memory()
244 numaram -= __absent_pages_in_range(mi->blk[i].nid, s, e); in numa_meminfo_cover_memory()
245 if ((s64)numaram < 0) in numa_meminfo_cover_memory()
246 numaram = 0; in numa_meminfo_cover_memory()
251 BUG_ON((s64)(biosram - numaram) >= (1 << (20 - PAGE_SHIFT))); in numa_meminfo_cover_memory()
/openbmc/linux/arch/x86/mm/
H A Dnuma.c457 u64 numaram, e820ram; in numa_meminfo_cover_memory() local
460 numaram = 0; in numa_meminfo_cover_memory()
464 numaram += e - s; in numa_meminfo_cover_memory()
465 numaram -= __absent_pages_in_range(mi->blk[i].nid, s, e); in numa_meminfo_cover_memory()
466 if ((s64)numaram < 0) in numa_meminfo_cover_memory()
467 numaram = 0; in numa_meminfo_cover_memory()
473 if ((s64)(e820ram - numaram) >= (1 << (20 - PAGE_SHIFT))) { in numa_meminfo_cover_memory()
475 (numaram << PAGE_SHIFT) >> 20, in numa_meminfo_cover_memory()