Lines Matching refs:mlock

17  (*) mlock()'d pages.
21 - mlock()/mlockall() system call handling.
73 (*) Those mapped into VM_LOCKED [mlock()ed] VMAs.
189 the page tables for the region as does, for example, mlock(), nor need it make
209 list at mlock() or mmap() time, vmscan will not encounter the pages until they
240 The unevictable page list is also useful for mlock(), in addition to ramfs and
241 SYSV SHM. Note that mlock() is only available in CONFIG_MMU=y situations; in
277 (1) in the mlock()/mlockall() system call handlers;
307 mlock()/mlockall() SYSTEM CALL HANDLING
310 Both [do_]mlock() and [do_]mlockall() system call handlers call mlock_fixup()
313 is used for both mlocking and munlocking a range of memory. A call to mlock()
330 migrated out from under us, while we're trying to mlock it. To detect this,
366 neither need nor want to mlock() these pages. However, to preserve the
367 prior behavior of mlock() - before the unevictable/mlock changes -
387 do_mlock[all]() - as the mlock() and mlockall() system calls with the unlock vs
396 populate_vma_page_range() - the same function used to mlock a VMA range -
440 This has been discussed from the mlock/munlock perspective in the respective
468 In addition the mlock()/mlockall() system calls, an application can request
472 in the newly mapped memory being mlocked. Before the unevictable/mlock
476 To mlock a range of memory under the unevictable/mlock infrastructure, the
478 populate_vma_page_range() specifying the vma and the address range to mlock.
496 Before the unevictable/mlock changes, mlocking did not mark the pages in any
499 To munlock a range of memory under the unevictable/mlock infrastructure, the
541 mlock the page via mlock_vma_page() - we wouldn't have gotten to
559 mm_struct's mmap semaphore to mlock the page, returning SWAP_MLOCK if this
593 mlock the page. This call is a no-op if the page is already locked,
594 but will mlock any pages in the non-linear mapping that happen to be
616 all PTEs from the page. For this purpose, the unevictable/mlock infrastructure
624 attempt to acquire the associated mmap semaphore, mlock the page via
642 successfully acquire the VMA's mmap semaphore for read and mlock the page.