Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dmprotect.c459 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local
519 for (nstart = start ; ; ) { in do_mprotect_pkey()
555 error = mprotect_fixup(vma, &prev, nstart, tmp, newflags); in do_mprotect_pkey()
558 nstart = tmp; in do_mprotect_pkey()
560 if (nstart < prev->vm_end) in do_mprotect_pkey()
561 nstart = prev->vm_end; in do_mprotect_pkey()
562 if (nstart >= end) in do_mprotect_pkey()
566 if (!vma || vma->vm_start != nstart) { in do_mprotect_pkey()
Dmlock.c586 unsigned long nstart, end, tmp; in apply_vma_lock_flags() local
605 for (nstart = start ; ; ) { in apply_vma_lock_flags()
614 error = mlock_fixup(vma, &prev, nstart, tmp, newflags); in apply_vma_lock_flags()
617 nstart = tmp; in apply_vma_lock_flags()
618 if (nstart < prev->vm_end) in apply_vma_lock_flags()
619 nstart = prev->vm_end; in apply_vma_lock_flags()
620 if (nstart >= end) in apply_vma_lock_flags()
624 if (!vma || vma->vm_start != nstart) { in apply_vma_lock_flags()
Dgup.c1236 unsigned long end, nstart, nend; in __mm_populate() local
1243 for (nstart = start; nstart < end; nstart = nend) { in __mm_populate()
1251 vma = find_vma(mm, nstart); in __mm_populate()
1252 } else if (nstart >= vma->vm_end) in __mm_populate()
1263 if (nstart < vma->vm_start) in __mm_populate()
1264 nstart = vma->vm_start; in __mm_populate()
1270 ret = populate_vma_page_range(vma, nstart, nend, &locked); in __mm_populate()
1278 nend = nstart + ret * PAGE_SIZE; in __mm_populate()
Dhuge_memory.c2316 unsigned long nstart = next->vm_start; in vma_adjust_trans_huge() local
2317 nstart += adjust_next << PAGE_SHIFT; in vma_adjust_trans_huge()
2318 if (nstart & ~HPAGE_PMD_MASK && in vma_adjust_trans_huge()
2319 (nstart & HPAGE_PMD_MASK) >= next->vm_start && in vma_adjust_trans_huge()
2320 (nstart & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE <= next->vm_end) in vma_adjust_trans_huge()
2321 split_huge_pmd_address(next, nstart, false, NULL); in vma_adjust_trans_huge()