Home
last modified time | relevance | path

Searched refs:new_nid (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/include/trace/events/
Dpage_pool.h94 TP_PROTO(const struct page_pool *pool, int new_nid),
96 TP_ARGS(pool, new_nid),
101 __field(int, new_nid)
107 __entry->new_nid = new_nid;
111 __entry->pool, __entry->pool_nid, __entry->new_nid)
/linux-6.1.9/include/net/
Dpage_pool.h379 void page_pool_update_nid(struct page_pool *pool, int new_nid);
380 static inline void page_pool_nid_changed(struct page_pool *pool, int new_nid) in page_pool_nid_changed() argument
382 if (unlikely(pool->p.nid != new_nid)) in page_pool_nid_changed()
383 page_pool_update_nid(pool, new_nid); in page_pool_nid_changed()
/linux-6.1.9/fs/f2fs/
Dxattr.c439 nid_t new_nid = 0; in write_all_xattrs() local
443 if (!f2fs_alloc_nid(sbi, &new_nid)) in write_all_xattrs()
453 f2fs_alloc_nid_failed(sbi, new_nid); in write_all_xattrs()
464 f2fs_alloc_nid_failed(sbi, new_nid); in write_all_xattrs()
480 f2fs_alloc_nid_failed(sbi, new_nid); in write_all_xattrs()
483 f2fs_bug_on(sbi, new_nid); in write_all_xattrs()
488 set_new_dnode(&dn, inode, NULL, NULL, new_nid); in write_all_xattrs()
492 f2fs_alloc_nid_failed(sbi, new_nid); in write_all_xattrs()
495 f2fs_alloc_nid_done(sbi, new_nid); in write_all_xattrs()
/linux-6.1.9/arch/powerpc/mm/
Dnuma.c1428 int new_nid; in find_and_update_cpu_nid() local
1435 new_nid = associativity_to_nid(associativity); in find_and_update_cpu_nid()
1437 if (new_nid < 0 || !node_possible(new_nid)) in find_and_update_cpu_nid()
1438 new_nid = first_online_node; in find_and_update_cpu_nid()
1442 set_cpu_numa_node(cpu, new_nid); in find_and_update_cpu_nid()
1444 pr_debug("%s:%d cpu %d nid %d\n", __func__, __LINE__, cpu, new_nid); in find_and_update_cpu_nid()
/linux-6.1.9/net/core/
Dpage_pool.c862 void page_pool_update_nid(struct page_pool *pool, int new_nid) in page_pool_update_nid() argument
866 trace_page_pool_update_nid(pool, new_nid); in page_pool_update_nid()
867 pool->p.nid = new_nid; in page_pool_update_nid()
/linux-6.1.9/arch/sparc/mm/
Dinit_64.c950 int prev_nid, new_nid; in memblock_nid_range_sun4u() local
954 for (new_nid = 0; new_nid < num_node_masks; new_nid++) { in memblock_nid_range_sun4u()
955 struct node_mem_mask *p = &node_masks[new_nid]; in memblock_nid_range_sun4u()
959 prev_nid = new_nid; in memblock_nid_range_sun4u()
964 if (new_nid == num_node_masks) { in memblock_nid_range_sun4u()
971 if (prev_nid != new_nid) in memblock_nid_range_sun4u()
/linux-6.1.9/mm/
Dhugetlb.c7393 int new_nid = page_to_nid(newpage); in move_hugetlb_state() local
7402 if (new_nid == old_nid) in move_hugetlb_state()
7407 h->surplus_huge_pages_node[new_nid]++; in move_hugetlb_state()