Searched refs:numa_mem_id (Results 1 – 16 of 16) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | topology.h | 142 #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 D | gfp.h | 195 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 D | skbuff.h | 3370 return likely(page_to_nid(page) == numa_mem_id() && in dev_page_is_reusable()
|
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A D | numa.rst | 100 以使用numa_mem_id()或cpu_to_mem()函数来定位调用或指定CPU的“本地内存节点”。同样,这是同
|
/openbmc/linux/mm/ |
H A D | slab.c | 781 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 D | memremap.c | 211 nid = numa_mem_id(); in pagemap_range()
|
H A D | mempolicy.c | 1926 int node = numa_mem_id(); in mempolicy_slab_node()
|
H A D | hugetlb.c | 1577 nid = numa_mem_id(); in alloc_gigantic_folio() 2132 nid = numa_mem_id(); in alloc_buddy_hugetlb_folio()
|
H A D | slub.c | 2402 searchnode = numa_mem_id(); in get_partial()
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_rx.c | 54 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 D | page_pool.c | 285 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 D | skbuff.c | 637 likely(node == NUMA_NO_NODE || node == numa_mem_id())) in __alloc_skb()
|
/openbmc/linux/Documentation/mm/ |
H A D | numa.rst | 145 architectures transparently, kernel subsystems can use the numa_mem_id()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_rx.c | 499 page_to_nid(page) != numa_mem_id(); in mlx4_en_complete_rx_desc()
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_txrx.c | 162 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 D | en_rx.c | 908 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()
|