Home
last modified time | relevance | path

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

/linux-6.15/kernel/dma/
H A Dcontiguous.c413 if (cma_release(dma_contiguous_pernuma_area[page_to_nid(page)], in dma_free_contiguous()
416 if (cma_release(dma_contiguous_numa_area[page_to_nid(page)], in dma_free_contiguous()
/linux-6.15/mm/
H A Dpage_ext.c175 base = NODE_DATA(page_to_nid(page))->node_page_ext; in lookup_page_ext()
184 index = pfn - round_down(node_start_pfn(page_to_nid(page)), in lookup_page_ext()
H A Dlist_lru.c182 int nid = page_to_nid(virt_to_page(item)); in list_lru_add_obj()
219 int nid = page_to_nid(virt_to_page(item)); in list_lru_del_obj()
H A Dhugetlb_vmemmap.c330 int nid = page_to_nid((struct page *)reuse); in vmemmap_remap_free()
391 int nid = page_to_nid((struct page *)start); in alloc_vmemmap_page_list()
H A Dsparse.c46 int page_to_nid(const struct page *page) in page_to_nid() function
50 EXPORT_SYMBOL(page_to_nid);
H A Dzswap.c707 return page_to_nid(virt_to_page(entry)); in entry_to_nid()
1489 entry = zswap_entry_cache_alloc(GFP_KERNEL, page_to_nid(page)); in zswap_store_page()
H A Dmempolicy.c951 ret = page_to_nid(p); in lookup_node()
2307 page_to_nid(page) == nid) { in alloc_pages_mpol()
H A Dksm.c2150 page_to_nid(tree_page) != nid) { in unstable_tree_search_insert()
H A Dslub.c6679 node_set(page_to_nid(virt_to_page(track)), l->nodes); in add_location()
6717 node_set(page_to_nid(virt_to_page(track)), l->nodes); in add_location()
H A Dvmalloc.c4954 counters[page_to_nid(v->pages[nr])] += step; in show_numa_info()
H A Dpage_alloc.c1816 VM_BUG_ON_PAGE(page_to_nid(page) != zone_to_nid(zone), page); in __move_freepages_block()
/linux-6.15/include/net/
H A Dnetmem.h211 return page_to_nid(netmem_to_page(netmem)) == pref_nid; in netmem_is_pref_nid()
/linux-6.15/drivers/android/
H A Dbinder_alloc.c215 page_to_nid(page), in binder_lru_freelist_add()
414 page_to_nid(page), in binder_lru_freelist_del()
1012 page_to_nid(page), in binder_alloc_deferred_release()
/linux-6.15/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h342 unlikely(page_to_nid(pg_info->page) != numa_node_id())) { in recv_buffer_recycle()
/linux-6.15/include/linux/
H A Dmm.h1732 int page_to_nid(const struct page *page);
1734 static inline int page_to_nid(const struct page *page) in page_to_nid() function
1742 return page_to_nid(&folio->page); in folio_nid()
1957 return &NODE_DATA(page_to_nid(page))->node_zones[page_zonenum(page)]; in page_zone()
1962 return NODE_DATA(page_to_nid(page)); in page_pgdat()
H A Dmmzone.h2164 page_to_nid(pfn_to_page(__pfn_to_nid_pfn)); \
H A Dskbuff.h3535 return likely(page_to_nid(page) == numa_mem_id() && in dev_page_is_reusable()
/linux-6.15/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_rx.c123 rb->node = page_is_pfmemalloc(p) ? -1 : page_to_nid(p); in funeth_alloc_page()
/linux-6.15/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.c827 if (ne_enclave->numa_node != page_to_nid(mem_region_page)) { in ne_sanity_check_user_mem_region_page()
/linux-6.15/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.c459 if (unlikely(page_to_nid(desc_cb->priv) != numa_node_id())) in hns_nic_reuse_page()
603 if (likely(page_to_nid(desc_cb->priv) == numa_node_id())) in hns_nic_poll_rx_skb()
/linux-6.15/fs/proc/
H A Dtask_mmu.c2924 nid = page_to_nid(page); in can_gather_numa_stats()
2949 nid = page_to_nid(page); in can_gather_numa_stats_pmd()
/linux-6.15/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c467 page_to_nid(page) != numa_mem_id(); in mlx4_en_complete_rx_desc()