Lines Matching refs:kpfn
151 * @kpfn: page frame number of this ksm page (perhaps temporarily on wrong nid)
154 * @nid: NUMA node id of stable tree in which linked (may not match kpfn)
169 unsigned long kpfn;
587 static inline int get_kpfn_nid(unsigned long kpfn)
589 return ksm_merge_across_nodes ? 0 : NUMA(pfn_to_nid(kpfn));
701 unsigned long kpfn;
706 kpfn = READ_ONCE(stable_node->kpfn); /* Address dependency. */
707 page = pfn_to_page(kpfn);
762 * before checking whether node->kpfn has been changed.
765 if (READ_ONCE(stable_node->kpfn) != kpfn)
1695 if (get_kpfn_nid(stable_node_dup->kpfn) !=
1812 unsigned long kpfn;
1819 kpfn = page_to_pfn(kpage);
1820 nid = get_kpfn_nid(kpfn);
1891 stable_node_dup->kpfn = kpfn;
2055 get_kpfn_nid(READ_ONCE(stable_node->kpfn)) !=
2684 VM_BUG_ON_PAGE(stable_node->kpfn != page_to_pfn(oldpage), oldpage);
2685 stable_node->kpfn = page_to_pfn(newpage);
2688 * to make sure that the new stable_node->kpfn is visible
2713 if (stable_node->kpfn >= start_pfn &&
2714 stable_node->kpfn < end_pfn) {
2717 * which is why we keep kpfn instead of page*
2773 if (stable_node->kpfn >= start_pfn &&
2774 stable_node->kpfn < end_pfn)