Home
last modified time | relevance | path

Searched refs:src_mm (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/mm/
Dmemory.c792 copy_nonpresent_pte(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_nonpresent_pte() argument
812 &src_mm->mmlist); in copy_nonpresent_pte()
818 set_pte_at(src_mm, addr, src_pte, pte); in copy_nonpresent_pte()
840 set_pte_at(src_mm, addr, src_pte, pte); in copy_nonpresent_pte()
874 set_pte_at(src_mm, addr, src_pte, pte); in copy_nonpresent_pte()
953 struct mm_struct *src_mm = src_vma->vm_mm; in __copy_present_ptes() local
957 wrprotect_ptes(src_mm, addr, src_pte, nr); in __copy_present_ptes()
1056 static inline struct folio *folio_prealloc(struct mm_struct *src_mm, in folio_prealloc() argument
1070 if (mem_cgroup_charge(new_folio, src_mm, GFP_KERNEL)) { in folio_prealloc()
1085 struct mm_struct *src_mm = src_vma->vm_mm; in copy_pte_range() local
[all …]
Dhuge_memory.c1566 int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_huge_pmd() argument
1580 src_ptl = pmd_lockptr(src_mm, src_pmd); in copy_huge_pmd()
1604 src_ptl = pmd_lockptr(src_mm, src_pmd); in copy_huge_pmd()
1623 set_pmd_at(src_mm, addr, src_pmd, pmd); in copy_huge_pmd()
1673 pmdp_set_wrprotect(src_mm, addr, src_pmd); in copy_huge_pmd()
1703 int copy_huge_pud(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_huge_pud() argument
1712 src_ptl = pud_lockptr(src_mm, src_pud); in copy_huge_pud()
1725 pudp_set_wrprotect(src_mm, addr, src_pud); in copy_huge_pud()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c295 struct amdgpu_res_cursor src_mm, dst_mm; in amdgpu_ttm_copy_mem_to_mem() local
306 amdgpu_res_first(src->mem, src->offset, size, &src_mm); in amdgpu_ttm_copy_mem_to_mem()
310 while (src_mm.remaining) { in amdgpu_ttm_copy_mem_to_mem()
316 cur_size = min3(src_mm.size, dst_mm.size, 256ULL << 20); in amdgpu_ttm_copy_mem_to_mem()
319 r = amdgpu_ttm_map_buffer(src->bo, src->mem, &src_mm, in amdgpu_ttm_copy_mem_to_mem()
356 amdgpu_res_next(&src_mm, cur_size); in amdgpu_ttm_copy_mem_to_mem()
1483 struct amdgpu_res_cursor src_mm; in amdgpu_ttm_access_memory_sdma() local
1510 amdgpu_res_first(abo->tbo.resource, offset, len, &src_mm); in amdgpu_ttm_access_memory_sdma()
1512 src_mm.start; in amdgpu_ttm_access_memory_sdma()
/linux-6.12.1/include/linux/
Dhuge_mm.h12 int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm,
16 int copy_huge_pud(struct mm_struct *dst_mm, struct mm_struct *src_mm,