Home
last modified time | relevance | path

Searched refs:munlock (Results 1 – 18 of 18) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c198 if (munlock(map, 2 * page_size)) { in test_mlock_lock()
200 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno)); in test_mlock_lock()
249 if (munlock(map, 2 * page_size)) { in test_mlock_onfault()
251 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno)); in test_mlock_onfault()
442 if (munlock(map + page_size, page_size)) { in main()
444 ksft_test_result_fail("munlock(): %s", strerror(errno)); in main()
457 ksft_test_result_fail("failed to split VMA for munlock");
461 if (munlock(map, page_size * 3)) {
463 ksft_test_result_fail("munlock(): %s", strerror(errno));
476 ksft_test_result_fail("failed to merge VMAs after munlock");
[all...]
H A Dmlock-random-test.c255 munlock(p, MLOCK_WITHIN_LIMIT_SIZE); in main()
263 munlock(p, MLOCK_OUTOF_LIMIT_SIZE); in main()
H A Dguard-regions.c968 ASSERT_EQ(munlock(ptr, 10 * page_size), 0); in TEST_F()
/linux/tools/testing/selftests/mincore/
H A Dmincore_selftest.c118 munlock(addr, page_size); in TEST()
172 munlock(addr, page_size); in TEST()
/linux/Documentation/mm/
H A Dunevictable-lru.rst190 have become evictable again (via munlock() for example) and have been "rescued"
277 (1) mapped in a range unlocked via the munlock()/munlockall() system calls;
295 an already VM_LOCKED VMA, or to munlock() a VMA that is not VM_LOCKED, is
362 munlock(), munmap() or task exit. Neither does mlock_fixup() account these
366 munlock()/munlockall() System Call Handling
369 The munlock() and munlockall() system calls are handled by the same
371 If called to munlock an already munlocked VMA, mlock_fixup() simply returns.
373 any "special" VMAs. So, those VMAs will be ignored for munlock.
379 that it is munlock() being performed.
409 the old page (including munlock where VM_LOCKED), then mapping in the new page
[all …]
/linux/mm/
H A Dmlock.c128 goto munlock; in __munlock_folio()
142 munlock: in __munlock_folio()
687 SYSCALL_DEFINE2(munlock, unsigned long, start, size_t, len) in SYSCALL_DEFINE2() argument
/linux/tools/testing/selftests/ublk/
H A Dbatch.c75 munlock(t->commit_buf, total); in free_batch_commit_buf()
170 munlock(t->fetch[i].fetch_buf, t->fetch[i].fetch_buf_size); in free_batch_fetch_buf()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl157 147 n64 munlock sys_munlock
/linux/scripts/
H A Dsyscall.tbl275 229 common munlock sys_munlock
/linux/tools/scripts/
H A Dsyscall.tbl275 229 common munlock sys_munlock
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl122 151 common munlock sys_munlock
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl161 151 common munlock sys_munlock
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl97 85 common munlock sys_munlock
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl162 150 common munlock sys_munlock
H A Dsyscall_32.tbl166 151 i386 munlock sys_munlock
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl287 238 common munlock sys_munlock
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl168 151 common munlock sys_munlock
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl198 151 common munlock sys_munlock