Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
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()
Dmprotect.c516 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local
583 for (nstart = start ; ; ) { in do_mprotect_pkey()
625 error = mprotect_fixup(vma, &prev, nstart, tmp, newflags); in do_mprotect_pkey()
628 nstart = tmp; in do_mprotect_pkey()
630 if (nstart < prev->vm_end) in do_mprotect_pkey()
631 nstart = prev->vm_end; in do_mprotect_pkey()
632 if (nstart >= end) in do_mprotect_pkey()
636 if (!vma || vma->vm_start != nstart) { in do_mprotect_pkey()
Dgup.c1450 unsigned long end, nstart, nend; in __mm_populate() local
1457 for (nstart = start; nstart < end; nstart = nend) { in __mm_populate()
1465 vma = find_vma(mm, nstart); in __mm_populate()
1466 } else if (nstart >= vma->vm_end) in __mm_populate()
1477 if (nstart < vma->vm_start) in __mm_populate()
1478 nstart = vma->vm_start; in __mm_populate()
1484 ret = populate_vma_page_range(vma, nstart, nend, &locked); in __mm_populate()
1492 nend = nstart + ret * PAGE_SIZE; in __mm_populate()
Dhuge_memory.c2343 unsigned long nstart = next->vm_start; in vma_adjust_trans_huge() local
2344 nstart += adjust_next; in vma_adjust_trans_huge()
2345 if (nstart & ~HPAGE_PMD_MASK && in vma_adjust_trans_huge()
2346 (nstart & HPAGE_PMD_MASK) >= next->vm_start && in vma_adjust_trans_huge()
2347 (nstart & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE <= next->vm_end) in vma_adjust_trans_huge()
2348 split_huge_pmd_address(next, nstart, false, NULL); in vma_adjust_trans_huge()