Home
last modified time | relevance | path

Searched refs:pfn_to_nid (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/arch/alpha/include/asm/
H A Dmmzone.h101 #define pfn_to_nid(pfn) pa_to_nid(((u64)(pfn) << PAGE_SHIFT)) macro
103 (((pfn) - node_start_pfn(pfn_to_nid(pfn))) < \
104 node_spanned_pages(pfn_to_nid(pfn))) \
/OK3568_Linux_fs/kernel/arch/arc/include/asm/
H A Dmmzone.h14 static inline int pfn_to_nid(unsigned long pfn) in pfn_to_nid() function
34 int nid = pfn_to_nid(pfn); in pfn_valid()
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A Dmmzone.h11 static inline int pfn_to_nid(unsigned long pfn) in pfn_to_nid() function
24 return NODE_DATA(pfn_to_nid(pfn)); in pfn_to_pgdat()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dmmzone.h25 #define pfn_to_nid(pfn) pa_to_nid((pfn) << PAGE_SHIFT) macro
H A Dpage.h241 int __n = pfn_to_nid(__pfn); \
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Dmmzone.h20 static inline int pfn_to_nid(unsigned long pfn) in pfn_to_nid() function
/OK3568_Linux_fs/kernel/mm/
H A Dpage_ext.c398 nid = pfn_to_nid(start_pfn); in online_page_ext()
502 if (pfn_to_nid(pfn) != nid) in page_ext_init()
H A Dmemory_hotplug.c362 if (unlikely(pfn_to_nid(start_pfn) != nid)) in find_smallest_section_pfn()
387 if (unlikely(pfn_to_nid(pfn) != nid)) in find_biggest_section_pfn()
H A Dksm.c588 return ksm_merge_across_nodes ? 0 : NUMA(pfn_to_nid(kpfn)); in get_kpfn_nid()
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dmemory_model.h18 #define arch_pfn_to_nid(pfn) pfn_to_nid(pfn)
/OK3568_Linux_fs/kernel/include/linux/
H A Dmmzone.h1163 #define pfn_to_nid(pfn) (0) macro
1433 #define pfn_to_nid(pfn) \ macro
1439 #define pfn_to_nid(pfn) (0) macro
/OK3568_Linux_fs/kernel/mm/kasan/
H A Dshadow.c206 pfn_to_nid(mem_data->start_pfn), in kasan_mem_notifier()
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dmemory-model.rst93 Architectures that support DISCONTIGMEM provide :c:func:`pfn_to_nid`
/OK3568_Linux_fs/kernel/drivers/base/
H A Dnode.c771 return pfn_to_nid(pfn); in get_nid_for_pfn()