Searched refs:folio_nid (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/mm/ |
D | hugetlb_cgroup.c | 321 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()
|
D | hugetlb.c | 60 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 …]
|
D | slab.h | 203 return folio_nid(slab_folio(slab)); in slab_nid()
|
D | huge_memory.c | 563 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()
|
D | memcontrol.c | 5859 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()
|
D | vmscan.c | 2823 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()
|
D | migrate.c | 1993 nid = folio_nid(src); in alloc_migration_target()
|
D | mempolicy.c | 441 int nid = folio_nid(folio); in queue_folio_required()
|
D | swapfile.c | 3620 int nid = folio_nid(folio); in __folio_throttle_swaprate()
|
/Linux-v6.6/include/linux/ |
D | mm.h | 1634 static inline int folio_nid(const struct folio *folio) in folio_nid() function
|