Searched refs:mem_cgroup_charge (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/mm/ |
H A D | userfaultfd.c | 202 if (mem_cgroup_charge(folio, dst_vma->vm_mm, GFP_KERNEL)) in mfill_atomic_pte_copy() 227 if (mem_cgroup_charge(folio, dst_vma->vm_mm, GFP_KERNEL)) in mfill_atomic_pte_zeroed_folio()
|
H A D | migrate_device.c | 599 if (mem_cgroup_charge(page_folio(page), vma->vm_mm, GFP_KERNEL)) in migrate_vma_insert_page()
|
H A D | memory.c | 991 if (mem_cgroup_charge(new_folio, src_mm, GFP_KERNEL)) { in page_copy_prealloc() 3118 if (mem_cgroup_charge(new_folio, mm, GFP_KERNEL)) in wp_page_copy() 4154 if (mem_cgroup_charge(folio, vma->vm_mm, GFP_KERNEL)) in do_anonymous_page() 4646 if (mem_cgroup_charge(page_folio(vmf->cow_page), vma->vm_mm, in do_cow_fault()
|
H A D | khugepaged.c | 1060 if (unlikely(mem_cgroup_charge(folio, mm, gfp))) { in alloc_charge_folio()
|
H A D | ksm.c | 2814 mem_cgroup_charge(page_folio(new_page), vma->vm_mm, GFP_KERNEL)) { in ksm_might_need_to_copy()
|
H A D | huge_memory.c | 650 if (mem_cgroup_charge(folio, vma->vm_mm, gfp)) { in __do_huge_pmd_anonymous_page()
|
H A D | filemap.c | 859 int error = mem_cgroup_charge(folio, NULL, gfp); in __filemap_add_folio()
|
H A D | shmem.c | 785 error = mem_cgroup_charge(folio, charge_mm, gfp); in shmem_add_to_page_cache()
|
/openbmc/linux/include/linux/ |
H A D | memcontrol.h | 681 static inline int mem_cgroup_charge(struct folio *folio, struct mm_struct *mm, in mem_cgroup_charge() function 1243 static inline int mem_cgroup_charge(struct folio *folio, in mem_cgroup_charge() function
|
/openbmc/linux/kernel/events/ |
H A D | uprobes.c | 168 err = mem_cgroup_charge(new_folio, vma->vm_mm, GFP_KERNEL); in __replace_page()
|