Searched refs:mem_cgroup_charge (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.10/include/linux/ |
D | memcontrol.h | 444 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/ |
D | userfaultfd.c | 99 if (mem_cgroup_charge(page, dst_mm, GFP_KERNEL)) in mcopy_atomic_pte()
|
D | swap_state.c | 531 if (mem_cgroup_charge(page, NULL, gfp_mask)) { in __read_swap_cache_async()
|
D | memory.c | 913 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()
|
D | khugepaged.c | 1080 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()
|
D | ksm.c | 2589 if (new_page && mem_cgroup_charge(new_page, vma->vm_mm, GFP_KERNEL)) { in ksm_might_need_to_copy()
|
D | migrate.c | 2902 if (mem_cgroup_charge(page, vma->vm_mm, GFP_KERNEL)) in migrate_vma_insert_page()
|
D | filemap.c | 848 error = mem_cgroup_charge(page, current->mm, gfp); in __add_to_page_cache_locked()
|
D | huge_memory.c | 575 if (mem_cgroup_charge(page, vma->vm_mm, gfp)) { in __do_huge_pmd_anonymous_page()
|
D | shmem.c | 688 error = mem_cgroup_charge(page, charge_mm, gfp); in shmem_add_to_page_cache()
|
D | memcontrol.c | 6766 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/ |
D | uprobes.c | 170 err = mem_cgroup_charge(new_page, vma->vm_mm, GFP_KERNEL); in __replace_page()
|