Home
last modified time | relevance | path

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

/Linux-v6.1/arch/loongarch/kernel/
Dnuma.c268 u64 numaram, biosram; in numa_meminfo_cover_memory() local
270 numaram = 0; in numa_meminfo_cover_memory()
275 numaram += e - s; in numa_meminfo_cover_memory()
276 numaram -= __absent_pages_in_range(mi->blk[i].nid, s, e); in numa_meminfo_cover_memory()
277 if ((s64)numaram < 0) in numa_meminfo_cover_memory()
278 numaram = 0; in numa_meminfo_cover_memory()
283 BUG_ON((s64)(biosram - numaram) >= (1 << (20 - PAGE_SHIFT))); in numa_meminfo_cover_memory()
/Linux-v6.1/arch/x86/mm/
Dnuma.c456 u64 numaram, e820ram; in numa_meminfo_cover_memory() local
459 numaram = 0; in numa_meminfo_cover_memory()
463 numaram += e - s; in numa_meminfo_cover_memory()
464 numaram -= __absent_pages_in_range(mi->blk[i].nid, s, e); in numa_meminfo_cover_memory()
465 if ((s64)numaram < 0) in numa_meminfo_cover_memory()
466 numaram = 0; in numa_meminfo_cover_memory()
472 if ((s64)(e820ram - numaram) >= (1 << (20 - PAGE_SHIFT))) { in numa_meminfo_cover_memory()
474 (numaram << PAGE_SHIFT) >> 20, in numa_meminfo_cover_memory()