Searched refs:folio_nid (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/mm/ |
H A 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()
|
H A D | hugetlb.c | 1319 int nid = folio_nid(folio); in enqueue_hugetlb_folio() 1561 int nid = folio_nid(folio); in free_gigantic_folio() 1650 int nid = folio_nid(folio); in __remove_hugetlb_folio() 1705 int nid = folio_nid(folio); in add_hugetlb_folio() 1899 int nid = folio_nid(folio); in free_huge_folio() 2208 prep_new_hugetlb_folio(h, folio, folio_nid(folio)); in alloc_fresh_hugetlb_folio() 2422 h->surplus_huge_pages_node[folio_nid(folio)]++; in alloc_surplus_hugetlb_folio() 2937 int nid = folio_nid(old_folio); in alloc_and_dissolve_hugetlb_folio() 3622 int i, nid = folio_nid(folio); in demote_free_hugetlb_folio() 7280 int old_nid = folio_nid(old_folio); in move_hugetlb_state() [all …]
|
H A D | slab.h | 203 return folio_nid(slab_folio(slab)); in slab_nid()
|
H A D | huge_memory.c | 564 struct pglist_data *pgdat = NODE_DATA(folio_nid(folio)); in get_deferred_split_queue() 575 struct pglist_data *pgdat = NODE_DATA(folio_nid(folio)); in get_deferred_split_queue() 2835 set_shrinker_bit(memcg, folio_nid(folio), in deferred_split_folio()
|
H A D | memcontrol.c | 5881 nid = folio_nid(folio); in mem_cgroup_move_account() 7027 memcg_check_events(memcg, folio_nid(folio)); in charge_memcg() 7182 ug->nid = folio_nid(folio); in uncharge_folio() 7285 memcg_check_events(memcg, folio_nid(new)); in mem_cgroup_migrate() 7515 memcg_check_events(memcg, folio_nid(folio)); in mem_cgroup_swapout()
|
H A D | vmscan.c | 2803 nid = folio_nid(lru_to_folio(folio_list)); in reclaim_pages() 2807 if (nid == folio_nid(folio)) { in reclaim_pages() 2814 nid = folio_nid(lru_to_folio(folio_list)); in reclaim_pages() 3962 if (folio_nid(folio) != pgdat->node_id) in get_pfn_folio()
|
H A D | migrate.c | 2003 nid = folio_nid(src); in alloc_migration_target()
|
H A D | mempolicy.c | 445 int nid = folio_nid(folio); in queue_folio_required()
|
H A D | swapfile.c | 3644 int nid = folio_nid(folio); in __folio_throttle_swaprate()
|
/openbmc/linux/include/linux/ |
H A D | mm.h | 1640 static inline int folio_nid(const struct folio *folio) in folio_nid() function
|