Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dmprotect.c515 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local
577 for (nstart = start ; ; ) { in do_mprotect_pkey()
619 error = mprotect_fixup(vma, &prev, nstart, tmp, newflags); in do_mprotect_pkey()
622 nstart = tmp; in do_mprotect_pkey()
624 if (nstart < prev->vm_end) in do_mprotect_pkey()
625 nstart = prev->vm_end; in do_mprotect_pkey()
626 if (nstart >= end) in do_mprotect_pkey()
630 if (!vma || vma->vm_start != nstart) { in do_mprotect_pkey()
Dmlock.c591 unsigned long nstart, end, tmp; in apply_vma_lock_flags() local
610 for (nstart = start ; ; ) { in apply_vma_lock_flags()
619 error = mlock_fixup(vma, &prev, nstart, tmp, newflags); in apply_vma_lock_flags()
622 nstart = tmp; in apply_vma_lock_flags()
623 if (nstart < prev->vm_end) in apply_vma_lock_flags()
624 nstart = prev->vm_end; in apply_vma_lock_flags()
625 if (nstart >= end) in apply_vma_lock_flags()
629 if (!vma || vma->vm_start != nstart) { in apply_vma_lock_flags()
Dgup.c1444 unsigned long end, nstart, nend; in __mm_populate() local
1451 for (nstart = start; nstart < end; nstart = nend) { in __mm_populate()
1459 vma = find_vma(mm, nstart); in __mm_populate()
1460 } else if (nstart >= vma->vm_end) in __mm_populate()
1471 if (nstart < vma->vm_start) in __mm_populate()
1472 nstart = vma->vm_start; in __mm_populate()
1478 ret = populate_vma_page_range(vma, nstart, nend, &locked); in __mm_populate()
1486 nend = nstart + ret * PAGE_SIZE; in __mm_populate()
Dhuge_memory.c2313 unsigned long nstart = next->vm_start; in vma_adjust_trans_huge() local
2314 nstart += adjust_next; in vma_adjust_trans_huge()
2315 if (nstart & ~HPAGE_PMD_MASK && in vma_adjust_trans_huge()
2316 (nstart & HPAGE_PMD_MASK) >= next->vm_start && in vma_adjust_trans_huge()
2317 (nstart & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE <= next->vm_end) in vma_adjust_trans_huge()
2318 split_huge_pmd_address(next, nstart, false, NULL); in vma_adjust_trans_huge()