Home
last modified time | relevance | path

Searched refs:page_to_nid (Results 1 – 17 of 17) sorted by relevance

/mm/
Dpage_ext.c108 base = NODE_DATA(page_to_nid(page))->node_page_ext; in lookup_page_ext()
117 offset = pfn - round_down(node_start_pfn(page_to_nid(page)), in lookup_page_ext()
Dlist_lru.c107 int nid = page_to_nid(virt_to_page(item)); in list_lru_add()
127 int nid = page_to_nid(virt_to_page(item)); in list_lru_del()
Dmigrate.c1003 *result = page_to_nid(newpage); in unmap_and_move()
1119 *result = page_to_nid(new_hpage); in unmap_and_move_huge_page()
1285 err = page_to_nid(page); in do_move_page_to_node_array()
1447 err = page ? page_to_nid(page) : -ENOENT; in do_pages_stat_array()
Dslub.c1116 struct kmem_cache_node *n = get_node(s, page_to_nid(page)); in free_debug_processing()
1537 inc_slabs_node(s, page_to_nid(page), page->objects); in allocate_slab()
1620 dec_slabs_node(s, page_to_nid(page), page->objects); in discard_slab()
1913 struct kmem_cache_node *n = get_node(s, page_to_nid(page)); in deactivate_slab()
2071 n2 = get_node(s, page_to_nid(page)); in unfreeze_partials()
2234 if (!page || (node != NUMA_NO_NODE && page_to_nid(page) != node)) in node_match()
2737 n = get_node(s, page_to_nid(page)); in __slab_free()
3236 if (page_to_nid(page) != node) { in early_kmem_cache_node_alloc()
4402 node_set(page_to_nid(virt_to_page(track)), l->nodes); in add_location()
4433 node_set(page_to_nid(virt_to_page(track)), l->nodes); in add_location()
[all …]
Dsparse.c45 int page_to_nid(const struct page *page) in page_to_nid() function
49 EXPORT_SYMBOL(page_to_nid);
Dhugetlb.c855 int nid = page_to_nid(page); in enqueue_huge_page()
1168 h->nr_huge_pages_node[page_to_nid(page)]--; in update_and_free_page()
1229 int nid = page_to_nid(page); in free_huge_page()
1452 int nid = page_to_nid(head); in dissolve_free_huge_page()
1628 r_nid = page_to_nid(page); in __alloc_buddy_huge_page()
2083 prep_new_huge_page(h, page, page_to_nid(page)); in gather_bootmem_prealloc()
2169 h->free_huge_pages_node[page_to_nid(page)]--; in try_to_free_low()
4597 int nid = page_to_nid(hpage); in dequeue_hwpoisoned_huge_page()
Dpage_isolation.c286 int node = next_online_node(page_to_nid(page)); in alloc_migrate_target()
Dmempolicy.c513 nid = page_to_nid(page); in queue_pages_pte_range()
546 nid = page_to_nid(page); in queue_pages_hugetlb()
828 err = page_to_nid(p); in lookup_node()
2299 int curnid = page_to_nid(page); in mpol_misplaced()
Dmemory-failure.c237 drop_slab_node(page_to_nid(p)); in shake_page()
1526 int nid = page_to_nid(p); in new_page()
Dslob.c291 if (node != NUMA_NO_NODE && page_to_nid(sp) != node) in slob_alloc()
Dhuge_memory.c1065 vma, address, page_to_nid(page)); in do_huge_pmd_wp_page_fallback()
1363 page_nid = page_to_nid(page); in do_huge_pmd_numa_page()
2726 node = page_to_nid(page); in khugepaged_scan_pmd()
Dslab.c1008 int page_node = page_to_nid(virt_to_page(objp)); in cache_free_alien()
2573 WARN_ON(page_to_nid(virt_to_page(objp)) != nodeid); in slab_get_obj()
2592 WARN_ON(page_to_nid(virt_to_page(objp)) != nodeid); in slab_put_obj()
3070 nid = page_to_nid(page); in fallback_alloc()
Dksm.c1385 page_to_nid(tree_page) != nid) { in unstable_tree_search_insert()
Dvmalloc.c2625 counters[page_to_nid(v->pages[nr])]++; in show_numa_info()
Dmemcontrol.c463 int nid = page_to_nid(page); in mem_cgroup_page_zoneinfo()
478 int nid = page_to_nid(page); in soft_limit_tree_from_page()
Dpage_alloc.c1567 VM_BUG_ON_PAGE(page_to_nid(page) != zone_to_nid(zone), page); in move_freepages()
6722 if (!node_online(page_to_nid(page))) in is_pageblock_removable_nolock()
Dmemory.c3261 page_nid = page_to_nid(page); in do_numa_page()