Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
Dmemcontrol.h662 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/
Dmigrate_device.c621 if (mem_cgroup_charge(page_folio(page), vma->vm_mm, GFP_KERNEL)) in migrate_vma_insert_page()
Duserfaultfd.c205 if (mem_cgroup_charge(page_folio(page), dst_mm, GFP_KERNEL)) in mcopy_atomic_pte()
Dmemory.c1008 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()
Dkhugepaged.c959 if (unlikely(mem_cgroup_charge(page_folio(*hpage), mm, gfp))) in alloc_charge_hpage()
Dksm.c2600 mem_cgroup_charge(page_folio(new_page), vma->vm_mm, GFP_KERNEL)) { in ksm_might_need_to_copy()
Dfilemap.c852 int error = mem_cgroup_charge(folio, NULL, gfp); in __filemap_add_folio()
Dhuge_memory.c662 if (mem_cgroup_charge(page_folio(page), vma->vm_mm, gfp)) { in __do_huge_pmd_anonymous_page()
Dshmem.c710 error = mem_cgroup_charge(folio, charge_mm, gfp); in shmem_add_to_page_cache()
/Linux-v6.1/kernel/events/
Duprobes.c169 err = mem_cgroup_charge(new_folio, vma->vm_mm, GFP_KERNEL); in __replace_page()