Home
last modified time | relevance | path

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

/linux-6.15/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.h245 __alloc_pages_bulk(_gfp, numa_mem_id(), NULL, _nr_pages, _page_array)
252 nid = numa_mem_id(); in alloc_pages_bulk_node_noprof()
309 nid = numa_mem_id(); in alloc_pages_node_noprof()
H A Dskbuff.h3535 return likely(page_to_nid(page) == numa_mem_id() && in dev_page_is_reusable()
/linux-6.15/mm/
H A Dpage_frag_cache.c60 numa_mem_id(), NULL); in __page_frag_cache_refill()
63 page = __alloc_pages(gfp, 0, numa_mem_id(), NULL); in __page_frag_cache_refill()
H A Dmemremap.c212 nid = numa_mem_id(); in pagemap_range()
H A Dhugetlb.c1487 nid = numa_mem_id(); in alloc_gigantic_folio()
1967 nid = numa_mem_id(); in alloc_buddy_hugetlb_folio()
2447 if (node_isset(numa_mem_id(), alloc_nodemask)) in gather_surplus_pages()
2449 numa_mem_id(), NULL); in gather_surplus_pages()
2453 if (node == numa_mem_id()) in gather_surplus_pages()
H A Dmempolicy.c1958 int node = numa_mem_id(); in mempolicy_slab_node()
H A Dslub.c2978 searchnode = numa_mem_id(); in get_partial()
/linux-6.15/Documentation/translations/zh_CN/mm/
H A Dnuma.rst100 以使用numa_mem_id()或cpu_to_mem()函数来定位调用或指定CPU的“本地内存节点”。同样,这是同
/linux-6.15/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-6.15/net/core/
H A Dpage_pool.c395 pref_nid = (pool->p.nid == NUMA_NO_NODE) ? numa_mem_id() : pool->p.nid; in page_pool_refill_alloc_cache()
398 pref_nid = numa_mem_id(); /* will be zero like page_to_nid() */ in page_pool_refill_alloc_cache()
H A Dskbuff.c655 likely(node == NUMA_NO_NODE || node == numa_mem_id())) in __alloc_skb()
/linux-6.15/Documentation/mm/
H A Dnuma.rst145 architectures transparently, kernel subsystems can use the numa_mem_id()
/linux-6.15/drivers/net/ethernet/intel/idpf/
H A Didpf_singleq_txrx.c1054 page_pool_nid_changed(rx_q->pp, numa_mem_id()); in idpf_rx_singleq_clean()
H A Didpf_txrx.c3992 nid = numa_mem_id(); in idpf_rx_splitq_clean_all()
/linux-6.15/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c467 page_to_nid(page) != numa_mem_id(); in mlx4_en_complete_rx_desc()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c898 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_wqes()
1102 page_pool_nid_changed(rq->page_pool, numa_mem_id()); in mlx5e_post_rx_mpwqes()