Home
last modified time | relevance | path

Searched refs:folio_nid (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/mm/
Dhugetlb_cgroup.c321 h_cg->nodeinfo[folio_nid(folio)]->usage[idx]; in __hugetlb_cgroup_commit_charge()
327 WRITE_ONCE(h_cg->nodeinfo[folio_nid(folio)]->usage[idx], in __hugetlb_cgroup_commit_charge()
370 h_cg->nodeinfo[folio_nid(folio)]->usage[idx]; in __hugetlb_cgroup_uncharge_folio()
376 WRITE_ONCE(h_cg->nodeinfo[folio_nid(folio)]->usage[idx], in __hugetlb_cgroup_uncharge_folio()
Dhugetlb.c60 return cma_pages_valid(hugetlb_cma[folio_nid(folio)], &folio->page, in hugetlb_cma_folio()
1312 int nid = folio_nid(folio); in enqueue_hugetlb_folio()
1554 int nid = folio_nid(folio); in free_gigantic_folio()
1643 int nid = folio_nid(folio); in __remove_hugetlb_folio()
1698 int nid = folio_nid(folio); in add_hugetlb_folio()
1894 int nid = folio_nid(folio); in free_huge_folio()
2219 prep_new_hugetlb_folio(h, folio, folio_nid(folio)); in alloc_fresh_hugetlb_folio()
2433 h->surplus_huge_pages_node[folio_nid(folio)]++; in alloc_surplus_hugetlb_folio()
2922 int nid = folio_nid(old_folio); in alloc_and_dissolve_hugetlb_folio()
3223 prep_new_hugetlb_folio(h, folio, folio_nid(folio)); in gather_bootmem_prealloc()
[all …]
Dslab.h203 return folio_nid(slab_folio(slab)); in slab_nid()
Dhuge_memory.c563 struct pglist_data *pgdat = NODE_DATA(folio_nid(folio)); in get_deferred_split_queue()
574 struct pglist_data *pgdat = NODE_DATA(folio_nid(folio)); in get_deferred_split_queue()
2830 set_shrinker_bit(memcg, folio_nid(folio), in deferred_split_folio()
Dmemcontrol.c5859 nid = folio_nid(folio); in mem_cgroup_move_account()
7005 memcg_check_events(memcg, folio_nid(folio)); in charge_memcg()
7160 ug->nid = folio_nid(folio); in uncharge_folio()
7263 memcg_check_events(memcg, folio_nid(new)); in mem_cgroup_migrate()
7493 memcg_check_events(memcg, folio_nid(folio)); in mem_cgroup_swapout()
Dvmscan.c2823 nid = folio_nid(lru_to_folio(folio_list)); in reclaim_pages()
2827 if (nid == folio_nid(folio)) { in reclaim_pages()
2834 nid = folio_nid(lru_to_folio(folio_list)); in reclaim_pages()
3982 if (folio_nid(folio) != pgdat->node_id) in get_pfn_folio()
Dmigrate.c1993 nid = folio_nid(src); in alloc_migration_target()
Dmempolicy.c441 int nid = folio_nid(folio); in queue_folio_required()
Dswapfile.c3620 int nid = folio_nid(folio); in __folio_throttle_swaprate()
/Linux-v6.6/include/linux/
Dmm.h1634 static inline int folio_nid(const struct folio *folio) in folio_nid() function