Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dmemory.c785 copy_nonpresent_pte(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_nonpresent_pte() argument
803 &src_mm->mmlist); in copy_nonpresent_pte()
809 set_pte_at(src_mm, addr, src_pte, pte); in copy_nonpresent_pte()
831 set_pte_at(src_mm, addr, src_pte, pte); in copy_nonpresent_pte()
864 set_pte_at(src_mm, addr, src_pte, pte); in copy_nonpresent_pte()
946 struct mm_struct *src_mm = src_vma->vm_mm; in copy_present_pte() local
978 ptep_set_wrprotect(src_mm, addr, src_pte); in copy_present_pte()
999 page_copy_prealloc(struct mm_struct *src_mm, struct vm_area_struct *vma, in page_copy_prealloc() argument
1008 if (mem_cgroup_charge(page_folio(new_page), src_mm, GFP_KERNEL)) { in page_copy_prealloc()
1023 struct mm_struct *src_mm = src_vma->vm_mm; in copy_pte_range() local
[all …]
Dhuge_memory.c1075 int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_huge_pmd() argument
1094 src_ptl = pmd_lockptr(src_mm, src_pmd); in copy_huge_pmd()
1113 set_pmd_at(src_mm, addr, src_pmd, pmd); in copy_huge_pmd()
1162 pmdp_set_wrprotect(src_mm, addr, src_pmd); in copy_huge_pmd()
1235 int copy_huge_pud(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_huge_pud() argument
1244 src_ptl = pud_lockptr(src_mm, src_pud); in copy_huge_pud()
1265 pudp_set_wrprotect(src_mm, addr, src_pud); in copy_huge_pud()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c309 struct amdgpu_res_cursor src_mm, dst_mm; in amdgpu_ttm_copy_mem_to_mem() local
318 amdgpu_res_first(src->mem, src->offset, size, &src_mm); in amdgpu_ttm_copy_mem_to_mem()
322 while (src_mm.remaining) { in amdgpu_ttm_copy_mem_to_mem()
327 cur_size = min3(src_mm.size, dst_mm.size, 256ULL << 20); in amdgpu_ttm_copy_mem_to_mem()
330 r = amdgpu_ttm_map_buffer(src->bo, src->mem, &src_mm, in amdgpu_ttm_copy_mem_to_mem()
348 amdgpu_res_next(&src_mm, cur_size); in amdgpu_ttm_copy_mem_to_mem()
1401 struct amdgpu_res_cursor src_mm; in amdgpu_ttm_access_memory_sdma() local
1425 amdgpu_res_first(abo->tbo.resource, offset, len, &src_mm); in amdgpu_ttm_access_memory_sdma()
1426 src_addr = amdgpu_ttm_domain_start(adev, bo->resource->mem_type) + src_mm.start; in amdgpu_ttm_access_memory_sdma()
/linux-6.1.9/include/linux/
Dhuge_mm.h11 int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm,
15 int copy_huge_pud(struct mm_struct *dst_mm, struct mm_struct *src_mm,