Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
Dtopology.h142 #ifndef numa_mem_id
144 static inline int numa_mem_id(void) in numa_mem_id() function
166 #ifndef numa_mem_id
168 static inline int numa_mem_id(void) in numa_mem_id() function
Dgfp.h195 return __alloc_pages_bulk(gfp, numa_mem_id(), NULL, nr_pages, list, NULL); in alloc_pages_bulk_list()
201 return __alloc_pages_bulk(gfp, numa_mem_id(), NULL, nr_pages, NULL, page_array); in alloc_pages_bulk_array()
208 nid = numa_mem_id(); in alloc_pages_bulk_array_node()
258 nid = numa_mem_id(); in alloc_pages_node()
Dskbuff.h3279 return likely(page_to_nid(page) == numa_mem_id() && in dev_page_is_reusable()
/Linux-v6.1/Documentation/translations/zh_CN/mm/
Dnuma.rst100 以使用numa_mem_id()或cpu_to_mem()函数来定位调用或指定CPU的“本地内存节点”。同样,这是同
/Linux-v6.1/mm/
Dslab.c782 int node = numa_mem_id(); in cache_free_alien()
1774 cachep->node[numa_mem_id()]->next_reap = in setup_cpu_cache()
2099 assert_spin_locked(&get_node(cachep, numa_mem_id())->list_lock); in check_spinlock_acquired()
2140 int node = numa_mem_id(); in do_drain()
2887 node = numa_mem_id(); in cache_alloc_refill()
3052 nid_alloc = nid_here = numa_mem_id(); in alternate_node_alloc()
3113 slab = cache_grow_begin(cache, flags, numa_mem_id()); in fallback_alloc()
3188 int slab_node = numa_mem_id(); in __do_cache_alloc()
3321 int node = numa_mem_id(); in cache_flusharray()
3841 int node = numa_mem_id(); in cache_reap()
Dmemremap.c211 nid = numa_mem_id(); in pagemap_range()
Dmempolicy.c1908 int node = numa_mem_id(); in mempolicy_slab_node()
Dhugetlb.c1386 nid = numa_mem_id(); in alloc_gigantic_page()
1970 nid = numa_mem_id(); in alloc_buddy_huge_page()
Dslub.c2323 searchnode = numa_mem_id(); in get_partial()
/Linux-v6.1/drivers/net/ethernet/fungible/funeth/
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-v6.1/net/core/
Dpage_pool.c242 pref_nid = (pool->p.nid == NUMA_NO_NODE) ? numa_mem_id() : pool->p.nid; in page_pool_refill_alloc_cache()
245 pref_nid = numa_mem_id(); /* will be zero like page_to_nid() */ in page_pool_refill_alloc_cache()
Dskbuff.c494 likely(node == NUMA_NO_NODE || node == numa_mem_id())) in __alloc_skb()
/Linux-v6.1/Documentation/mm/
Dnuma.rst147 architectures transparently, kernel subsystems can use the numa_mem_id()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c499 page_to_nid(page) != numa_mem_id(); in mlx4_en_complete_rx_desc()
/Linux-v6.1/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c101 if (page_to_nid(buf_info->page) != numa_mem_id()) in ionic_rx_buf_recycle()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c772 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_wqes()
968 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_mpwqes()