Searched refs:mem_cgroup_charge (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/include/linux/ |
D | memcontrol.h | 681 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/ |
D | userfaultfd.c | 202 if (mem_cgroup_charge(folio, dst_vma->vm_mm, GFP_KERNEL)) in mfill_atomic_pte_copy()
|
D | migrate_device.c | 599 if (mem_cgroup_charge(page_folio(page), vma->vm_mm, GFP_KERNEL)) in migrate_vma_insert_page()
|
D | memory.c | 991 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()
|
D | khugepaged.c | 1070 if (unlikely(mem_cgroup_charge(folio, mm, gfp))) { in alloc_charge_hpage()
|
D | ksm.c | 2817 mem_cgroup_charge(page_folio(new_page), vma->vm_mm, GFP_KERNEL)) { in ksm_might_need_to_copy()
|
D | huge_memory.c | 657 if (mem_cgroup_charge(folio, vma->vm_mm, gfp)) { in __do_huge_pmd_anonymous_page()
|
D | filemap.c | 857 int error = mem_cgroup_charge(folio, NULL, gfp); in __filemap_add_folio()
|
D | shmem.c | 780 error = mem_cgroup_charge(folio, charge_mm, gfp); in shmem_add_to_page_cache()
|
/linux-6.6.21/kernel/events/ |
D | uprobes.c | 168 err = mem_cgroup_charge(new_folio, vma->vm_mm, GFP_KERNEL); in __replace_page()
|