Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dmemcontrol.h681 static inline int mem_cgroup_charge(struct folio *folio, struct mm_struct *mm, in mem_cgroup_charge() function
1252 static inline int mem_cgroup_charge(struct folio *folio, in mem_cgroup_charge() function
/linux-6.6.21/mm/
Duserfaultfd.c202 if (mem_cgroup_charge(folio, dst_vma->vm_mm, GFP_KERNEL)) in mfill_atomic_pte_copy()
Dmigrate_device.c599 if (mem_cgroup_charge(page_folio(page), vma->vm_mm, GFP_KERNEL)) in migrate_vma_insert_page()
Dmemory.c991 if (mem_cgroup_charge(new_folio, src_mm, GFP_KERNEL)) { in page_copy_prealloc()
3101 if (mem_cgroup_charge(new_folio, mm, GFP_KERNEL)) in wp_page_copy()
4137 if (mem_cgroup_charge(folio, vma->vm_mm, GFP_KERNEL)) in do_anonymous_page()
4620 if (mem_cgroup_charge(page_folio(vmf->cow_page), vma->vm_mm, in do_cow_fault()
Dkhugepaged.c1070 if (unlikely(mem_cgroup_charge(folio, mm, gfp))) { in alloc_charge_hpage()
Dksm.c2817 mem_cgroup_charge(page_folio(new_page), vma->vm_mm, GFP_KERNEL)) { in ksm_might_need_to_copy()
Dhuge_memory.c657 if (mem_cgroup_charge(folio, vma->vm_mm, gfp)) { in __do_huge_pmd_anonymous_page()
Dfilemap.c857 int error = mem_cgroup_charge(folio, NULL, gfp); in __filemap_add_folio()
Dshmem.c780 error = mem_cgroup_charge(folio, charge_mm, gfp); in shmem_add_to_page_cache()
/linux-6.6.21/kernel/events/
Duprobes.c168 err = mem_cgroup_charge(new_folio, vma->vm_mm, GFP_KERNEL); in __replace_page()