Home
last modified time | relevance | path

Searched refs:numa_mem_id (Results 1 – 18 of 18) sorted by relevance

/linux/include/linux/
H A Dtopology.h139 #ifndef numa_mem_id
141 static inline int numa_mem_id(void) in numa_mem_id() function
163 #ifndef numa_mem_id
165 static inline int numa_mem_id(void) in numa_mem_id() function
H A Dgfp.h250 __alloc_pages_bulk(_gfp, numa_mem_id(), NULL, _nr_pages, _page_array)
257 nid = numa_mem_id(); in alloc_pages_bulk_node_noprof()
314 nid = numa_mem_id(); in alloc_pages_node_noprof()
H A Dskbuff.h3607 return likely(page_to_nid(page) == numa_mem_id() && in dev_page_is_reusable()
/linux/Documentation/translations/zh_CN/mm/
H A Dnuma.rst100 以使用numa_mem_id()或cpu_to_mem()函数来定位调用或指定CPU的“本地内存节点”。同样,这是同
/linux/drivers/iommu/
H A Diommu-pages.c64 nid = numa_mem_id(); in iommu_alloc_pages_node_sz()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_rx.c54 if (c->prod_cnt - c->cons_cnt <= c->mask && buf->node == numa_mem_id()) { in cache_offer()
268 buf->node == numa_mem_id()) || !q->spare_buf.page) { in get_buf()
313 funeth_alloc_page(q, &q->spare_buf, numa_mem_id(), in fun_gather_pkt()
/linux/mm/
H A Dmemremap.c186 nid = numa_mem_id(); in pagemap_range()
H A Dslub.c453 struct kmem_cache_node *n = get_node(s, numa_mem_id()); in get_barn()
3936 searchnode = numa_mem_id(); in get_from_partial()
4473 !node_isset(numa_mem_id(), mpol->nodes)) in __slab_alloc_node()
4693 !node_isset(numa_mem_id(), mpol->nodes)) in alloc_from_pcs()
4706 if (unlikely(node_requested && node != numa_mem_id())) { in alloc_from_pcs()
5941 rcu_sheaf->node = numa_mem_id(); in __kfree_rcu_sheaf()
5977 int node = numa_mem_id(); in free_to_pcs_bulk()
6168 if (likely(!IS_ENABLED(CONFIG_NUMA) || slab_nid(slab) == numa_mem_id()) in slab_free()
6543 if (likely(!IS_ENABLED(CONFIG_NUMA) || slab_nid(slab) == numa_mem_id())) { in kfree_nolock()
7155 int local_node = numa_mem_id(); in refill_objects()
H A Dslab_common.c1607 if (likely(!IS_ENABLED(CONFIG_NUMA) || slab_nid(slab) == numa_mem_id())) in kfree_rcu_work()
H A Dmempolicy.c2146 int node = numa_mem_id(); in mempolicy_slab_node()
H A Dhugetlb.c1889 nid = numa_mem_id(); in only_alloc_fresh_hugetlb_folio()
2323 * It is okay to use NUMA_NO_NODE because we use numa_mem_id() in gather_surplus_pages()
/linux/net/core/
H A Dpage_pool.c394 pref_nid = (pool->p.nid == NUMA_NO_NODE) ? numa_mem_id() : pool->p.nid; in page_pool_refill_alloc_cache()
397 pref_nid = numa_mem_id(); /* will be zero like page_to_nid() */ in page_pool_refill_alloc_cache()
H A Dskbuff.c687 if (unlikely(node != NUMA_NO_NODE && node != numa_mem_id())) in __alloc_skb()
/linux/Documentation/mm/
H A Dnuma.rst145 architectures transparently, kernel subsystems can use the numa_mem_id()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c721 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_wqes()
912 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_mpwqes()
914 page_pool_nid_changed(rq->hd_page_pool, numa_mem_id()); in mlx5e_post_rx_mpwqes()
/linux/net/sunrpc/
H A Dsvc.c355 return numa_mem_id(); in svc_pool_map_get_node()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c471 page_to_nid(page) != numa_mem_id(); in mlx4_en_complete_rx_desc()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c4308 nid = numa_mem_id(); in idpf_rx_splitq_clean_all()