Searched refs:page_to_nid (Results 1 – 19 of 19) sorted by relevance
| /linux/mm/ |
| H A D | page_ext.c | 174 base = NODE_DATA(page_to_nid(page))->node_page_ext; in lookup_page_ext() 183 index = pfn - round_down(node_start_pfn(page_to_nid(page)), in lookup_page_ext()
|
| H A D | zswap.c | 665 return page_to_nid(virt_to_page(entry)); in entry_to_nid() 900 handle = zs_malloc(pool->zs_pool, dlen, gfp, page_to_nid(page)); in zswap_compress() 1416 entry = zswap_entry_cache_alloc(GFP_KERNEL, page_to_nid(page)); in zswap_store_page()
|
| H A D | mempolicy.c | 1143 ret = page_to_nid(p); in lookup_node() 2492 page_to_nid(page) == nid) { in alloc_pages_mpol()
|
| H A D | slub.c | 4863 if (page_to_nid(virt_to_page(object)) != node) { in alloc_from_pcs() 6913 nid != page_to_nid(virt_to_page(p))) in __do_krealloc() 9018 node_set(page_to_nid(virt_to_page(track)), l->nodes); in add_location() 9056 node_set(page_to_nid(virt_to_page(track)), l->nodes); in add_location()
|
| H A D | vmalloc.c | 4366 nid != page_to_nid(vmalloc_to_page(p))) in vrealloc_node_align_noprof() 5297 counters[page_to_nid(v->pages[i])] += step; in show_numa_info()
|
| H A D | ksm.c | 2204 page_to_nid(tree_page) != nid) { in unstable_tree_search_insert()
|
| H A D | page_alloc.c | 1973 VM_BUG_ON_PAGE(page_to_nid(page) != zone_to_nid(zone), page); in __move_freepages_block()
|
| /linux/include/net/ |
| H A D | netmem.h | 310 return page_to_nid(netmem_to_page(netmem)) == pref_nid; in netmem_is_pref_nid()
|
| /linux/kernel/dma/ |
| H A D | contiguous.c | 470 if (cma_release(dma_contiguous_numa_area[page_to_nid(page)], in dma_free_contiguous()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_network.h | 342 unlikely(page_to_nid(pg_info->page) != numa_node_id())) { in recv_buffer_recycle()
|
| /linux/drivers/block/zram/ |
| H A D | zram_drv.c | 2257 __GFP_HIGHMEM | __GFP_MOVABLE, page_to_nid(page)); in write_incompressible_page() 2321 __GFP_HIGHMEM | __GFP_MOVABLE, page_to_nid(page)); in zram_write_page() 2526 page_to_nid(page)); in recompress_slot()
|
| /linux/include/linux/ |
| H A D | mm.h | 2400 static inline int page_to_nid(const struct page *page) in page_to_nid() function 2622 return &NODE_DATA(page_to_nid(page))->node_zones[page_zonenum(page)]; in page_zone() 2627 return NODE_DATA(page_to_nid(page)); in page_pgdat()
|
| H A D | mmzone.h | 2375 page_to_nid(pfn_to_page(__pfn_to_nid_pfn)); \
|
| H A D | skbuff.h | 3634 return likely(page_to_nid(page) == numa_mem_id() &&
|
| /linux/drivers/virt/nitro_enclaves/ |
| H A D | ne_misc_dev.c | 826 if (ne_enclave->numa_node != page_to_nid(mem_region_page)) { in ne_sanity_check_user_mem_region_page()
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_enet.c | 459 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/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_rx.c | 471 page_to_nid(page) != numa_mem_id(); in mlx4_en_complete_rx_desc()
|
| /linux/fs/proc/ |
| H A D | task_mmu.c | 3391 nid = page_to_nid(page); in can_gather_numa_stats() 3416 nid = page_to_nid(page); in can_gather_numa_stats_pmd()
|
| /linux/kernel/ |
| H A D | fork.c | 260 if (page_to_nid(page) != nid) in try_release_thread_stack_to_cache()
|