Searched refs:munlock (Results 1 - 5 of 5) sorted by relevance

/linux-master/tools/testing/selftests/mm/
H A Dmlock-random-test.c255 munlock(p, MLOCK_WITHIN_LIMIT_SIZE);
263 munlock(p, MLOCK_OUTOF_LIMIT_SIZE);
H A Dmlock2-tests.c207 if (munlock(map, 2 * page_size)) {
209 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno));
258 if (munlock(map, 2 * page_size)) {
260 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno));
391 if (munlock(map + page_size, page_size)) {
393 ksft_test_result_fail("munlock(): %s", strerror(errno));
406 ksft_test_result_fail("failed to split VMA for munlock");
410 if (munlock(map, page_size * 3)) {
412 ksft_test_result_fail("munlock(): %s", strerror(errno));
425 ksft_test_result_fail("failed to merge VMAs after munlock");
[all...]
/linux-master/tools/testing/selftests/mincore/
H A Dmincore_selftest.c118 munlock(addr, page_size);
172 munlock(addr, page_size);
/linux-master/mm/
H A Dmlock.c128 goto munlock;
142 munlock:
287 * munlock_folio - munlock a folio
337 * For unlock, allow munlock large folio which is partially
425 * or munlock all pages in the range.
426 * @vma - vma containing range to be mlock()ed or munlock()ed
432 * called for munlock() and munlockall(), to clear VM_LOCKED from @vma.
469 * mlock_fixup - handle mlock[all]/munlock[all] requests.
472 * munlock is a no-op. However, for some special vmas, we go ahead and
688 SYSCALL_DEFINE2(munlock, unsigne
[all...]
/linux-master/kernel/
H A Dsys_ni.c184 COND_SYSCALL(munlock); variable

Completed in 236 milliseconds