Lines Matching defs:kpfn
154 * @kpfn: page frame number of this ksm page (perhaps temporarily on wrong nid)
157 * @nid: NUMA node id of stable tree in which linked (may not match kpfn)
172 unsigned long kpfn;
775 static inline int get_kpfn_nid(unsigned long kpfn)
777 return ksm_merge_across_nodes ? 0 : NUMA(pfn_to_nid(kpfn));
831 trace_ksm_remove_rmap_item(stable_node->kpfn, rmap_item, rmap_item->mm);
855 trace_ksm_remove_ksm_page(stable_node->kpfn);
893 unsigned long kpfn;
898 kpfn = READ_ONCE(stable_node->kpfn); /* Address dependency. */
899 folio = pfn_folio(kpfn);
955 * before checking whether node->kpfn has been changed.
958 if (READ_ONCE(stable_node->kpfn) != kpfn)
1908 if (get_kpfn_nid(stable_node_dup->kpfn) !=
2020 unsigned long kpfn;
2027 kpfn = folio_pfn(kfolio);
2028 nid = get_kpfn_nid(kpfn);
2073 stable_node_dup->kpfn = kpfn;
2239 get_kpfn_nid(READ_ONCE(stable_node->kpfn)) !=
3141 VM_BUG_ON_FOLIO(stable_node->kpfn != folio_pfn(folio), folio);
3142 stable_node->kpfn = folio_pfn(newfolio);
3145 * to make sure that the new stable_node->kpfn is visible
3170 if (stable_node->kpfn >= start_pfn &&
3171 stable_node->kpfn < end_pfn) {
3174 * which is why we keep kpfn instead of page*
3230 if (stable_node->kpfn >= start_pfn &&
3231 stable_node->kpfn < end_pfn)