Searched refs:page_to_nid (Results 1 – 17 of 17) sorted by relevance
/mm/ |
D | page_ext.c | 108 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()
|
D | list_lru.c | 107 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()
|
D | migrate.c | 1003 *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()
|
D | slub.c | 1116 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 …]
|
D | sparse.c | 45 int page_to_nid(const struct page *page) in page_to_nid() function 49 EXPORT_SYMBOL(page_to_nid);
|
D | hugetlb.c | 855 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()
|
D | page_isolation.c | 286 int node = next_online_node(page_to_nid(page)); in alloc_migrate_target()
|
D | mempolicy.c | 513 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()
|
D | memory-failure.c | 237 drop_slab_node(page_to_nid(p)); in shake_page() 1526 int nid = page_to_nid(p); in new_page()
|
D | slob.c | 291 if (node != NUMA_NO_NODE && page_to_nid(sp) != node) in slob_alloc()
|
D | huge_memory.c | 1065 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()
|
D | slab.c | 1008 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()
|
D | ksm.c | 1385 page_to_nid(tree_page) != nid) { in unstable_tree_search_insert()
|
D | vmalloc.c | 2625 counters[page_to_nid(v->pages[nr])]++; in show_numa_info()
|
D | memcontrol.c | 463 int nid = page_to_nid(page); in mem_cgroup_page_zoneinfo() 478 int nid = page_to_nid(page); in soft_limit_tree_from_page()
|
D | page_alloc.c | 1567 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()
|
D | memory.c | 3261 page_nid = page_to_nid(page); in do_numa_page()
|