Home
last modified time | relevance | path

Searched refs:memcg_data (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/include/linux/
Dmemcontrol.h392 unsigned long memcg_data = folio->memcg_data; in __folio_memcg() local
395 VM_BUG_ON_FOLIO(memcg_data & MEMCG_DATA_OBJEXTS, folio); in __folio_memcg()
396 VM_BUG_ON_FOLIO(memcg_data & MEMCG_DATA_KMEM, folio); in __folio_memcg()
398 return (struct mem_cgroup *)(memcg_data & ~OBJEXTS_FLAGS_MASK); in __folio_memcg()
413 unsigned long memcg_data = folio->memcg_data; in __folio_objcg() local
416 VM_BUG_ON_FOLIO(memcg_data & MEMCG_DATA_OBJEXTS, folio); in __folio_objcg()
417 VM_BUG_ON_FOLIO(!(memcg_data & MEMCG_DATA_KMEM), folio); in __folio_objcg()
419 return (struct obj_cgroup *)(memcg_data & ~OBJEXTS_FLAGS_MASK); in __folio_objcg()
476 unsigned long memcg_data = READ_ONCE(folio->memcg_data); in folio_memcg_rcu() local
480 if (memcg_data & MEMCG_DATA_KMEM) { in folio_memcg_rcu()
[all …]
Dmm_types.h184 unsigned long memcg_data; member
350 unsigned long memcg_data; member
413 FOLIO_MATCH(memcg_data, memcg_data);
502 TABLE_MATCH(memcg_data, pt_memcg_data);
/linux-6.12.1/mm/
Dpage_owner.c503 unsigned long memcg_data; in print_page_owner_memcg() local
509 memcg_data = READ_ONCE(page->memcg_data); in print_page_owner_memcg()
510 if (!memcg_data) in print_page_owner_memcg()
513 if (memcg_data & MEMCG_DATA_OBJEXTS) in print_page_owner_memcg()
Ddebug.c91 if (folio->memcg_data) in __dump_folio()
92 pr_warn("memcg:%lx\n", folio->memcg_data); in __dump_folio()
Dmemcontrol.c2380 folio->memcg_data = (unsigned long)memcg; in commit_charge()
2657 page->memcg_data = (unsigned long)objcg | in __memcg_kmem_charge_page()
2681 folio->memcg_data = 0; in __memcg_kmem_uncharge_page()
3035 folio_page(folio, i)->memcg_data = folio->memcg_data; in split_page_memcg()
4674 folio->memcg_data = 0; in uncharge_folio()
4683 folio->memcg_data = 0; in uncharge_folio()
4797 old->memcg_data = 0; in mem_cgroup_migrate()
4984 folio->memcg_data = 0; in mem_cgroup_swapout()
Dslab.h101 SLAB_MATCH(memcg_data, obj_exts);
Dpage_alloc.c873 page->memcg_data | in page_expected_state()
901 if (unlikely(page->memcg_data)) in page_bad_reason()
Dmemcontrol-v1.c853 folio->memcg_data = (unsigned long)to; in mem_cgroup_move_account()
/linux-6.12.1/tools/cgroup/
Dmemcg_slabinfo.py195 objcg_vec_raw = slab.memcg_data.value_()