Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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
H A 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()
H A Dskbuff.h3370 return likely(page_to_nid(page) == numa_mem_id() && in dev_page_is_reusable()
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dnuma.rst100 以使用numa_mem_id()或cpu_to_mem()函数来定位调用或指定CPU的“本地内存节点”。同样,这是同
/openbmc/linux/mm/
H A Dslab.c781 int node = numa_mem_id(); in cache_free_alien()
1767 cachep->node[numa_mem_id()]->next_reap = in setup_cpu_cache()
2088 assert_raw_spin_locked(&get_node(cachep, numa_mem_id())->list_lock); in check_spinlock_acquired()
2129 int node = numa_mem_id(); in do_drain()
2867 node = numa_mem_id(); in cache_alloc_refill()
3032 nid_alloc = nid_here = numa_mem_id(); in alternate_node_alloc()
3093 slab = cache_grow_begin(cache, flags, numa_mem_id()); in fallback_alloc()
3168 int slab_node = numa_mem_id(); in __do_cache_alloc()
3302 int node = numa_mem_id(); in cache_flusharray()
3814 int node = numa_mem_id(); in cache_reap()
H A Dmemremap.c211 nid = numa_mem_id(); in pagemap_range()
H A Dmempolicy.c1926 int node = numa_mem_id(); in mempolicy_slab_node()
H A Dhugetlb.c1577 nid = numa_mem_id(); in alloc_gigantic_folio()
2132 nid = numa_mem_id(); in alloc_buddy_hugetlb_folio()
H A Dslub.c2402 searchnode = numa_mem_id(); in get_partial()
/openbmc/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()
/openbmc/linux/net/core/
H A Dpage_pool.c285 pref_nid = (pool->p.nid == NUMA_NO_NODE) ? numa_mem_id() : pool->p.nid; in page_pool_refill_alloc_cache()
288 pref_nid = numa_mem_id(); /* will be zero like page_to_nid() */ in page_pool_refill_alloc_cache()
H A Dskbuff.c637 likely(node == NUMA_NO_NODE || node == numa_mem_id())) in __alloc_skb()
/openbmc/linux/Documentation/mm/
H A Dnuma.rst145 architectures transparently, kernel subsystems can use the numa_mem_id()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c499 page_to_nid(page) != numa_mem_id(); in mlx4_en_complete_rx_desc()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c162 if (page_to_nid(buf_info->page) != numa_mem_id()) in ionic_rx_buf_recycle()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c908 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_wqes()
1107 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_mpwqes()