Searched refs:mem_cgroup_charge (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/include/linux/ |
D | memcontrol.h | 662 static inline int mem_cgroup_charge(struct folio *folio, struct mm_struct *mm, in mem_cgroup_charge() function 1222 static inline int mem_cgroup_charge(struct folio *folio, in mem_cgroup_charge() function
|
/Linux-v6.1/mm/ |
D | migrate_device.c | 621 if (mem_cgroup_charge(page_folio(page), vma->vm_mm, GFP_KERNEL)) in migrate_vma_insert_page()
|
D | userfaultfd.c | 205 if (mem_cgroup_charge(page_folio(page), dst_mm, GFP_KERNEL)) in mcopy_atomic_pte()
|
D | memory.c | 1008 if (mem_cgroup_charge(page_folio(new_page), src_mm, GFP_KERNEL)) { in page_copy_prealloc() 3140 if (mem_cgroup_charge(page_folio(new_page), mm, GFP_KERNEL)) in wp_page_copy() 4117 if (mem_cgroup_charge(page_folio(page), vma->vm_mm, GFP_KERNEL)) in do_anonymous_page() 4576 if (mem_cgroup_charge(page_folio(vmf->cow_page), vma->vm_mm, in do_cow_fault()
|
D | khugepaged.c | 959 if (unlikely(mem_cgroup_charge(page_folio(*hpage), mm, gfp))) in alloc_charge_hpage()
|
D | ksm.c | 2600 mem_cgroup_charge(page_folio(new_page), vma->vm_mm, GFP_KERNEL)) { in ksm_might_need_to_copy()
|
D | filemap.c | 852 int error = mem_cgroup_charge(folio, NULL, gfp); in __filemap_add_folio()
|
D | huge_memory.c | 662 if (mem_cgroup_charge(page_folio(page), vma->vm_mm, gfp)) { in __do_huge_pmd_anonymous_page()
|
D | shmem.c | 710 error = mem_cgroup_charge(folio, charge_mm, gfp); in shmem_add_to_page_cache()
|
/Linux-v6.1/kernel/events/ |
D | uprobes.c | 169 err = mem_cgroup_charge(new_folio, vma->vm_mm, GFP_KERNEL); in __replace_page()
|