Home
last modified time | relevance | path

Searched refs:numa_mem_id (Results 1 – 16 of 16) 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.h3623 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/net/core/
H A Dpage_pool.c399 pref_nid = (pool->p.nid == NUMA_NO_NODE) ? numa_mem_id() : pool->p.nid; in page_pool_refill_alloc_cache()
402 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/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c764 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_wqes()
955 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_mpwqes()
957 page_pool_nid_changed(rq->hd_page_pool, numa_mem_id()); in mlx5e_post_rx_mpwqes()
/linux/mm/
H A Dslub.c3922 searchnode = numa_mem_id(); in get_from_partial()
4505 !node_isset(numa_mem_id(), mpol->nodes)) in __slab_alloc_node()
4726 !node_isset(numa_mem_id(), mpol->nodes)) in alloc_from_pcs()
4739 if (unlikely(node_requested && node != numa_mem_id())) { in alloc_from_pcs()
6015 numa_node = numa_mem_id(); in can_free_to_pcs()
7252 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_sheaf()
H A Dmempolicy.c2146 int node = numa_mem_id(); in mempolicy_slab_node()
H A Dhugetlb.c1844 nid = numa_mem_id(); in only_alloc_fresh_hugetlb_folio()
2278 * It is okay to use NUMA_NO_NODE because we use numa_mem_id() in gather_surplus_pages()
/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()