Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dmemcontrol.h444 int mem_cgroup_charge(struct page *page, struct mm_struct *mm, gfp_t gfp_mask);
993 static inline int mem_cgroup_charge(struct page *page, struct mm_struct *mm, in mem_cgroup_charge() function
/Linux-v5.10/mm/
Duserfaultfd.c99 if (mem_cgroup_charge(page, dst_mm, GFP_KERNEL)) in mcopy_atomic_pte()
Dswap_state.c531 if (mem_cgroup_charge(page, NULL, gfp_mask)) { in __read_swap_cache_async()
Dmemory.c913 if (mem_cgroup_charge(new_page, src_mm, GFP_KERNEL)) { in page_copy_prealloc()
2855 if (mem_cgroup_charge(new_page, mm, GFP_KERNEL)) in wp_page_copy()
3294 err = mem_cgroup_charge(page, vma->vm_mm, in do_swap_page()
3526 if (mem_cgroup_charge(page, vma->vm_mm, GFP_KERNEL)) in do_anonymous_page()
4029 if (mem_cgroup_charge(vmf->cow_page, vma->vm_mm, GFP_KERNEL)) { in do_cow_fault()
Dkhugepaged.c1080 if (unlikely(mem_cgroup_charge(new_page, mm, gfp))) { in collapse_huge_page()
1648 if (unlikely(mem_cgroup_charge(new_page, mm, gfp))) { in collapse_file()
Dksm.c2589 if (new_page && mem_cgroup_charge(new_page, vma->vm_mm, GFP_KERNEL)) { in ksm_might_need_to_copy()
Dmigrate.c2902 if (mem_cgroup_charge(page, vma->vm_mm, GFP_KERNEL)) in migrate_vma_insert_page()
Dfilemap.c848 error = mem_cgroup_charge(page, current->mm, gfp); in __add_to_page_cache_locked()
Dhuge_memory.c575 if (mem_cgroup_charge(page, vma->vm_mm, gfp)) { in __do_huge_pmd_anonymous_page()
Dshmem.c688 error = mem_cgroup_charge(page, charge_mm, gfp); in shmem_add_to_page_cache()
Dmemcontrol.c6766 int mem_cgroup_charge(struct page *page, struct mm_struct *mm, gfp_t gfp_mask) in mem_cgroup_charge() function
/Linux-v5.10/kernel/events/
Duprobes.c170 err = mem_cgroup_charge(new_page, vma->vm_mm, GFP_KERNEL); in __replace_page()